From 81ddd1ebc8f86875e8ad60c300a4dde9bfcc8663 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 16 Dec 2021 22:50:38 +0000 Subject: [PATCH 1/5] feat: add the `AcknowledgeUserDataCollection` operation which acknowledges the terms of user data collection for the specified property feat: add the new resource type `DataStream`, which is planned to eventually replace `WebDataStream`, `IosAppDataStream`, `AndroidAppDataStream` resources fix!: remove `GetEnhancedMeasurementSettings`, `UpdateEnhancedMeasurementSettingsRequest`, `UpdateEnhancedMeasurementSettingsRequest` operations from the API feat: add `CreateDataStream`, `DeleteDataStream`, `UpdateDataStream`, `ListDataStreams` operations to support the new `DataStream` resource feat: add `DISPLAY_VIDEO_360_ADVERTISER_LINK`, `DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL` fields to `ChangeHistoryResourceType` enum feat: add the `account` field to the `Property` type docs: update the documentation with a new list of valid values for `UserLink.direct_roles` field PiperOrigin-RevId: 416888961 Source-Link: https://github.com/googleapis/googleapis/commit/54861b49348afd2ae7dada7b857bacdcb6f22fe3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0f16b9ae48611d9836acdb37e9f167419a8ef096 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGYxNmI5YWU0ODYxMWQ5ODM2YWNkYjM3ZTlmMTY3NDE5YThlZjA5NiJ9 --- .../v1alpha/AnalyticsAdminServiceGrpc.java | 10597 ---------------- .../v1alpha/AnalyticsAdminServiceClient.java | 1202 +- .../AnalyticsAdminServiceSettings.java | 155 +- .../admin/v1alpha/gapic_metadata.json | 24 +- .../analytics/admin/v1alpha/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 56 +- .../AnalyticsAdminServiceStubSettings.java | 485 +- ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 301 +- .../AnalyticsAdminServiceClientTest.java | 586 +- .../v1alpha/MockAnalyticsAdminService.java | 0 .../MockAnalyticsAdminServiceImpl.java | 171 +- .../v1alpha/AnalyticsAdminServiceGrpc.java | 7677 +++++++++++ .../analytics/admin/v1alpha/Account.java | 778 +- .../analytics/admin/v1alpha/AccountName.java | 0 .../admin/v1alpha/AccountOrBuilder.java | 82 +- .../admin/v1alpha/AccountSummary.java | 613 +- .../v1alpha/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 801 ++ ...dgeUserDataCollectionRequestOrBuilder.java | 61 + ...AcknowledgeUserDataCollectionResponse.java | 427 + ...geUserDataCollectionResponseOrBuilder.java | 9 + .../analytics/admin/v1alpha/ActionType.java | 89 +- .../analytics/admin/v1alpha/ActorType.java | 89 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2141 ++++ .../admin/v1alpha/AndroidAppDataStream.java | 831 +- .../v1alpha/AndroidAppDataStreamName.java | 0 .../AndroidAppDataStreamOrBuilder.java | 88 +- ...Video360AdvertiserLinkProposalRequest.java | 600 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...ideo360AdvertiserLinkProposalResponse.java | 675 + ...vertiserLinkProposalResponseOrBuilder.java | 39 + .../ArchiveCustomDimensionRequest.java | 363 +- ...rchiveCustomDimensionRequestOrBuilder.java | 31 + .../v1alpha/ArchiveCustomMetricRequest.java | 350 +- .../ArchiveCustomMetricRequestOrBuilder.java | 31 + .../admin/v1alpha/AuditUserLink.java | 660 +- .../admin/v1alpha/AuditUserLinkOrBuilder.java | 88 +- .../admin/v1alpha/AuditUserLinksRequest.java | 455 +- .../AuditUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/AuditUserLinksResponse.java | 459 +- .../AuditUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/BatchCreateUserLinksRequest.java | 642 +- .../BatchCreateUserLinksRequestOrBuilder.java | 76 +- .../v1alpha/BatchCreateUserLinksResponse.java | 405 +- ...BatchCreateUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchDeleteUserLinksRequest.java | 605 +- .../BatchDeleteUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchGetUserLinksRequest.java | 505 +- .../BatchGetUserLinksRequestOrBuilder.java | 69 +- .../v1alpha/BatchGetUserLinksResponse.java | 391 +- .../BatchGetUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchUpdateUserLinksRequest.java | 605 +- .../BatchUpdateUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchUpdateUserLinksResponse.java | 405 +- ...BatchUpdateUserLinksResponseOrBuilder.java | 36 +- ...Video360AdvertiserLinkProposalRequest.java | 600 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + .../admin/v1alpha/ChangeHistoryChange.java | 3522 ++--- .../v1alpha/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1alpha/ChangeHistoryEvent.java | 725 +- .../v1alpha/ChangeHistoryEventOrBuilder.java | 71 +- .../v1alpha/ChangeHistoryResourceType.java | 186 +- .../admin/v1alpha/ConversionEvent.java | 603 +- .../admin/v1alpha/ConversionEventName.java | 0 .../v1alpha/ConversionEventOrBuilder.java | 59 +- .../v1alpha/CreateConversionEventRequest.java | 515 +- ...CreateConversionEventRequestOrBuilder.java | 58 + .../v1alpha/CreateCustomDimensionRequest.java | 513 +- ...CreateCustomDimensionRequestOrBuilder.java | 56 + .../v1alpha/CreateCustomMetricRequest.java | 495 +- .../CreateCustomMetricRequestOrBuilder.java | 56 + .../v1alpha/CreateDataStreamRequest.java | 829 ++ .../CreateDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 829 ++ ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...eDisplayVideo360AdvertiserLinkRequest.java | 627 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/CreateFirebaseLinkRequest.java | 495 +- .../CreateFirebaseLinkRequestOrBuilder.java | 58 + .../v1alpha/CreateGoogleAdsLinkRequest.java | 496 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 + ...reateMeasurementProtocolSecretRequest.java | 572 +- ...urementProtocolSecretRequestOrBuilder.java | 58 +- .../admin/v1alpha/CreatePropertyRequest.java | 386 +- .../CreatePropertyRequestOrBuilder.java | 39 + .../admin/v1alpha/CreateUserLinkRequest.java | 523 +- .../CreateUserLinkRequestOrBuilder.java | 67 + .../v1alpha/CreateWebDataStreamRequest.java | 498 +- .../CreateWebDataStreamRequestOrBuilder.java | 58 + .../admin/v1alpha/CustomDimension.java | 786 +- .../admin/v1alpha/CustomDimensionName.java | 0 .../v1alpha/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1alpha/CustomMetric.java | 949 +- .../admin/v1alpha/CustomMetricName.java | 0 .../admin/v1alpha/CustomMetricOrBuilder.java | 90 +- .../admin/v1alpha/DataRetentionSettings.java | 546 +- .../v1alpha/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 47 +- .../admin/v1alpha/DataSharingSettings.java | 515 +- .../v1alpha/DataSharingSettingsName.java | 0 .../v1alpha/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1alpha/DataStream.java | 5079 ++++++++ .../admin/v1alpha/DataStreamName.java | 85 +- .../admin/v1alpha/DataStreamOrBuilder.java | 222 + .../admin/v1alpha/DeleteAccountRequest.java | 342 +- .../DeleteAccountRequestOrBuilder.java | 33 + .../DeleteAndroidAppDataStreamRequest.java | 378 +- ...eAndroidAppDataStreamRequestOrBuilder.java | 33 + .../v1alpha/DeleteConversionEventRequest.java | 363 +- ...DeleteConversionEventRequestOrBuilder.java | 33 + .../v1alpha/DeleteDataStreamRequest.java | 600 + .../DeleteDataStreamRequestOrBuilder.java | 31 + ...Video360AdvertiserLinkProposalRequest.java | 600 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...eDisplayVideo360AdvertiserLinkRequest.java | 442 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 + .../v1alpha/DeleteFirebaseLinkRequest.java | 349 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 31 + .../v1alpha/DeleteGoogleAdsLinkRequest.java | 350 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 + .../DeleteIosAppDataStreamRequest.java | 363 +- ...eleteIosAppDataStreamRequestOrBuilder.java | 33 + ...eleteMeasurementProtocolSecretRequest.java | 399 +- ...urementProtocolSecretRequestOrBuilder.java | 35 +- .../admin/v1alpha/DeletePropertyRequest.java | 342 +- .../DeletePropertyRequestOrBuilder.java | 33 + .../admin/v1alpha/DeleteUserLinkRequest.java | 342 +- .../DeleteUserLinkRequestOrBuilder.java | 29 + .../v1alpha/DeleteWebDataStreamRequest.java | 350 +- .../DeleteWebDataStreamRequestOrBuilder.java | 33 + .../DisplayVideo360AdvertiserLink.java | 913 +- .../DisplayVideo360AdvertiserLinkName.java | 0 ...isplayVideo360AdvertiserLinkOrBuilder.java | 99 +- ...DisplayVideo360AdvertiserLinkProposal.java | 1246 +- ...layVideo360AdvertiserLinkProposalName.java | 0 ...deo360AdvertiserLinkProposalOrBuilder.java | 143 +- .../analytics/admin/v1alpha/FirebaseLink.java | 526 +- .../admin/v1alpha/FirebaseLinkName.java | 0 .../admin/v1alpha/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1alpha/GetAccountRequest.java | 339 +- .../v1alpha/GetAccountRequestOrBuilder.java | 33 + .../GetAndroidAppDataStreamRequest.java | 374 +- ...tAndroidAppDataStreamRequestOrBuilder.java | 33 + .../v1alpha/GetConversionEventRequest.java | 349 +- .../GetConversionEventRequestOrBuilder.java | 33 + .../v1alpha/GetCustomDimensionRequest.java | 349 +- .../GetCustomDimensionRequestOrBuilder.java | 31 + .../admin/v1alpha/GetCustomMetricRequest.java | 342 +- .../GetCustomMetricRequestOrBuilder.java | 31 + .../GetDataRetentionSettingsRequest.java | 378 +- ...DataRetentionSettingsRequestOrBuilder.java | 35 + .../GetDataSharingSettingsRequest.java | 363 +- ...etDataSharingSettingsRequestOrBuilder.java | 33 + .../admin/v1alpha/GetDataStreamRequest.java | 600 + .../GetDataStreamRequestOrBuilder.java | 31 + ...Video360AdvertiserLinkProposalRequest.java | 465 +- ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...tDisplayVideo360AdvertiserLinkRequest.java | 442 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 + .../v1alpha/GetGlobalSiteTagRequest.java | 342 +- .../GetGlobalSiteTagRequestOrBuilder.java | 35 +- .../GetGoogleSignalsSettingsRequest.java | 378 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 31 + .../v1alpha/GetIosAppDataStreamRequest.java | 350 +- .../GetIosAppDataStreamRequestOrBuilder.java | 33 + .../GetMeasurementProtocolSecretRequest.java | 382 +- ...urementProtocolSecretRequestOrBuilder.java | 35 +- .../admin/v1alpha/GetPropertyRequest.java | 342 +- .../v1alpha/GetPropertyRequestOrBuilder.java | 33 + .../admin/v1alpha/GetUserLinkRequest.java | 342 +- .../v1alpha/GetUserLinkRequestOrBuilder.java | 29 + .../v1alpha/GetWebDataStreamRequest.java | 342 +- .../GetWebDataStreamRequestOrBuilder.java | 33 + .../admin/v1alpha/GlobalSiteTag.java | 387 +- .../admin/v1alpha/GlobalSiteTagName.java | 0 .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 36 +- .../admin/v1alpha/GoogleAdsLink.java | 887 +- .../admin/v1alpha/GoogleAdsLinkName.java | 0 .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1alpha/GoogleSignalsConsent.java | 77 +- .../admin/v1alpha/GoogleSignalsSettings.java | 488 +- .../v1alpha/GoogleSignalsSettingsName.java | 0 .../GoogleSignalsSettingsOrBuilder.java | 47 +- .../admin/v1alpha/GoogleSignalsState.java | 80 +- .../admin/v1alpha/IndustryCategory.java | 248 +- .../admin/v1alpha/IosAppDataStream.java | 856 +- .../admin/v1alpha/IosAppDataStreamName.java | 0 .../v1alpha/IosAppDataStreamOrBuilder.java | 96 +- .../LinkProposalInitiatingProduct.java | 77 +- .../admin/v1alpha/LinkProposalState.java | 108 +- .../v1alpha/LinkProposalStatusDetails.java | 536 +- .../LinkProposalStatusDetailsOrBuilder.java | 58 +- .../v1alpha/ListAccountSummariesRequest.java | 366 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1alpha/ListAccountSummariesResponse.java | 471 +- ...ListAccountSummariesResponseOrBuilder.java | 42 +- .../admin/v1alpha/ListAccountsRequest.java | 385 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1alpha/ListAccountsResponse.java | 463 +- .../ListAccountsResponseOrBuilder.java | 45 +- .../ListAndroidAppDataStreamsRequest.java | 491 +- ...AndroidAppDataStreamsRequestOrBuilder.java | 47 +- .../ListAndroidAppDataStreamsResponse.java | 624 +- ...ndroidAppDataStreamsResponseOrBuilder.java | 65 +- .../v1alpha/ListConversionEventsRequest.java | 473 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1alpha/ListConversionEventsResponse.java | 471 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomDimensionsRequest.java | 473 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomDimensionsResponse.java | 471 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomMetricsRequest.java | 455 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomMetricsResponse.java | 449 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListDataStreamsRequest.java | 868 ++ .../ListDataStreamsRequestOrBuilder.java | 67 + .../v1alpha/ListDataStreamsResponse.java | 1043 ++ .../ListDataStreamsResponseOrBuilder.java | 75 + ...ideo360AdvertiserLinkProposalsRequest.java | 583 +- ...vertiserLinkProposalsRequestOrBuilder.java | 47 +- ...deo360AdvertiserLinkProposalsResponse.java | 757 +- ...ertiserLinkProposalsResponseOrBuilder.java | 75 + ...DisplayVideo360AdvertiserLinksRequest.java | 554 +- ...deo360AdvertiserLinksRequestOrBuilder.java | 47 +- ...isplayVideo360AdvertiserLinksResponse.java | 698 +- ...eo360AdvertiserLinksResponseOrBuilder.java | 69 +- .../v1alpha/ListFirebaseLinksRequest.java | 455 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListFirebaseLinksResponse.java | 449 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 462 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListGoogleAdsLinksResponse.java | 454 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListIosAppDataStreamsRequest.java | 476 +- ...ListIosAppDataStreamsRequestOrBuilder.java | 47 +- .../ListIosAppDataStreamsResponse.java | 548 +- ...istIosAppDataStreamsResponseOrBuilder.java | 57 +- ...ListMeasurementProtocolSecretsRequest.java | 505 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 655 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1alpha/ListPropertiesRequest.java | 466 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1alpha/ListPropertiesResponse.java | 464 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListUserLinksRequest.java | 455 +- .../ListUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListUserLinksResponse.java | 463 +- .../ListUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListWebDataStreamsRequest.java | 462 +- .../ListWebDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListWebDataStreamsResponse.java | 454 +- .../ListWebDataStreamsResponseOrBuilder.java | 45 +- .../v1alpha/MeasurementProtocolSecret.java | 479 +- .../MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1alpha/Property.java | 1517 +-- .../analytics/admin/v1alpha/PropertyName.java | 0 .../admin/v1alpha/PropertyOrBuilder.java | 175 +- .../admin/v1alpha/PropertySummary.java | 408 +- .../v1alpha/PropertySummaryOrBuilder.java | 40 +- .../ProvisionAccountTicketRequest.java | 438 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 346 +- ...ovisionAccountTicketResponseOrBuilder.java | 29 + .../admin/v1alpha/ResourcesProto.java | 684 + .../SearchChangeHistoryEventsRequest.java | 1414 +-- ...chChangeHistoryEventsRequestOrBuilder.java | 201 +- .../SearchChangeHistoryEventsResponse.java | 587 +- ...hChangeHistoryEventsResponseOrBuilder.java | 56 +- .../analytics/admin/v1alpha/ServiceLevel.java | 82 +- .../admin/v1alpha/UpdateAccountRequest.java | 519 +- .../UpdateAccountRequestOrBuilder.java | 55 +- .../UpdateAndroidAppDataStreamRequest.java | 570 +- ...eAndroidAppDataStreamRequestOrBuilder.java | 58 +- .../v1alpha/UpdateCustomDimensionRequest.java | 493 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1alpha/UpdateCustomMetricRequest.java | 475 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 570 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../v1alpha/UpdateDataStreamRequest.java | 923 ++ .../UpdateDataStreamRequestOrBuilder.java | 69 + ...eDisplayVideo360AdvertiserLinkRequest.java | 655 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 61 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 476 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- .../UpdateGoogleSignalsSettingsRequest.java | 570 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 58 +- .../UpdateIosAppDataStreamRequest.java | 550 +- ...pdateIosAppDataStreamRequestOrBuilder.java | 55 +- ...pdateMeasurementProtocolSecretRequest.java | 564 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1alpha/UpdatePropertyRequest.java | 516 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../admin/v1alpha/UpdateUserLinkRequest.java | 386 +- .../UpdateUserLinkRequestOrBuilder.java | 36 + .../v1alpha/UpdateWebDataStreamRequest.java | 524 +- .../UpdateWebDataStreamRequestOrBuilder.java | 55 +- .../analytics/admin/v1alpha/UserLink.java | 623 +- .../analytics/admin/v1alpha/UserLinkName.java | 0 .../admin/v1alpha/UserLinkOrBuilder.java | 94 +- .../admin/v1alpha/WebDataStream.java | 918 +- .../admin/v1alpha/WebDataStreamName.java | 0 .../admin/v1alpha/WebDataStreamOrBuilder.java | 101 +- .../admin/v1alpha/analytics_admin.proto | 208 +- .../analytics/admin/v1alpha/resources.proto | 210 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2170 ---- ...Video360AdvertiserLinkProposalRequest.java | 719 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkProposalResponse.java | 851 -- ...vertiserLinkProposalResponseOrBuilder.java | 71 - ...rchiveCustomDimensionRequestOrBuilder.java | 56 - .../ArchiveCustomMetricRequestOrBuilder.java | 56 - ...Video360AdvertiserLinkProposalRequest.java | 716 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...CreateConversionEventRequestOrBuilder.java | 97 - ...CreateCustomDimensionRequestOrBuilder.java | 95 - .../CreateCustomMetricRequestOrBuilder.java | 95 - ...Video360AdvertiserLinkProposalRequest.java | 1035 -- ...dvertiserLinkProposalRequestOrBuilder.java | 97 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 97 - .../CreateFirebaseLinkRequestOrBuilder.java | 97 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 - .../CreatePropertyRequestOrBuilder.java | 69 - .../CreateUserLinkRequestOrBuilder.java | 109 - .../CreateWebDataStreamRequestOrBuilder.java | 97 - .../DeleteAccountRequestOrBuilder.java | 58 - ...eAndroidAppDataStreamRequestOrBuilder.java | 58 - ...DeleteConversionEventRequestOrBuilder.java | 58 - ...Video360AdvertiserLinkProposalRequest.java | 716 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - .../DeleteFirebaseLinkRequestOrBuilder.java | 56 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 - ...eleteIosAppDataStreamRequestOrBuilder.java | 58 - .../DeletePropertyRequestOrBuilder.java | 58 - .../DeleteUserLinkRequestOrBuilder.java | 54 - .../DeleteWebDataStreamRequestOrBuilder.java | 58 - .../v1alpha/EnhancedMeasurementSettings.java | 1888 --- .../EnhancedMeasurementSettingsOrBuilder.java | 237 - .../v1alpha/GetAccountRequestOrBuilder.java | 58 - ...tAndroidAppDataStreamRequestOrBuilder.java | 58 - .../GetConversionEventRequestOrBuilder.java | 58 - .../GetCustomDimensionRequestOrBuilder.java | 56 - .../GetCustomMetricRequestOrBuilder.java | 56 - ...DataRetentionSettingsRequestOrBuilder.java | 60 - ...etDataSharingSettingsRequestOrBuilder.java | 58 - ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - ...GetEnhancedMeasurementSettingsRequest.java | 690 - ...edMeasurementSettingsRequestOrBuilder.java | 60 - ...GoogleSignalsSettingsRequestOrBuilder.java | 56 - .../GetIosAppDataStreamRequestOrBuilder.java | 58 - .../v1alpha/GetPropertyRequestOrBuilder.java | 58 - .../v1alpha/GetUserLinkRequestOrBuilder.java | 54 - .../GetWebDataStreamRequestOrBuilder.java | 58 - ...ertiserLinkProposalsResponseOrBuilder.java | 119 - ...ovisionAccountTicketResponseOrBuilder.java | 50 - .../admin/v1alpha/ResourcesProto.java | 747 -- ...ateEnhancedMeasurementSettingsRequest.java | 1120 -- ...edMeasurementSettingsRequestOrBuilder.java | 114 - .../UpdateUserLinkRequestOrBuilder.java | 66 - 367 files changed, 55462 insertions(+), 70815 deletions(-) delete mode 100644 grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java (92%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java (92%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json (94%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/package-info.java (100%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java (94%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java (91%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java (94%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java (94%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java (100%) rename {google-analytics-admin => owl-bot-staging/v1alpha/google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java (94%) create mode 100644 owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/Account.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java (69%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java (57%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java (61%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java (65%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java (52%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java (54%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java (65%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java (52%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java (81%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java (61%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java (61%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java (59%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java (51%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java (59%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java rename proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.java => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java (54%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java (55%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java (61%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java (55%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java (53%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java (55%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java (50%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java (52%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java (79%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java (77%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java (61%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java (52%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java (55%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java (61%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java (55%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java (59%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java (50%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java (73%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java (65%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java (77%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java (80%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java (74%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/Property.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java (80%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java (55%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java (66%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java (63%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java (69%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java (58%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java (72%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java (62%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java (65%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java (60%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java (67%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java (64%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java (71%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java (68%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java (70%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java (100%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java (75%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto (94%) rename {proto-google-analytics-admin-v1alpha => owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha}/src/main/proto/google/analytics/admin/v1alpha/resources.proto (89%) delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java delete mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java diff --git a/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java deleted file mode 100644 index 896877a6..00000000 --- a/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,10597 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.analytics.admin.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = - getGetAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = - getListAccountsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = - getDeleteAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = - getUpdateAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = - getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = - getListAccountSummariesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = - getGetPropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetPropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = - getListPropertiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = - getCreatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = - getDeletePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeletePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = - getUpdatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUserLink", - requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod; - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetUserLinkMethod = - getGetUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) - .build(); - } - } - } - return getGetUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod; - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = - getBatchGetUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) - .build(); - } - } - } - return getBatchGetUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", - requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod; - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListUserLinksMethod = - getListUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) - .build(); - } - } - } - return getListUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", - requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod; - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = - getAuditUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) - .build(); - } - } - } - return getAuditUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", - requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod; - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = - getCreateUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) - .build(); - } - } - } - return getCreateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod; - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchCreateUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = - getBatchCreateUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) - .build(); - } - } - } - return getBatchCreateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod; - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = - getUpdateUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) - .build(); - } - } - } - return getUpdateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod; - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchUpdateUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = - getBatchUpdateUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) - .build(); - } - } - } - return getBatchUpdateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod; - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = - getDeleteUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) - .build(); - } - } - } - return getDeleteUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod; - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchDeleteUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = - getBatchDeleteUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) - .build(); - } - } - } - return getBatchDeleteUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getGetWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWebDataStream", - requestType = com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getGetWebDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getGetWebDataStreamMethod; - if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod = - getGetWebDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetWebDataStream")) - .build(); - } - } - } - return getGetWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, com.google.protobuf.Empty> - getDeleteWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWebDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, com.google.protobuf.Empty> - getDeleteWebDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, - com.google.protobuf.Empty> - getDeleteWebDataStreamMethod; - if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod = - getDeleteWebDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteWebDataStream")) - .build(); - } - } - } - return getDeleteWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getUpdateWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateWebDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getUpdateWebDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getUpdateWebDataStreamMethod; - if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod = - getUpdateWebDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateWebDataStream")) - .build(); - } - } - } - return getUpdateWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getCreateWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWebDataStream", - requestType = com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getCreateWebDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream> - getCreateWebDataStreamMethod; - if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod = - getCreateWebDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateWebDataStream")) - .build(); - } - } - } - return getCreateWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> - getListWebDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWebDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> - getListWebDataStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> - getListWebDataStreamsMethod; - if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod = - getListWebDataStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWebDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListWebDataStreams")) - .build(); - } - } - } - return getListWebDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getGetIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getGetIosAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getGetIosAppDataStreamMethod; - if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod = - getGetIosAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.IosAppDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetIosAppDataStream")) - .build(); - } - } - } - return getGetIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteIosAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteIosAppDataStreamMethod; - if ((getDeleteIosAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteIosAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod = - getDeleteIosAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteIosAppDataStream")) - .build(); - } - } - } - return getDeleteIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getUpdateIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getUpdateIosAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream> - getUpdateIosAppDataStreamMethod; - if ((getUpdateIosAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateIosAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod = - getUpdateIosAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.IosAppDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateIosAppDataStream")) - .build(); - } - } - } - return getUpdateIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - getListIosAppDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIosAppDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - getListIosAppDataStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - getListIosAppDataStreamsMethod; - if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListIosAppDataStreamsMethod = - AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod = - getListIosAppDataStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListIosAppDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListIosAppDataStreams")) - .build(); - } - } - } - return getListIosAppDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getGetAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getGetAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getGetAndroidAppDataStreamMethod; - if ((getGetAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod = - getGetAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AndroidAppDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetAndroidAppDataStream")) - .build(); - } - } - } - return getGetAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, - com.google.protobuf.Empty> - getDeleteAndroidAppDataStreamMethod; - if ((getDeleteAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod = - getDeleteAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteAndroidAppDataStream")) - .build(); - } - } - } - return getDeleteAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getUpdateAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getUpdateAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getUpdateAndroidAppDataStreamMethod; - if ((getUpdateAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAndroidAppDataStreamMethod = - AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod = - getUpdateAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AndroidAppDataStream - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateAndroidAppDataStream")) - .build(); - } - } - } - return getUpdateAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - getListAndroidAppDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAndroidAppDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - getListAndroidAppDataStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - getListAndroidAppDataStreamsMethod; - if ((getListAndroidAppDataStreamsMethod = - AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAndroidAppDataStreamsMethod = - AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod = - getListAndroidAppDataStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAndroidAppDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListAndroidAppDataStreams")) - .build(); - } - } - } - return getListAndroidAppDataStreamsMethod; - } - - 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.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.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = - getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod; - if ((getGetGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = - getGetGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetGoogleSignalsSettings")) - .build(); - } - } - } - return getGetGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod; - if ((getUpdateGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = - getUpdateGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateGoogleSignalsSettings")) - .build(); - } - } - } - return getUpdateGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = - getCreateConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = - getGetConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = - getDeleteConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = - AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = - getListConversionEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod; - if ((getGetDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = - getGetDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", - requestType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - responseType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod; - if ((getListDisplayVideo360AdvertiserLinksMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinksMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = - getListDisplayVideo360AdvertiserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListDisplayVideo360AdvertiserLinks")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod; - if ((getCreateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = - getCreateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = - getDeleteDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod; - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = - getUpdateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getUpdateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod; - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = - getGetDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", - requestType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .class, - responseType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod; - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = - getListDisplayVideo360AdvertiserLinkProposalsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListDisplayVideo360AdvertiserLinkProposals")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinkProposalsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = - getCreateDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod; - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = - getApproveDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ApproveDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getApproveDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = - getCancelDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CancelDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCancelDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = - getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = - getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = - getListCustomDimensionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = - getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = - getGetCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = - getCreateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = - getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = - getListCustomMetricsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = - getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = - getGetCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = - getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = - getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountsMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProvisionAccountTicketMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountSummariesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPropertiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAuditUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public void getWebDataStream( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWebDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a web stream on a property.
-     * 
- */ - public void deleteWebDataStream( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteWebDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a web stream on a property.
-     * 
- */ - public void updateWebDataStream( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateWebDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public void createWebDataStream( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateWebDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public void listWebDataStreams( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListWebDataStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public void getIosAppDataStream( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIosAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public void deleteIosAppDataStream( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteIosAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public void updateIosAppDataStream( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateIosAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public void listIosAppDataStreams( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListIosAppDataStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public void getAndroidAppDataStream( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAndroidAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public void deleteAndroidAppDataStream( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAndroidAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an android app stream on a property.
-     * 
- */ - public void updateAndroidAppDataStream( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAndroidAppDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public void listAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAndroidAppDataStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the singleton enhanced measurement settings for this web 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetEnhancedMeasurementSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the singleton enhanced measurement settings for this web 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEnhancedMeasurementSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFirebaseLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGlobalSiteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConversionEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomDimensionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomMetricsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account>(this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account>(this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getGetUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>(this, METHODID_GET_USER_LINK))) - .addMethod( - getBatchGetUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( - this, METHODID_BATCH_GET_USER_LINKS))) - .addMethod( - getListUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse>( - this, METHODID_LIST_USER_LINKS))) - .addMethod( - getAuditUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( - this, METHODID_AUDIT_USER_LINKS))) - .addMethod( - getCreateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_CREATE_USER_LINK))) - .addMethod( - getBatchCreateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( - this, METHODID_BATCH_CREATE_USER_LINKS))) - .addMethod( - getUpdateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_UPDATE_USER_LINK))) - .addMethod( - getBatchUpdateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( - this, METHODID_BATCH_UPDATE_USER_LINKS))) - .addMethod( - getDeleteUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_USER_LINK))) - .addMethod( - getBatchDeleteUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_USER_LINKS))) - .addMethod( - getGetWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_GET_WEB_DATA_STREAM))) - .addMethod( - getDeleteWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_WEB_DATA_STREAM))) - .addMethod( - getUpdateWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_UPDATE_WEB_DATA_STREAM))) - .addMethod( - getCreateWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_CREATE_WEB_DATA_STREAM))) - .addMethod( - getListWebDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>( - this, METHODID_LIST_WEB_DATA_STREAMS))) - .addMethod( - getGetIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream>( - this, METHODID_GET_IOS_APP_DATA_STREAM))) - .addMethod( - getDeleteIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_IOS_APP_DATA_STREAM))) - .addMethod( - getUpdateIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream>( - this, METHODID_UPDATE_IOS_APP_DATA_STREAM))) - .addMethod( - getListIosAppDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>( - this, METHODID_LIST_IOS_APP_DATA_STREAMS))) - .addMethod( - getGetAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream>( - this, METHODID_GET_ANDROID_APP_DATA_STREAM))) - .addMethod( - getDeleteAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ANDROID_APP_DATA_STREAM))) - .addMethod( - getUpdateAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream>( - this, METHODID_UPDATE_ANDROID_APP_DATA_STREAM))) - .addMethod( - getListAndroidAppDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>( - this, METHODID_LIST_ANDROID_APP_DATA_STREAMS))) - .addMethod( - getGetEnhancedMeasurementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>( - this, 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>( - this, METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getGetGlobalSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag>( - this, METHODID_GET_GLOBAL_SITE_TAG))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getGetGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getUpdateGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getListDisplayVideo360AdvertiserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getUpdateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse>( - this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public void getWebDataStream( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a web stream on a property.
-     * 
- */ - public void deleteWebDataStream( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a web stream on a property.
-     * 
- */ - public void updateWebDataStream( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public void createWebDataStream( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public void listWebDataStreams( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public void getIosAppDataStream( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public void deleteIosAppDataStream( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public void updateIosAppDataStream( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public void listIosAppDataStreams( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public void getAndroidAppDataStream( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public void deleteAndroidAppDataStream( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an android app stream on a property.
-     * 
- */ - public void updateAndroidAppDataStream( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public void listAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the singleton enhanced measurement settings for this web 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 singleton enhanced measurement settings for this web 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 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); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.protobuf.Empty deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWebDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a web stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteWebDataStream( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWebDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a web stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream updateWebDataStream( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateWebDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream createWebDataStream( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWebDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse listWebDataStreams( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWebDataStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteIosAppDataStream( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.IosAppDataStream updateIosAppDataStream( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse listIosAppDataStreams( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIosAppDataStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteAndroidAppDataStream( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an android app stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream updateAndroidAppDataStream( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - listAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAndroidAppDataStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the singleton enhanced measurement settings for this web 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 singleton enhanced measurement settings for this web 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 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); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Account> - getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAccountsResponse> - listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Account> - updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.WebDataStream> - getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a web stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a web stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.WebDataStream> - updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.WebDataStream> - createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> - listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.IosAppDataStream> - getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteIosAppDataStream( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.IosAppDataStream> - updateIosAppDataStream( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> - listIosAppDataStreams( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - getAndroidAppDataStream( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAndroidAppDataStream( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an android app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AndroidAppDataStream> - updateAndroidAppDataStream( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> - listAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the singleton enhanced measurement settings for this web 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 singleton enhanced measurement settings for this web 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 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); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ConversionEvent> - createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ConversionEvent> - getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataRetentionSettings> - updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_ACCOUNT = 0; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_GET_USER_LINK = 11; - private static final int METHODID_BATCH_GET_USER_LINKS = 12; - private static final int METHODID_LIST_USER_LINKS = 13; - private static final int METHODID_AUDIT_USER_LINKS = 14; - private static final int METHODID_CREATE_USER_LINK = 15; - private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; - private static final int METHODID_UPDATE_USER_LINK = 17; - private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; - private static final int METHODID_DELETE_USER_LINK = 19; - private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; - private static final int METHODID_GET_WEB_DATA_STREAM = 21; - private static final int METHODID_DELETE_WEB_DATA_STREAM = 22; - private static final int METHODID_UPDATE_WEB_DATA_STREAM = 23; - private static final int METHODID_CREATE_WEB_DATA_STREAM = 24; - private static final int METHODID_LIST_WEB_DATA_STREAMS = 25; - private static final int METHODID_GET_IOS_APP_DATA_STREAM = 26; - private static final int METHODID_DELETE_IOS_APP_DATA_STREAM = 27; - private static final int METHODID_UPDATE_IOS_APP_DATA_STREAM = 28; - private static final int METHODID_LIST_IOS_APP_DATA_STREAMS = 29; - private static final int METHODID_GET_ANDROID_APP_DATA_STREAM = 30; - private static final int METHODID_DELETE_ANDROID_APP_DATA_STREAM = 31; - private static final int METHODID_UPDATE_ANDROID_APP_DATA_STREAM = 32; - private static final int METHODID_LIST_ANDROID_APP_DATA_STREAMS = 33; - private static final int METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS = 34; - private static final int METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS = 35; - private static final int METHODID_CREATE_FIREBASE_LINK = 36; - private static final int METHODID_DELETE_FIREBASE_LINK = 37; - private static final int METHODID_LIST_FIREBASE_LINKS = 38; - private static final int METHODID_GET_GLOBAL_SITE_TAG = 39; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 40; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 41; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 42; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 43; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 44; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 45; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 46; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 47; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 48; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 49; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 50; - private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 51; - private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 52; - private static final int METHODID_CREATE_CONVERSION_EVENT = 53; - private static final int METHODID_GET_CONVERSION_EVENT = 54; - private static final int METHODID_DELETE_CONVERSION_EVENT = 55; - private static final int METHODID_LIST_CONVERSION_EVENTS = 56; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 57; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 58; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 59; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 60; - private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 61; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 62; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 63; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 64; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 65; - private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 66; - private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 67; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 68; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 69; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 70; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 71; - private static final int METHODID_GET_CUSTOM_DIMENSION = 72; - private static final int METHODID_CREATE_CUSTOM_METRIC = 73; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 74; - private static final int METHODID_LIST_CUSTOM_METRICS = 75; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 76; - private static final int METHODID_GET_CUSTOM_METRIC = 77; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 78; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 79; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount( - (com.google.analytics.admin.v1alpha.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts( - (com.google.analytics.admin.v1alpha.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount( - (com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount( - (com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket( - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>) - responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries( - (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>) - responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty( - (com.google.analytics.admin.v1alpha.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties( - (com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListPropertiesResponse>) - responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty( - (com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty( - (com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty( - (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_USER_LINK: - serviceImpl.getUserLink( - (com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_GET_USER_LINKS: - serviceImpl.batchGetUserLinks( - (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>) - responseObserver); - break; - case METHODID_LIST_USER_LINKS: - serviceImpl.listUserLinks( - (com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListUserLinksResponse>) - responseObserver); - break; - case METHODID_AUDIT_USER_LINKS: - serviceImpl.auditUserLinks( - (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>) - responseObserver); - break; - case METHODID_CREATE_USER_LINK: - serviceImpl.createUserLink( - (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_CREATE_USER_LINKS: - serviceImpl.batchCreateUserLinks( - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>) - responseObserver); - break; - case METHODID_UPDATE_USER_LINK: - serviceImpl.updateUserLink( - (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_UPDATE_USER_LINKS: - serviceImpl.batchUpdateUserLinks( - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>) - responseObserver); - break; - case METHODID_DELETE_USER_LINK: - serviceImpl.deleteUserLink( - (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_USER_LINKS: - serviceImpl.batchDeleteUserLinks( - (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WEB_DATA_STREAM: - serviceImpl.getWebDataStream( - (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_WEB_DATA_STREAM: - serviceImpl.deleteWebDataStream( - (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_WEB_DATA_STREAM: - serviceImpl.updateWebDataStream( - (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_WEB_DATA_STREAM: - serviceImpl.createWebDataStream( - (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_WEB_DATA_STREAMS: - serviceImpl.listWebDataStreams( - (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>) - responseObserver); - break; - case METHODID_GET_IOS_APP_DATA_STREAM: - serviceImpl.getIosAppDataStream( - (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_IOS_APP_DATA_STREAM: - serviceImpl.deleteIosAppDataStream( - (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_IOS_APP_DATA_STREAM: - serviceImpl.updateIosAppDataStream( - (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_IOS_APP_DATA_STREAMS: - serviceImpl.listIosAppDataStreams( - (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>) - responseObserver); - break; - case METHODID_GET_ANDROID_APP_DATA_STREAM: - serviceImpl.getAndroidAppDataStream( - (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ANDROID_APP_DATA_STREAM: - serviceImpl.deleteAndroidAppDataStream( - (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ANDROID_APP_DATA_STREAM: - serviceImpl.updateAndroidAppDataStream( - (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ANDROID_APP_DATA_STREAMS: - serviceImpl.listAndroidAppDataStreams( - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>) - 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_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_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents( - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>) - responseObserver); - break; - case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.getGoogleSignalsSettings( - (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) - responseObserver); - break; - case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.updateGoogleSignalsSettings( - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) - responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent( - (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent( - (com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent( - (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents( - (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>) - responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.getDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: - serviceImpl.listDisplayVideo360AdvertiserLinks( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse>) - responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.createDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.deleteDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.updateDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.getDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: - serviceImpl.listDisplayVideo360AdvertiserLinkProposals( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse>) - responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.createDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.approveDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse>) - responseObserver); - break; - case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension( - (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension( - (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions( - (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension( - (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension( - (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric( - (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric( - (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics( - (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric( - (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric( - (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings( - (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DataRetentionSettings>) - responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings( - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DataRetentionSettings>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getGetUserLinkMethod()) - .addMethod(getBatchGetUserLinksMethod()) - .addMethod(getListUserLinksMethod()) - .addMethod(getAuditUserLinksMethod()) - .addMethod(getCreateUserLinkMethod()) - .addMethod(getBatchCreateUserLinksMethod()) - .addMethod(getUpdateUserLinkMethod()) - .addMethod(getBatchUpdateUserLinksMethod()) - .addMethod(getDeleteUserLinkMethod()) - .addMethod(getBatchDeleteUserLinksMethod()) - .addMethod(getGetWebDataStreamMethod()) - .addMethod(getDeleteWebDataStreamMethod()) - .addMethod(getUpdateWebDataStreamMethod()) - .addMethod(getCreateWebDataStreamMethod()) - .addMethod(getListWebDataStreamsMethod()) - .addMethod(getGetIosAppDataStreamMethod()) - .addMethod(getDeleteIosAppDataStreamMethod()) - .addMethod(getUpdateIosAppDataStreamMethod()) - .addMethod(getListIosAppDataStreamsMethod()) - .addMethod(getGetAndroidAppDataStreamMethod()) - .addMethod(getDeleteAndroidAppDataStreamMethod()) - .addMethod(getUpdateAndroidAppDataStreamMethod()) - .addMethod(getListAndroidAppDataStreamsMethod()) - .addMethod(getGetEnhancedMeasurementSettingsMethod()) - .addMethod(getUpdateEnhancedMeasurementSettingsMethod()) - .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(getSearchChangeHistoryEventsMethod()) - .addMethod(getGetGoogleSignalsSettingsMethod()) - .addMethod(getUpdateGoogleSignalsSettingsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java similarity index 92% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index 58a4752c..2d584820 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -3552,213 +3552,6 @@ public final ListAndroidAppDataStreamsPagedResponse listAndroidAppDataStreams( return stub.listAndroidAppDataStreamsCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   EnhancedMeasurementSettingsName name =
-   *       EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]");
-   *   EnhancedMeasurementSettings response =
-   *       analyticsAdminServiceClient.getEnhancedMeasurementSettings(name);
-   * }
-   * }
- * - * @param name Required. The name of the settings to lookup. Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: - * "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final EnhancedMeasurementSettings getEnhancedMeasurementSettings( - EnhancedMeasurementSettingsName name) { - GetEnhancedMeasurementSettingsRequest request = - GetEnhancedMeasurementSettingsRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - return getEnhancedMeasurementSettings(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   String name =
-   *       EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString();
-   *   EnhancedMeasurementSettings response =
-   *       analyticsAdminServiceClient.getEnhancedMeasurementSettings(name);
-   * }
-   * }
- * - * @param name Required. The name of the settings to lookup. Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: - * "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final EnhancedMeasurementSettings getEnhancedMeasurementSettings(String name) { - GetEnhancedMeasurementSettingsRequest request = - GetEnhancedMeasurementSettingsRequest.newBuilder().setName(name).build(); - return getEnhancedMeasurementSettings(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   GetEnhancedMeasurementSettingsRequest request =
-   *       GetEnhancedMeasurementSettingsRequest.newBuilder()
-   *           .setName(
-   *               EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
-   *           .build();
-   *   EnhancedMeasurementSettings response =
-   *       analyticsAdminServiceClient.getEnhancedMeasurementSettings(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final EnhancedMeasurementSettings getEnhancedMeasurementSettings( - GetEnhancedMeasurementSettingsRequest request) { - return getEnhancedMeasurementSettingsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   GetEnhancedMeasurementSettingsRequest request =
-   *       GetEnhancedMeasurementSettingsRequest.newBuilder()
-   *           .setName(
-   *               EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       analyticsAdminServiceClient.getEnhancedMeasurementSettingsCallable().futureCall(request);
-   *   // Do something.
-   *   EnhancedMeasurementSettings response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - getEnhancedMeasurementSettingsCallable() { - return stub.getEnhancedMeasurementSettingsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   EnhancedMeasurementSettings enhancedMeasurementSettings =
-   *       EnhancedMeasurementSettings.newBuilder().build();
-   *   FieldMask updateMask = FieldMask.newBuilder().build();
-   *   EnhancedMeasurementSettings response =
-   *       analyticsAdminServiceClient.updateEnhancedMeasurementSettings(
-   *           enhancedMeasurementSettings, updateMask);
-   * }
-   * }
- * - * @param enhancedMeasurementSettings Required. The settings to update. The `name` field is used - * to identify the settings to be updated. - * @param updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire - * entity, use one path with the string "*" to match all fields. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final EnhancedMeasurementSettings updateEnhancedMeasurementSettings( - EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask) { - UpdateEnhancedMeasurementSettingsRequest request = - UpdateEnhancedMeasurementSettingsRequest.newBuilder() - .setEnhancedMeasurementSettings(enhancedMeasurementSettings) - .setUpdateMask(updateMask) - .build(); - return updateEnhancedMeasurementSettings(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   UpdateEnhancedMeasurementSettingsRequest request =
-   *       UpdateEnhancedMeasurementSettingsRequest.newBuilder()
-   *           .setEnhancedMeasurementSettings(EnhancedMeasurementSettings.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   EnhancedMeasurementSettings response =
-   *       analyticsAdminServiceClient.updateEnhancedMeasurementSettings(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final EnhancedMeasurementSettings updateEnhancedMeasurementSettings( - UpdateEnhancedMeasurementSettingsRequest request) { - return updateEnhancedMeasurementSettingsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates the singleton enhanced measurement settings for this web stream. Note that the stream - * must enable enhanced measurement for these settings to take effect. - * - *

Sample code: - * - *

{@code
-   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
-   *     AnalyticsAdminServiceClient.create()) {
-   *   UpdateEnhancedMeasurementSettingsRequest request =
-   *       UpdateEnhancedMeasurementSettingsRequest.newBuilder()
-   *           .setEnhancedMeasurementSettings(EnhancedMeasurementSettings.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       analyticsAdminServiceClient
-   *           .updateEnhancedMeasurementSettingsCallable()
-   *           .futureCall(request);
-   *   // Do something.
-   *   EnhancedMeasurementSettings response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - updateEnhancedMeasurementSettingsCallable() { - return stub.updateEnhancedMeasurementSettingsCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a FirebaseLink. @@ -5353,6 +5146,66 @@ public final MeasurementProtocolSecret updateMeasurementProtocolSecret( return stub.updateMeasurementProtocolSecretCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Acknowledges the terms of user data collection for the specified property. + * + *

This acknowledgement must be completed (either in the Google Analytics UI or via this API) + * before MeasurementProtocolSecret resources may be created. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   AcknowledgeUserDataCollectionRequest request =
+   *       AcknowledgeUserDataCollectionRequest.newBuilder()
+   *           .setProperty(PropertyName.of("[PROPERTY]").toString())
+   *           .setAcknowledgement("acknowledgement1769490938")
+   *           .build();
+   *   AcknowledgeUserDataCollectionResponse response =
+   *       analyticsAdminServiceClient.acknowledgeUserDataCollection(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection( + AcknowledgeUserDataCollectionRequest request) { + return acknowledgeUserDataCollectionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Acknowledges the terms of user data collection for the specified property. + * + *

This acknowledgement must be completed (either in the Google Analytics UI or via this API) + * before MeasurementProtocolSecret resources may be created. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   AcknowledgeUserDataCollectionRequest request =
+   *       AcknowledgeUserDataCollectionRequest.newBuilder()
+   *           .setProperty(PropertyName.of("[PROPERTY]").toString())
+   *           .setAcknowledgement("acknowledgement1769490938")
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.acknowledgeUserDataCollectionCallable().futureCall(request);
+   *   // Do something.
+   *   AcknowledgeUserDataCollectionResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionCallable() { + return stub.acknowledgeUserDataCollectionCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Searches through all changes to an account or its children given the specified set of filters. @@ -8647,42 +8500,556 @@ public final DataRetentionSettings updateDataRetentionSettings( return stub.updateDataRetentionSettingsCallable(); } - @Override - public final void close() { - stub.close(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   PropertyName parent = PropertyName.of("[PROPERTY]");
+   *   DataStream dataStream = DataStream.newBuilder().build();
+   *   DataStream response = analyticsAdminServiceClient.createDataStream(parent, dataStream);
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @param dataStream Required. The DataStream to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream createDataStream(PropertyName parent, DataStream dataStream) { + CreateDataStreamRequest request = + CreateDataStreamRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setDataStream(dataStream) + .build(); + return createDataStream(request); } - @Override - public void shutdown() { - stub.shutdown(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String parent = PropertyName.of("[PROPERTY]").toString();
+   *   DataStream dataStream = DataStream.newBuilder().build();
+   *   DataStream response = analyticsAdminServiceClient.createDataStream(parent, dataStream);
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @param dataStream Required. The DataStream to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream createDataStream(String parent, DataStream dataStream) { + CreateDataStreamRequest request = + CreateDataStreamRequest.newBuilder().setParent(parent).setDataStream(dataStream).build(); + return createDataStream(request); } - @Override - public boolean isShutdown() { - return stub.isShutdown(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   CreateDataStreamRequest request =
+   *       CreateDataStreamRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setDataStream(DataStream.newBuilder().build())
+   *           .build();
+   *   DataStream response = analyticsAdminServiceClient.createDataStream(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream createDataStream(CreateDataStreamRequest request) { + return createDataStreamCallable().call(request); } - @Override - public boolean isTerminated() { - return stub.isTerminated(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   CreateDataStreamRequest request =
+   *       CreateDataStreamRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setDataStream(DataStream.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.createDataStreamCallable().futureCall(request);
+   *   // Do something.
+   *   DataStream response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createDataStreamCallable() { + return stub.createDataStreamCallable(); } - @Override - public void shutdownNow() { - stub.shutdownNow(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]");
+   *   analyticsAdminServiceClient.deleteDataStream(name);
+   * }
+   * }
+ * + * @param name Required. The name of the DataStream to delete. Example format: + * properties/1234/dataStreams/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteDataStream(DataStreamName name) { + DeleteDataStreamRequest request = + DeleteDataStreamRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteDataStream(request); } - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString();
+   *   analyticsAdminServiceClient.deleteDataStream(name);
+   * }
+   * }
+ * + * @param name Required. The name of the DataStream to delete. Example format: + * properties/1234/dataStreams/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteDataStream(String name) { + DeleteDataStreamRequest request = DeleteDataStreamRequest.newBuilder().setName(name).build(); + deleteDataStream(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DeleteDataStreamRequest request =
+   *       DeleteDataStreamRequest.newBuilder()
+   *           .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString())
+   *           .build();
+   *   analyticsAdminServiceClient.deleteDataStream(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteDataStream(DeleteDataStreamRequest request) { + deleteDataStreamCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DeleteDataStreamRequest request =
+   *       DeleteDataStreamRequest.newBuilder()
+   *           .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.deleteDataStreamCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteDataStreamCallable() { + return stub.deleteDataStreamCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DataStream dataStream = DataStream.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   DataStream response = analyticsAdminServiceClient.updateDataStream(dataStream, updateMask);
+   * }
+   * }
+ * + * @param dataStream The DataStream to update + * @param updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to match all + * fields. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream updateDataStream(DataStream dataStream, FieldMask updateMask) { + UpdateDataStreamRequest request = + UpdateDataStreamRequest.newBuilder() + .setDataStream(dataStream) + .setUpdateMask(updateMask) + .build(); + return updateDataStream(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateDataStreamRequest request =
+   *       UpdateDataStreamRequest.newBuilder()
+   *           .setDataStream(DataStream.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   DataStream response = analyticsAdminServiceClient.updateDataStream(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream updateDataStream(UpdateDataStreamRequest request) { + return updateDataStreamCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a DataStream on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateDataStreamRequest request =
+   *       UpdateDataStreamRequest.newBuilder()
+   *           .setDataStream(DataStream.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.updateDataStreamCallable().futureCall(request);
+   *   // Do something.
+   *   DataStream response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateDataStreamCallable() { + return stub.updateDataStreamCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists DataStreams on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   PropertyName parent = PropertyName.of("[PROPERTY]");
+   *   for (DataStream element : analyticsAdminServiceClient.listDataStreams(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDataStreamsPagedResponse listDataStreams(PropertyName parent) { + ListDataStreamsRequest request = + ListDataStreamsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listDataStreams(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists DataStreams on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String parent = PropertyName.of("[PROPERTY]").toString();
+   *   for (DataStream element : analyticsAdminServiceClient.listDataStreams(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDataStreamsPagedResponse listDataStreams(String parent) { + ListDataStreamsRequest request = ListDataStreamsRequest.newBuilder().setParent(parent).build(); + return listDataStreams(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists DataStreams on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListDataStreamsRequest request =
+   *       ListDataStreamsRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (DataStream element : analyticsAdminServiceClient.listDataStreams(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDataStreamsPagedResponse listDataStreams(ListDataStreamsRequest request) { + return listDataStreamsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists DataStreams on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListDataStreamsRequest request =
+   *       ListDataStreamsRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.listDataStreamsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (DataStream element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listDataStreamsPagedCallable() { + return stub.listDataStreamsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists DataStreams on a property. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListDataStreamsRequest request =
+   *       ListDataStreamsRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListDataStreamsResponse response =
+   *         analyticsAdminServiceClient.listDataStreamsCallable().call(request);
+   *     for (DataStream element : response.getResponsesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listDataStreamsCallable() { + return stub.listDataStreamsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a single DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]");
+   *   DataStream response = analyticsAdminServiceClient.getDataStream(name);
+   * }
+   * }
+ * + * @param name Required. The name of the DataStream to get. Example format: + * properties/1234/dataStreams/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream getDataStream(DataStreamName name) { + GetDataStreamRequest request = + GetDataStreamRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getDataStream(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a single DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString();
+   *   DataStream response = analyticsAdminServiceClient.getDataStream(name);
+   * }
+   * }
+ * + * @param name Required. The name of the DataStream to get. Example format: + * properties/1234/dataStreams/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream getDataStream(String name) { + GetDataStreamRequest request = GetDataStreamRequest.newBuilder().setName(name).build(); + return getDataStream(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a single DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetDataStreamRequest request =
+   *       GetDataStreamRequest.newBuilder()
+   *           .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString())
+   *           .build();
+   *   DataStream response = analyticsAdminServiceClient.getDataStream(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DataStream getDataStream(GetDataStreamRequest request) { + return getDataStreamCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a single DataStream. + * + *

Sample code: + * + *

{@code
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetDataStreamRequest request =
+   *       GetDataStreamRequest.newBuilder()
+   *           .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.getDataStreamCallable().futureCall(request);
+   *   // Do something.
+   *   DataStream response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getDataStreamCallable() { + return stub.getDataStreamCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); } public static class ListAccountsPagedResponse extends AbstractPagedListResponse< - ListAccountsRequest, - ListAccountsResponse, - Account, - ListAccountsPage, + ListAccountsRequest, ListAccountsResponse, Account, ListAccountsPage, ListAccountsFixedSizeCollection> { public static ApiFuture createAsync( @@ -8731,10 +9098,7 @@ public ApiFuture createPageAsync( public static class ListAccountsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAccountsRequest, - ListAccountsResponse, - Account, - ListAccountsPage, + ListAccountsRequest, ListAccountsResponse, Account, ListAccountsPage, ListAccountsFixedSizeCollection> { private ListAccountsFixedSizeCollection(List pages, int collectionSize) { @@ -8754,11 +9118,8 @@ protected ListAccountsFixedSizeCollection createCollection( public static class ListAccountSummariesPagedResponse extends AbstractPagedListResponse< - ListAccountSummariesRequest, - ListAccountSummariesResponse, - AccountSummary, - ListAccountSummariesPage, - ListAccountSummariesFixedSizeCollection> { + ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, + ListAccountSummariesPage, ListAccountSummariesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -8779,9 +9140,7 @@ private ListAccountSummariesPagedResponse(ListAccountSummariesPage page) { public static class ListAccountSummariesPage extends AbstractPage< - ListAccountSummariesRequest, - ListAccountSummariesResponse, - AccountSummary, + ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, ListAccountSummariesPage> { private ListAccountSummariesPage( @@ -8814,11 +9173,8 @@ public ApiFuture createPageAsync( public static class ListAccountSummariesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAccountSummariesRequest, - ListAccountSummariesResponse, - AccountSummary, - ListAccountSummariesPage, - ListAccountSummariesFixedSizeCollection> { + ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, + ListAccountSummariesPage, ListAccountSummariesFixedSizeCollection> { private ListAccountSummariesFixedSizeCollection( List pages, int collectionSize) { @@ -8838,10 +9194,7 @@ protected ListAccountSummariesFixedSizeCollection createCollection( public static class ListPropertiesPagedResponse extends AbstractPagedListResponse< - ListPropertiesRequest, - ListPropertiesResponse, - Property, - ListPropertiesPage, + ListPropertiesRequest, ListPropertiesResponse, Property, ListPropertiesPage, ListPropertiesFixedSizeCollection> { public static ApiFuture createAsync( @@ -8891,10 +9244,7 @@ public ApiFuture createPageAsync( public static class ListPropertiesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPropertiesRequest, - ListPropertiesResponse, - Property, - ListPropertiesPage, + ListPropertiesRequest, ListPropertiesResponse, Property, ListPropertiesPage, ListPropertiesFixedSizeCollection> { private ListPropertiesFixedSizeCollection(List pages, int collectionSize) { @@ -8914,10 +9264,7 @@ protected ListPropertiesFixedSizeCollection createCollection( public static class ListUserLinksPagedResponse extends AbstractPagedListResponse< - ListUserLinksRequest, - ListUserLinksResponse, - UserLink, - ListUserLinksPage, + ListUserLinksRequest, ListUserLinksResponse, UserLink, ListUserLinksPage, ListUserLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -8967,10 +9314,7 @@ public ApiFuture createPageAsync( public static class ListUserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListUserLinksRequest, - ListUserLinksResponse, - UserLink, - ListUserLinksPage, + ListUserLinksRequest, ListUserLinksResponse, UserLink, ListUserLinksPage, ListUserLinksFixedSizeCollection> { private ListUserLinksFixedSizeCollection(List pages, int collectionSize) { @@ -8990,10 +9334,7 @@ protected ListUserLinksFixedSizeCollection createCollection( public static class AuditUserLinksPagedResponse extends AbstractPagedListResponse< - AuditUserLinksRequest, - AuditUserLinksResponse, - AuditUserLink, - AuditUserLinksPage, + AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLink, AuditUserLinksPage, AuditUserLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -9043,10 +9384,7 @@ public ApiFuture createPageAsync( public static class AuditUserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - AuditUserLinksRequest, - AuditUserLinksResponse, - AuditUserLink, - AuditUserLinksPage, + AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLink, AuditUserLinksPage, AuditUserLinksFixedSizeCollection> { private AuditUserLinksFixedSizeCollection(List pages, int collectionSize) { @@ -9066,11 +9404,8 @@ protected AuditUserLinksFixedSizeCollection createCollection( public static class ListWebDataStreamsPagedResponse extends AbstractPagedListResponse< - ListWebDataStreamsRequest, - ListWebDataStreamsResponse, - WebDataStream, - ListWebDataStreamsPage, - ListWebDataStreamsFixedSizeCollection> { + ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, + ListWebDataStreamsPage, ListWebDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -9090,9 +9425,7 @@ private ListWebDataStreamsPagedResponse(ListWebDataStreamsPage page) { public static class ListWebDataStreamsPage extends AbstractPage< - ListWebDataStreamsRequest, - ListWebDataStreamsResponse, - WebDataStream, + ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, ListWebDataStreamsPage> { private ListWebDataStreamsPage( @@ -9122,11 +9455,8 @@ public ApiFuture createPageAsync( public static class ListWebDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListWebDataStreamsRequest, - ListWebDataStreamsResponse, - WebDataStream, - ListWebDataStreamsPage, - ListWebDataStreamsFixedSizeCollection> { + ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, + ListWebDataStreamsPage, ListWebDataStreamsFixedSizeCollection> { private ListWebDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9146,11 +9476,8 @@ protected ListWebDataStreamsFixedSizeCollection createCollection( public static class ListIosAppDataStreamsPagedResponse extends AbstractPagedListResponse< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, - IosAppDataStream, - ListIosAppDataStreamsPage, - ListIosAppDataStreamsFixedSizeCollection> { + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, + ListIosAppDataStreamsPage, ListIosAppDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9171,9 +9498,7 @@ private ListIosAppDataStreamsPagedResponse(ListIosAppDataStreamsPage page) { public static class ListIosAppDataStreamsPage extends AbstractPage< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, - IosAppDataStream, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, ListIosAppDataStreamsPage> { private ListIosAppDataStreamsPage( @@ -9206,11 +9531,8 @@ public ApiFuture createPageAsync( public static class ListIosAppDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, - IosAppDataStream, - ListIosAppDataStreamsPage, - ListIosAppDataStreamsFixedSizeCollection> { + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, + ListIosAppDataStreamsPage, ListIosAppDataStreamsFixedSizeCollection> { private ListIosAppDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9230,16 +9552,12 @@ protected ListIosAppDataStreamsFixedSizeCollection createCollection( public static class ListAndroidAppDataStreamsPagedResponse extends AbstractPagedListResponse< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, - AndroidAppDataStream, - ListAndroidAppDataStreamsPage, - ListAndroidAppDataStreamsFixedSizeCollection> { + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, + ListAndroidAppDataStreamsPage, ListAndroidAppDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ApiFuture futureResponse) { @@ -9258,15 +9576,12 @@ private ListAndroidAppDataStreamsPagedResponse(ListAndroidAppDataStreamsPage pag public static class ListAndroidAppDataStreamsPage extends AbstractPage< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, - AndroidAppDataStream, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, ListAndroidAppDataStreamsPage> { private ListAndroidAppDataStreamsPage( PageContext< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ListAndroidAppDataStreamsResponse response) { @@ -9280,8 +9595,7 @@ private static ListAndroidAppDataStreamsPage createEmptyPage() { @Override protected ListAndroidAppDataStreamsPage createPage( PageContext< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ListAndroidAppDataStreamsResponse response) { @@ -9291,8 +9605,7 @@ protected ListAndroidAppDataStreamsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ApiFuture futureResponse) { @@ -9302,11 +9615,8 @@ public ApiFuture createPageAsync( public static class ListAndroidAppDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, - AndroidAppDataStream, - ListAndroidAppDataStreamsPage, - ListAndroidAppDataStreamsFixedSizeCollection> { + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, + ListAndroidAppDataStreamsPage, ListAndroidAppDataStreamsFixedSizeCollection> { private ListAndroidAppDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9326,10 +9636,7 @@ protected ListAndroidAppDataStreamsFixedSizeCollection createCollection( public static class ListFirebaseLinksPagedResponse extends AbstractPagedListResponse< - ListFirebaseLinksRequest, - ListFirebaseLinksResponse, - FirebaseLink, - ListFirebaseLinksPage, + ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, ListFirebaseLinksPage, ListFirebaseLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -9350,9 +9657,7 @@ private ListFirebaseLinksPagedResponse(ListFirebaseLinksPage page) { public static class ListFirebaseLinksPage extends AbstractPage< - ListFirebaseLinksRequest, - ListFirebaseLinksResponse, - FirebaseLink, + ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, ListFirebaseLinksPage> { private ListFirebaseLinksPage( @@ -9382,10 +9687,7 @@ public ApiFuture createPageAsync( public static class ListFirebaseLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListFirebaseLinksRequest, - ListFirebaseLinksResponse, - FirebaseLink, - ListFirebaseLinksPage, + ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, ListFirebaseLinksPage, ListFirebaseLinksFixedSizeCollection> { private ListFirebaseLinksFixedSizeCollection( @@ -9406,11 +9708,8 @@ protected ListFirebaseLinksFixedSizeCollection createCollection( public static class ListGoogleAdsLinksPagedResponse extends AbstractPagedListResponse< - ListGoogleAdsLinksRequest, - ListGoogleAdsLinksResponse, - GoogleAdsLink, - ListGoogleAdsLinksPage, - ListGoogleAdsLinksFixedSizeCollection> { + ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, + ListGoogleAdsLinksPage, ListGoogleAdsLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -9430,9 +9729,7 @@ private ListGoogleAdsLinksPagedResponse(ListGoogleAdsLinksPage page) { public static class ListGoogleAdsLinksPage extends AbstractPage< - ListGoogleAdsLinksRequest, - ListGoogleAdsLinksResponse, - GoogleAdsLink, + ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, ListGoogleAdsLinksPage> { private ListGoogleAdsLinksPage( @@ -9462,11 +9759,8 @@ public ApiFuture createPageAsync( public static class ListGoogleAdsLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListGoogleAdsLinksRequest, - ListGoogleAdsLinksResponse, - GoogleAdsLink, - ListGoogleAdsLinksPage, - ListGoogleAdsLinksFixedSizeCollection> { + ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, + ListGoogleAdsLinksPage, ListGoogleAdsLinksFixedSizeCollection> { private ListGoogleAdsLinksFixedSizeCollection( List pages, int collectionSize) { @@ -9486,16 +9780,13 @@ protected ListGoogleAdsLinksFixedSizeCollection createCollection( public static class ListMeasurementProtocolSecretsPagedResponse extends AbstractPagedListResponse< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, - ListMeasurementProtocolSecretsPage, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage, ListMeasurementProtocolSecretsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ApiFuture futureResponse) { @@ -9515,15 +9806,12 @@ private ListMeasurementProtocolSecretsPagedResponse(ListMeasurementProtocolSecre public static class ListMeasurementProtocolSecretsPage extends AbstractPage< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, - ListMeasurementProtocolSecretsPage> { + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage> { private ListMeasurementProtocolSecretsPage( PageContext< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ListMeasurementProtocolSecretsResponse response) { @@ -9537,8 +9825,7 @@ private static ListMeasurementProtocolSecretsPage createEmptyPage() { @Override protected ListMeasurementProtocolSecretsPage createPage( PageContext< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ListMeasurementProtocolSecretsResponse response) { @@ -9548,8 +9835,7 @@ protected ListMeasurementProtocolSecretsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ApiFuture futureResponse) { @@ -9559,10 +9845,8 @@ public ApiFuture createPageAsync( public static class ListMeasurementProtocolSecretsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, - ListMeasurementProtocolSecretsPage, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage, ListMeasurementProtocolSecretsFixedSizeCollection> { private ListMeasurementProtocolSecretsFixedSizeCollection( @@ -9583,16 +9867,12 @@ protected ListMeasurementProtocolSecretsFixedSizeCollection createCollection( public static class SearchChangeHistoryEventsPagedResponse extends AbstractPagedListResponse< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, - ChangeHistoryEvent, - SearchChangeHistoryEventsPage, - SearchChangeHistoryEventsFixedSizeCollection> { + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, + SearchChangeHistoryEventsPage, SearchChangeHistoryEventsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, ApiFuture futureResponse) { @@ -9611,15 +9891,12 @@ private SearchChangeHistoryEventsPagedResponse(SearchChangeHistoryEventsPage pag public static class SearchChangeHistoryEventsPage extends AbstractPage< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, - ChangeHistoryEvent, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, SearchChangeHistoryEventsPage> { private SearchChangeHistoryEventsPage( PageContext< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, SearchChangeHistoryEventsResponse response) { @@ -9633,8 +9910,7 @@ private static SearchChangeHistoryEventsPage createEmptyPage() { @Override protected SearchChangeHistoryEventsPage createPage( PageContext< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, SearchChangeHistoryEventsResponse response) { @@ -9644,8 +9920,7 @@ protected SearchChangeHistoryEventsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, ApiFuture futureResponse) { @@ -9655,11 +9930,8 @@ public ApiFuture createPageAsync( public static class SearchChangeHistoryEventsFixedSizeCollection extends AbstractFixedSizeCollection< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, - ChangeHistoryEvent, - SearchChangeHistoryEventsPage, - SearchChangeHistoryEventsFixedSizeCollection> { + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, + SearchChangeHistoryEventsPage, SearchChangeHistoryEventsFixedSizeCollection> { private SearchChangeHistoryEventsFixedSizeCollection( List pages, int collectionSize) { @@ -9679,11 +9951,8 @@ protected SearchChangeHistoryEventsFixedSizeCollection createCollection( public static class ListConversionEventsPagedResponse extends AbstractPagedListResponse< - ListConversionEventsRequest, - ListConversionEventsResponse, - ConversionEvent, - ListConversionEventsPage, - ListConversionEventsFixedSizeCollection> { + ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, + ListConversionEventsPage, ListConversionEventsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9704,9 +9973,7 @@ private ListConversionEventsPagedResponse(ListConversionEventsPage page) { public static class ListConversionEventsPage extends AbstractPage< - ListConversionEventsRequest, - ListConversionEventsResponse, - ConversionEvent, + ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, ListConversionEventsPage> { private ListConversionEventsPage( @@ -9739,11 +10006,8 @@ public ApiFuture createPageAsync( public static class ListConversionEventsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversionEventsRequest, - ListConversionEventsResponse, - ConversionEvent, - ListConversionEventsPage, - ListConversionEventsFixedSizeCollection> { + ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, + ListConversionEventsPage, ListConversionEventsFixedSizeCollection> { private ListConversionEventsFixedSizeCollection( List pages, int collectionSize) { @@ -9763,17 +10027,14 @@ protected ListConversionEventsFixedSizeCollection createCollection( public static class ListDisplayVideo360AdvertiserLinksPagedResponse extends AbstractPagedListResponse< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, - ListDisplayVideo360AdvertiserLinksPage, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage, ListDisplayVideo360AdvertiserLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -9793,16 +10054,13 @@ private ListDisplayVideo360AdvertiserLinksPagedResponse( public static class ListDisplayVideo360AdvertiserLinksPage extends AbstractPage< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, - ListDisplayVideo360AdvertiserLinksPage> { + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage> { private ListDisplayVideo360AdvertiserLinksPage( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> context, ListDisplayVideo360AdvertiserLinksResponse response) { super(context, response); @@ -9816,8 +10074,7 @@ private static ListDisplayVideo360AdvertiserLinksPage createEmptyPage() { protected ListDisplayVideo360AdvertiserLinksPage createPage( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> context, ListDisplayVideo360AdvertiserLinksResponse response) { return new ListDisplayVideo360AdvertiserLinksPage(context, response); @@ -9827,8 +10084,7 @@ protected ListDisplayVideo360AdvertiserLinksPage createPage( public ApiFuture createPageAsync( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -9837,10 +10093,8 @@ public ApiFuture createPageAsync( public static class ListDisplayVideo360AdvertiserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, - ListDisplayVideo360AdvertiserLinksPage, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage, ListDisplayVideo360AdvertiserLinksFixedSizeCollection> { private ListDisplayVideo360AdvertiserLinksFixedSizeCollection( @@ -9862,8 +10116,7 @@ protected ListDisplayVideo360AdvertiserLinksFixedSizeCollection createCollection public static class ListDisplayVideo360AdvertiserLinkProposalsPagedResponse extends AbstractPagedListResponse< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, - DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage, ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> { @@ -9894,8 +10147,7 @@ private ListDisplayVideo360AdvertiserLinkProposalsPagedResponse( public static class ListDisplayVideo360AdvertiserLinkProposalsPage extends AbstractPage< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, - DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage> { private ListDisplayVideo360AdvertiserLinkProposalsPage( @@ -9938,8 +10190,7 @@ public ApiFuture createPageAsync public static class ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection extends AbstractFixedSizeCollection< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, - DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage, ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> { @@ -9963,11 +10214,8 @@ protected ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection createCo public static class ListCustomDimensionsPagedResponse extends AbstractPagedListResponse< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, - CustomDimension, - ListCustomDimensionsPage, - ListCustomDimensionsFixedSizeCollection> { + ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, + ListCustomDimensionsPage, ListCustomDimensionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9988,9 +10236,7 @@ private ListCustomDimensionsPagedResponse(ListCustomDimensionsPage page) { public static class ListCustomDimensionsPage extends AbstractPage< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, - CustomDimension, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, ListCustomDimensionsPage> { private ListCustomDimensionsPage( @@ -10023,11 +10269,8 @@ public ApiFuture createPageAsync( public static class ListCustomDimensionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, - CustomDimension, - ListCustomDimensionsPage, - ListCustomDimensionsFixedSizeCollection> { + ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, + ListCustomDimensionsPage, ListCustomDimensionsFixedSizeCollection> { private ListCustomDimensionsFixedSizeCollection( List pages, int collectionSize) { @@ -10047,10 +10290,7 @@ protected ListCustomDimensionsFixedSizeCollection createCollection( public static class ListCustomMetricsPagedResponse extends AbstractPagedListResponse< - ListCustomMetricsRequest, - ListCustomMetricsResponse, - CustomMetric, - ListCustomMetricsPage, + ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, ListCustomMetricsPage, ListCustomMetricsFixedSizeCollection> { public static ApiFuture createAsync( @@ -10071,9 +10311,7 @@ private ListCustomMetricsPagedResponse(ListCustomMetricsPage page) { public static class ListCustomMetricsPage extends AbstractPage< - ListCustomMetricsRequest, - ListCustomMetricsResponse, - CustomMetric, + ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, ListCustomMetricsPage> { private ListCustomMetricsPage( @@ -10103,10 +10341,7 @@ public ApiFuture createPageAsync( public static class ListCustomMetricsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomMetricsRequest, - ListCustomMetricsResponse, - CustomMetric, - ListCustomMetricsPage, + ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, ListCustomMetricsPage, ListCustomMetricsFixedSizeCollection> { private ListCustomMetricsFixedSizeCollection( @@ -10124,4 +10359,75 @@ protected ListCustomMetricsFixedSizeCollection createCollection( return new ListCustomMetricsFixedSizeCollection(pages, collectionSize); } } + + public static class ListDataStreamsPagedResponse + extends AbstractPagedListResponse< + ListDataStreamsRequest, ListDataStreamsResponse, DataStream, ListDataStreamsPage, + ListDataStreamsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListDataStreamsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListDataStreamsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListDataStreamsPagedResponse(ListDataStreamsPage page) { + super(page, ListDataStreamsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListDataStreamsPage + extends AbstractPage< + ListDataStreamsRequest, ListDataStreamsResponse, DataStream, ListDataStreamsPage> { + + private ListDataStreamsPage( + PageContext context, + ListDataStreamsResponse response) { + super(context, response); + } + + private static ListDataStreamsPage createEmptyPage() { + return new ListDataStreamsPage(null, null); + } + + @Override + protected ListDataStreamsPage createPage( + PageContext context, + ListDataStreamsResponse response) { + return new ListDataStreamsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListDataStreamsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListDataStreamsRequest, ListDataStreamsResponse, DataStream, ListDataStreamsPage, + ListDataStreamsFixedSizeCollection> { + + private ListDataStreamsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListDataStreamsFixedSizeCollection createEmptyCollection() { + return new ListDataStreamsFixedSizeCollection(null, 0); + } + + @Override + protected ListDataStreamsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListDataStreamsFixedSizeCollection(pages, collectionSize); + } + } } diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java similarity index 92% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index 64ef040b..77312e6b 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java @@ -23,6 +23,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse; @@ -44,6 +45,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; @@ -58,10 +60,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are + *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -118,8 +120,7 @@ public UnaryCallSettings updateAccountSettings() /** Returns the object with the settings used for calls to listAccountSummaries. */ public PagedCallSettings< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccountSummariesSettings(); @@ -256,8 +257,7 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listIosAppDataStreamsSettings(); @@ -286,28 +286,13 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) .listAndroidAppDataStreamsSettings(); } - /** Returns the object with the settings used for calls to getEnhancedMeasurementSettings. */ - public UnaryCallSettings - getEnhancedMeasurementSettingsSettings() { - return ((AnalyticsAdminServiceStubSettings) getStubSettings()) - .getEnhancedMeasurementSettingsSettings(); - } - - /** Returns the object with the settings used for calls to updateEnhancedMeasurementSettings. */ - public UnaryCallSettings - updateEnhancedMeasurementSettingsSettings() { - return ((AnalyticsAdminServiceStubSettings) getStubSettings()) - .updateEnhancedMeasurementSettingsSettings(); - } - /** Returns the object with the settings used for calls to createFirebaseLink. */ public UnaryCallSettings createFirebaseLinkSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings(); @@ -369,8 +354,7 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -398,10 +382,17 @@ public UnaryCallSettings deleteGoogleAdsLinkS .updateMeasurementProtocolSecretSettings(); } + /** Returns the object with the settings used for calls to acknowledgeUserDataCollection. */ + public UnaryCallSettings< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()) + .acknowledgeUserDataCollectionSettings(); + } + /** Returns the object with the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -441,8 +432,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listConversionEvents. */ public PagedCallSettings< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConversionEventsSettings(); @@ -457,8 +447,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -570,8 +559,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listCustomDimensions. */ public PagedCallSettings< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listCustomDimensionsSettings(); @@ -629,6 +617,33 @@ public UnaryCallSettings getCustomMetricSe .updateDataRetentionSettingsSettings(); } + /** Returns the object with the settings used for calls to createDataStream. */ + public UnaryCallSettings createDataStreamSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createDataStreamSettings(); + } + + /** Returns the object with the settings used for calls to deleteDataStream. */ + public UnaryCallSettings deleteDataStreamSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteDataStreamSettings(); + } + + /** Returns the object with the settings used for calls to updateDataStream. */ + public UnaryCallSettings updateDataStreamSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateDataStreamSettings(); + } + + /** Returns the object with the settings used for calls to listDataStreams. */ + public PagedCallSettings< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listDataStreamsSettings(); + } + + /** Returns the object with the settings used for calls to getDataStream. */ + public UnaryCallSettings getDataStreamSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getDataStreamSettings(); + } + public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub) throws IOException { return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build(); @@ -757,8 +772,7 @@ public UnaryCallSettings.Builder updateAccountSet /** Returns the builder for the settings used for calls to listAccountSummaries. */ public PagedCallSettings.Builder< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return getStubSettingsBuilder().listAccountSummariesSettings(); @@ -900,8 +914,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return getStubSettingsBuilder().listIosAppDataStreamsSettings(); @@ -927,27 +940,12 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return getStubSettingsBuilder().listAndroidAppDataStreamsSettings(); } - /** Returns the builder for the settings used for calls to getEnhancedMeasurementSettings. */ - public UnaryCallSettings.Builder< - GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - getEnhancedMeasurementSettingsSettings() { - return getStubSettingsBuilder().getEnhancedMeasurementSettingsSettings(); - } - - /** Returns the builder for the settings used for calls to updateEnhancedMeasurementSettings. */ - public UnaryCallSettings.Builder< - UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - updateEnhancedMeasurementSettingsSettings() { - return getStubSettingsBuilder().updateEnhancedMeasurementSettingsSettings(); - } - /** Returns the builder for the settings used for calls to createFirebaseLink. */ public UnaryCallSettings.Builder createFirebaseLinkSettings() { @@ -1012,8 +1010,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return getStubSettingsBuilder().listMeasurementProtocolSecretsSettings(); @@ -1039,10 +1036,16 @@ public UnaryCallSettings.Builder deleteUserLinkSet return getStubSettingsBuilder().updateMeasurementProtocolSecretSettings(); } + /** Returns the builder for the settings used for calls to acknowledgeUserDataCollection. */ + public UnaryCallSettings.Builder< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings() { + return getStubSettingsBuilder().acknowledgeUserDataCollectionSettings(); + } + /** Returns the builder for the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return getStubSettingsBuilder().searchChangeHistoryEventsSettings(); @@ -1080,8 +1083,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listConversionEvents. */ public PagedCallSettings.Builder< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return getStubSettingsBuilder().listConversionEventsSettings(); @@ -1098,8 +1100,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinksSettings(); @@ -1209,8 +1210,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listCustomDimensions. */ public PagedCallSettings.Builder< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return getStubSettingsBuilder().listCustomDimensionsSettings(); @@ -1271,6 +1271,35 @@ public UnaryCallSettings.Builder deleteUserLinkSet return getStubSettingsBuilder().updateDataRetentionSettingsSettings(); } + /** Returns the builder for the settings used for calls to createDataStream. */ + public UnaryCallSettings.Builder + createDataStreamSettings() { + return getStubSettingsBuilder().createDataStreamSettings(); + } + + /** Returns the builder for the settings used for calls to deleteDataStream. */ + public UnaryCallSettings.Builder deleteDataStreamSettings() { + return getStubSettingsBuilder().deleteDataStreamSettings(); + } + + /** Returns the builder for the settings used for calls to updateDataStream. */ + public UnaryCallSettings.Builder + updateDataStreamSettings() { + return getStubSettingsBuilder().updateDataStreamSettings(); + } + + /** Returns the builder for the settings used for calls to listDataStreams. */ + public PagedCallSettings.Builder< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings() { + return getStubSettingsBuilder().listDataStreamsSettings(); + } + + /** Returns the builder for the settings used for calls to getDataStream. */ + public UnaryCallSettings.Builder getDataStreamSettings() { + return getStubSettingsBuilder().getDataStreamSettings(); + } + @Override public AnalyticsAdminServiceSettings build() throws IOException { return new AnalyticsAdminServiceSettings(this); diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json similarity index 94% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json index a9ba9efd..aa5e992f 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json @@ -10,6 +10,9 @@ "grpc": { "libraryClient": "AnalyticsAdminServiceClient", "rpcs": { + "AcknowledgeUserDataCollection": { + "methods": ["acknowledgeUserDataCollection", "acknowledgeUserDataCollectionCallable"] + }, "ApproveDisplayVideo360AdvertiserLinkProposal": { "methods": ["approveDisplayVideo360AdvertiserLinkProposal", "approveDisplayVideo360AdvertiserLinkProposalCallable"] }, @@ -46,6 +49,9 @@ "CreateCustomMetric": { "methods": ["createCustomMetric", "createCustomMetric", "createCustomMetric", "createCustomMetricCallable"] }, + "CreateDataStream": { + "methods": ["createDataStream", "createDataStream", "createDataStream", "createDataStreamCallable"] + }, "CreateDisplayVideo360AdvertiserLink": { "methods": ["createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLinkCallable"] }, @@ -79,6 +85,9 @@ "DeleteConversionEvent": { "methods": ["deleteConversionEvent", "deleteConversionEvent", "deleteConversionEvent", "deleteConversionEventCallable"] }, + "DeleteDataStream": { + "methods": ["deleteDataStream", "deleteDataStream", "deleteDataStream", "deleteDataStreamCallable"] + }, "DeleteDisplayVideo360AdvertiserLink": { "methods": ["deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLinkCallable"] }, @@ -127,15 +136,15 @@ "GetDataSharingSettings": { "methods": ["getDataSharingSettings", "getDataSharingSettings", "getDataSharingSettings", "getDataSharingSettingsCallable"] }, + "GetDataStream": { + "methods": ["getDataStream", "getDataStream", "getDataStream", "getDataStreamCallable"] + }, "GetDisplayVideo360AdvertiserLink": { "methods": ["getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLinkCallable"] }, "GetDisplayVideo360AdvertiserLinkProposal": { "methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"] }, - "GetEnhancedMeasurementSettings": { - "methods": ["getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettingsCallable"] - }, "GetGlobalSiteTag": { "methods": ["getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTagCallable"] }, @@ -175,6 +184,9 @@ "ListCustomMetrics": { "methods": ["listCustomMetrics", "listCustomMetrics", "listCustomMetrics", "listCustomMetricsPagedCallable", "listCustomMetricsCallable"] }, + "ListDataStreams": { + "methods": ["listDataStreams", "listDataStreams", "listDataStreams", "listDataStreamsPagedCallable", "listDataStreamsCallable"] + }, "ListDisplayVideo360AdvertiserLinkProposals": { "methods": ["listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposalsPagedCallable", "listDisplayVideo360AdvertiserLinkProposalsCallable"] }, @@ -223,12 +235,12 @@ "UpdateDataRetentionSettings": { "methods": ["updateDataRetentionSettings", "updateDataRetentionSettings", "updateDataRetentionSettingsCallable"] }, + "UpdateDataStream": { + "methods": ["updateDataStream", "updateDataStream", "updateDataStreamCallable"] + }, "UpdateDisplayVideo360AdvertiserLink": { "methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"] }, - "UpdateEnhancedMeasurementSettings": { - "methods": ["updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettingsCallable"] - }, "UpdateGoogleAdsLink": { "methods": ["updateGoogleAdsLink", "updateGoogleAdsLink", "updateGoogleAdsLinkCallable"] }, diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java similarity index 100% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java similarity index 94% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java index 461983a3..f82a1ad5 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java @@ -23,6 +23,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse; @@ -35,6 +36,8 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; import com.google.analytics.admin.v1alpha.Account; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse; import com.google.analytics.admin.v1alpha.AndroidAppDataStream; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse; @@ -54,6 +57,7 @@ import com.google.analytics.admin.v1alpha.CreateConversionEventRequest; import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest; +import com.google.analytics.admin.v1alpha.CreateDataStreamRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest; @@ -66,9 +70,11 @@ import com.google.analytics.admin.v1alpha.CustomMetric; import com.google.analytics.admin.v1alpha.DataRetentionSettings; import com.google.analytics.admin.v1alpha.DataSharingSettings; +import com.google.analytics.admin.v1alpha.DataStream; import com.google.analytics.admin.v1alpha.DeleteAccountRequest; import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest; +import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest; @@ -80,7 +86,6 @@ import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; -import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest; @@ -89,9 +94,9 @@ import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest; import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest; +import com.google.analytics.admin.v1alpha.GetDataStreamRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest; import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest; @@ -115,6 +120,8 @@ import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse; import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest; import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse; +import com.google.analytics.admin.v1alpha.ListDataStreamsRequest; +import com.google.analytics.admin.v1alpha.ListDataStreamsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest; @@ -144,8 +151,8 @@ import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest; import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest; +import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest; import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest; @@ -362,18 +369,6 @@ public UnaryCallable deleteIosAppDataStrea throw new UnsupportedOperationException("Not implemented: listAndroidAppDataStreamsCallable()"); } - public UnaryCallable - getEnhancedMeasurementSettingsCallable() { - throw new UnsupportedOperationException( - "Not implemented: getEnhancedMeasurementSettingsCallable()"); - } - - public UnaryCallable - updateEnhancedMeasurementSettingsCallable() { - throw new UnsupportedOperationException( - "Not implemented: updateEnhancedMeasurementSettingsCallable()"); - } - public UnaryCallable createFirebaseLinkCallable() { throw new UnsupportedOperationException("Not implemented: createFirebaseLinkCallable()"); } @@ -461,6 +456,12 @@ public UnaryCallable deleteGoogleAdsLinkCalla "Not implemented: updateMeasurementProtocolSecretCallable()"); } + public UnaryCallable + acknowledgeUserDataCollectionCallable() { + throw new UnsupportedOperationException( + "Not implemented: acknowledgeUserDataCollectionCallable()"); + } + public UnaryCallable searchChangeHistoryEventsPagedCallable() { throw new UnsupportedOperationException( @@ -661,6 +662,31 @@ public UnaryCallable getCustomMetricCallab "Not implemented: updateDataRetentionSettingsCallable()"); } + public UnaryCallable createDataStreamCallable() { + throw new UnsupportedOperationException("Not implemented: createDataStreamCallable()"); + } + + public UnaryCallable deleteDataStreamCallable() { + throw new UnsupportedOperationException("Not implemented: deleteDataStreamCallable()"); + } + + public UnaryCallable updateDataStreamCallable() { + throw new UnsupportedOperationException("Not implemented: updateDataStreamCallable()"); + } + + public UnaryCallable + listDataStreamsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listDataStreamsPagedCallable()"); + } + + public UnaryCallable listDataStreamsCallable() { + throw new UnsupportedOperationException("Not implemented: listDataStreamsCallable()"); + } + + public UnaryCallable getDataStreamCallable() { + throw new UnsupportedOperationException("Not implemented: getDataStreamCallable()"); + } + @Override public abstract void close(); } diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java similarity index 91% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java index 15104002..a1b877c1 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java @@ -23,6 +23,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse; @@ -36,6 +37,8 @@ import com.google.analytics.admin.v1alpha.Account; import com.google.analytics.admin.v1alpha.AccountSummary; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse; import com.google.analytics.admin.v1alpha.AndroidAppDataStream; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse; @@ -57,6 +60,7 @@ import com.google.analytics.admin.v1alpha.CreateConversionEventRequest; import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest; +import com.google.analytics.admin.v1alpha.CreateDataStreamRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest; @@ -69,9 +73,11 @@ import com.google.analytics.admin.v1alpha.CustomMetric; import com.google.analytics.admin.v1alpha.DataRetentionSettings; import com.google.analytics.admin.v1alpha.DataSharingSettings; +import com.google.analytics.admin.v1alpha.DataStream; import com.google.analytics.admin.v1alpha.DeleteAccountRequest; import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest; +import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest; @@ -83,7 +89,6 @@ import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; -import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest; @@ -92,9 +97,9 @@ import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest; import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest; +import com.google.analytics.admin.v1alpha.GetDataStreamRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest; import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest; @@ -118,6 +123,8 @@ import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse; import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest; import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse; +import com.google.analytics.admin.v1alpha.ListDataStreamsRequest; +import com.google.analytics.admin.v1alpha.ListDataStreamsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest; @@ -147,8 +154,8 @@ import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest; import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest; +import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest; import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest; @@ -197,10 +204,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are + *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -246,8 +253,7 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings provisionAccountTicketSettings; private final PagedCallSettings< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings; private final UnaryCallSettings getPropertySettings; @@ -290,8 +296,7 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateIosAppDataStreamSettings; private final PagedCallSettings< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings; private final UnaryCallSettings @@ -301,16 +306,9 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateAndroidAppDataStreamSettings; private final PagedCallSettings< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings; - private final UnaryCallSettings< - GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - getEnhancedMeasurementSettingsSettings; - private final UnaryCallSettings< - UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - updateEnhancedMeasurementSettingsSettings; private final UnaryCallSettings createFirebaseLinkSettings; private final UnaryCallSettings deleteFirebaseLinkSettings; @@ -331,8 +329,7 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings getMeasurementProtocolSecretSettings; private final PagedCallSettings< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings; private final UnaryCallSettings @@ -341,9 +338,11 @@ public class AnalyticsAdminServiceStubSettings deleteMeasurementProtocolSecretSettings; private final UnaryCallSettings updateMeasurementProtocolSecretSettings; + private final UnaryCallSettings< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings; private final PagedCallSettings< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings; private final UnaryCallSettings @@ -357,16 +356,14 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings deleteConversionEventSettings; private final PagedCallSettings< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings; private final UnaryCallSettings< GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink> getDisplayVideo360AdvertiserLinkSettings; private final PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings; private final UnaryCallSettings< @@ -402,8 +399,7 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateCustomDimensionSettings; private final PagedCallSettings< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings; private final UnaryCallSettings @@ -423,6 +419,13 @@ public class AnalyticsAdminServiceStubSettings getDataRetentionSettingsSettings; private final UnaryCallSettings updateDataRetentionSettingsSettings; + private final UnaryCallSettings createDataStreamSettings; + private final UnaryCallSettings deleteDataStreamSettings; + private final UnaryCallSettings updateDataStreamSettings; + private final PagedCallSettings< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings; + private final UnaryCallSettings getDataStreamSettings; private static final PagedListDescriptor LIST_ACCOUNTS_PAGE_STR_DESC = @@ -696,8 +699,7 @@ public Iterable extractResources( ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> LIST_ANDROID_APP_DATA_STREAMS_PAGE_STR_DESC = new PagedListDescriptor< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream>() { @Override public String emptyToken() { @@ -820,13 +822,11 @@ public Iterable extractResources(ListGoogleAdsLinksResponse paylo }; private static final PagedListDescriptor< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> LIST_MEASUREMENT_PROTOCOL_SECRETS_PAGE_STR_DESC = new PagedListDescriptor< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret>() { @Override public String emptyToken() { @@ -872,8 +872,7 @@ public Iterable extractResources( SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> SEARCH_CHANGE_HISTORY_EVENTS_PAGE_STR_DESC = new PagedListDescriptor< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent>() { @Override public String emptyToken() { @@ -957,13 +956,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_DESC = new PagedListDescriptor< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink>() { @Override public String emptyToken() { @@ -1007,8 +1004,7 @@ public Iterable extractResources( private static final PagedListDescriptor< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, - DisplayVideo360AdvertiserLinkProposal> + ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_DESC = new PagedListDescriptor< ListDisplayVideo360AdvertiserLinkProposalsRequest, @@ -1137,6 +1133,45 @@ public Iterable extractResources(ListCustomMetricsResponse payload } }; + private static final PagedListDescriptor< + ListDataStreamsRequest, ListDataStreamsResponse, DataStream> + LIST_DATA_STREAMS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListDataStreamsRequest injectToken( + ListDataStreamsRequest payload, String token) { + return ListDataStreamsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListDataStreamsRequest injectPageSize( + ListDataStreamsRequest payload, int pageSize) { + return ListDataStreamsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListDataStreamsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListDataStreamsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListDataStreamsResponse payload) { + return payload.getDataStreamsList() == null + ? ImmutableList.of() + : payload.getDataStreamsList(); + } + }; + private static final PagedListResponseFactory< ListAccountsRequest, ListAccountsResponse, ListAccountsPagedResponse> LIST_ACCOUNTS_PAGE_STR_FACT = @@ -1155,13 +1190,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> LIST_ACCOUNT_SUMMARIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1234,8 +1267,7 @@ public ApiFuture getFuturePagedResponse( ListWebDataStreamsRequest, ListWebDataStreamsResponse, ListWebDataStreamsPagedResponse> LIST_WEB_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListWebDataStreamsRequest, - ListWebDataStreamsResponse, + ListWebDataStreamsRequest, ListWebDataStreamsResponse, ListWebDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1252,13 +1284,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> LIST_IOS_APP_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1276,13 +1306,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> LIST_ANDROID_APP_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1292,8 +1320,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> pageContext = PageContext.create( @@ -1307,8 +1334,7 @@ public ApiFuture getFuturePagedResponse( ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse> LIST_FIREBASE_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListFirebaseLinksRequest, - ListFirebaseLinksResponse, + ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1328,8 +1354,7 @@ public ApiFuture getFuturePagedResponse( ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse> LIST_GOOGLE_ADS_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListGoogleAdsLinksRequest, - ListGoogleAdsLinksResponse, + ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1346,13 +1371,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> LIST_MEASUREMENT_PROTOCOL_SECRETS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1364,8 +1387,7 @@ public ApiFuture getFuturePagedResp ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> pageContext = PageContext.create( @@ -1379,13 +1401,11 @@ public ApiFuture getFuturePagedResp }; private static final PagedListResponseFactory< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> SEARCH_CHANGE_HISTORY_EVENTS_PAGE_STR_FACT = new PagedListResponseFactory< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1395,8 +1415,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> pageContext = PageContext.create( @@ -1407,13 +1426,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> LIST_CONVERSION_EVENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1431,13 +1448,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse>() { @Override public ApiFuture @@ -1451,8 +1466,7 @@ public ApiFuture getFuturePagedResponse( ApiFuture futureResponse) { PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> pageContext = PageContext.create( callable, @@ -1499,13 +1513,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> LIST_CUSTOM_DIMENSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1526,8 +1538,7 @@ public ApiFuture getFuturePagedResponse( ListCustomMetricsRequest, ListCustomMetricsResponse, ListCustomMetricsPagedResponse> LIST_CUSTOM_METRICS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomMetricsRequest, - ListCustomMetricsResponse, + ListCustomMetricsRequest, ListCustomMetricsResponse, ListCustomMetricsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1543,6 +1554,23 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + LIST_DATA_STREAMS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListDataStreamsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_DATA_STREAMS_PAGE_STR_DESC, request, context); + return ListDataStreamsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + /** Returns the object with the settings used for calls to getAccount. */ public UnaryCallSettings getAccountSettings() { return getAccountSettings; @@ -1572,8 +1600,7 @@ public UnaryCallSettings updateAccountSettings() /** Returns the object with the settings used for calls to listAccountSummaries. */ public PagedCallSettings< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return listAccountSummariesSettings; @@ -1710,8 +1737,7 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return listIosAppDataStreamsSettings; @@ -1737,25 +1763,12 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return listAndroidAppDataStreamsSettings; } - /** Returns the object with the settings used for calls to getEnhancedMeasurementSettings. */ - public UnaryCallSettings - getEnhancedMeasurementSettingsSettings() { - return getEnhancedMeasurementSettingsSettings; - } - - /** Returns the object with the settings used for calls to updateEnhancedMeasurementSettings. */ - public UnaryCallSettings - updateEnhancedMeasurementSettingsSettings() { - return updateEnhancedMeasurementSettingsSettings; - } - /** Returns the object with the settings used for calls to createFirebaseLink. */ public UnaryCallSettings createFirebaseLinkSettings() { return createFirebaseLinkSettings; @@ -1816,8 +1829,7 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return listMeasurementProtocolSecretsSettings; @@ -1841,10 +1853,16 @@ public UnaryCallSettings deleteGoogleAdsLinkS return updateMeasurementProtocolSecretSettings; } + /** Returns the object with the settings used for calls to acknowledgeUserDataCollection. */ + public UnaryCallSettings< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings() { + return acknowledgeUserDataCollectionSettings; + } + /** Returns the object with the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return searchChangeHistoryEventsSettings; @@ -1881,8 +1899,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listConversionEvents. */ public PagedCallSettings< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return listConversionEventsSettings; @@ -1896,8 +1913,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return listDisplayVideo360AdvertiserLinksSettings; @@ -1999,8 +2015,7 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listCustomDimensions. */ public PagedCallSettings< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return listCustomDimensionsSettings; @@ -2056,6 +2071,33 @@ public UnaryCallSettings getCustomMetricSe return updateDataRetentionSettingsSettings; } + /** Returns the object with the settings used for calls to createDataStream. */ + public UnaryCallSettings createDataStreamSettings() { + return createDataStreamSettings; + } + + /** Returns the object with the settings used for calls to deleteDataStream. */ + public UnaryCallSettings deleteDataStreamSettings() { + return deleteDataStreamSettings; + } + + /** Returns the object with the settings used for calls to updateDataStream. */ + public UnaryCallSettings updateDataStreamSettings() { + return updateDataStreamSettings; + } + + /** Returns the object with the settings used for calls to listDataStreams. */ + public PagedCallSettings< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings() { + return listDataStreamsSettings; + } + + /** Returns the object with the settings used for calls to getDataStream. */ + public UnaryCallSettings getDataStreamSettings() { + return getDataStreamSettings; + } + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AnalyticsAdminServiceStub createStub() throws IOException { if (getTransportChannelProvider() @@ -2168,10 +2210,6 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx updateAndroidAppDataStreamSettings = settingsBuilder.updateAndroidAppDataStreamSettings().build(); listAndroidAppDataStreamsSettings = settingsBuilder.listAndroidAppDataStreamsSettings().build(); - getEnhancedMeasurementSettingsSettings = - settingsBuilder.getEnhancedMeasurementSettingsSettings().build(); - updateEnhancedMeasurementSettingsSettings = - settingsBuilder.updateEnhancedMeasurementSettingsSettings().build(); createFirebaseLinkSettings = settingsBuilder.createFirebaseLinkSettings().build(); deleteFirebaseLinkSettings = settingsBuilder.deleteFirebaseLinkSettings().build(); listFirebaseLinksSettings = settingsBuilder.listFirebaseLinksSettings().build(); @@ -2191,6 +2229,8 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx settingsBuilder.deleteMeasurementProtocolSecretSettings().build(); updateMeasurementProtocolSecretSettings = settingsBuilder.updateMeasurementProtocolSecretSettings().build(); + acknowledgeUserDataCollectionSettings = + settingsBuilder.acknowledgeUserDataCollectionSettings().build(); searchChangeHistoryEventsSettings = settingsBuilder.searchChangeHistoryEventsSettings().build(); getGoogleSignalsSettingsSettings = settingsBuilder.getGoogleSignalsSettingsSettings().build(); updateGoogleSignalsSettingsSettings = @@ -2234,6 +2274,11 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx getDataRetentionSettingsSettings = settingsBuilder.getDataRetentionSettingsSettings().build(); updateDataRetentionSettingsSettings = settingsBuilder.updateDataRetentionSettingsSettings().build(); + createDataStreamSettings = settingsBuilder.createDataStreamSettings().build(); + deleteDataStreamSettings = settingsBuilder.deleteDataStreamSettings().build(); + updateDataStreamSettings = settingsBuilder.updateDataStreamSettings().build(); + listDataStreamsSettings = settingsBuilder.listDataStreamsSettings().build(); + getDataStreamSettings = settingsBuilder.getDataStreamSettings().build(); } /** Builder for AnalyticsAdminServiceStubSettings. */ @@ -2250,8 +2295,7 @@ public static class Builder ProvisionAccountTicketRequest, ProvisionAccountTicketResponse> provisionAccountTicketSettings; private final PagedCallSettings.Builder< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings; private final UnaryCallSettings.Builder getPropertySettings; @@ -2299,8 +2343,7 @@ public static class Builder private final UnaryCallSettings.Builder updateIosAppDataStreamSettings; private final PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings; private final UnaryCallSettings.Builder @@ -2310,16 +2353,9 @@ public static class Builder private final UnaryCallSettings.Builder updateAndroidAppDataStreamSettings; private final PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings; - private final UnaryCallSettings.Builder< - GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - getEnhancedMeasurementSettingsSettings; - private final UnaryCallSettings.Builder< - UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - updateEnhancedMeasurementSettingsSettings; private final UnaryCallSettings.Builder createFirebaseLinkSettings; private final UnaryCallSettings.Builder @@ -2344,8 +2380,7 @@ public static class Builder GetMeasurementProtocolSecretRequest, MeasurementProtocolSecret> getMeasurementProtocolSecretSettings; private final PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings; private final UnaryCallSettings.Builder< @@ -2356,9 +2391,11 @@ public static class Builder private final UnaryCallSettings.Builder< UpdateMeasurementProtocolSecretRequest, MeasurementProtocolSecret> updateMeasurementProtocolSecretSettings; + private final UnaryCallSettings.Builder< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings; private final PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings; private final UnaryCallSettings.Builder @@ -2373,16 +2410,14 @@ public static class Builder private final UnaryCallSettings.Builder deleteConversionEventSettings; private final PagedCallSettings.Builder< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings; private final UnaryCallSettings.Builder< GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink> getDisplayVideo360AdvertiserLinkSettings; private final PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings; private final UnaryCallSettings.Builder< @@ -2421,8 +2456,7 @@ public static class Builder private final UnaryCallSettings.Builder updateCustomDimensionSettings; private final PagedCallSettings.Builder< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings; private final UnaryCallSettings.Builder @@ -2445,6 +2479,16 @@ public static class Builder private final UnaryCallSettings.Builder< UpdateDataRetentionSettingsRequest, DataRetentionSettings> updateDataRetentionSettingsSettings; + private final UnaryCallSettings.Builder + createDataStreamSettings; + private final UnaryCallSettings.Builder + deleteDataStreamSettings; + private final UnaryCallSettings.Builder + updateDataStreamSettings; + private final PagedCallSettings.Builder< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings; + private final UnaryCallSettings.Builder getDataStreamSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -2533,8 +2577,6 @@ protected Builder(ClientContext clientContext) { updateAndroidAppDataStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listAndroidAppDataStreamsSettings = PagedCallSettings.newBuilder(LIST_ANDROID_APP_DATA_STREAMS_PAGE_STR_FACT); - getEnhancedMeasurementSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - updateEnhancedMeasurementSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createFirebaseLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteFirebaseLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listFirebaseLinksSettings = PagedCallSettings.newBuilder(LIST_FIREBASE_LINKS_PAGE_STR_FACT); @@ -2551,6 +2593,7 @@ protected Builder(ClientContext clientContext) { createMeasurementProtocolSecretSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteMeasurementProtocolSecretSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateMeasurementProtocolSecretSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + acknowledgeUserDataCollectionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); searchChangeHistoryEventsSettings = PagedCallSettings.newBuilder(SEARCH_CHANGE_HISTORY_EVENTS_PAGE_STR_FACT); getGoogleSignalsSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -2592,6 +2635,11 @@ protected Builder(ClientContext clientContext) { getCustomMetricSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getDataRetentionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateDataRetentionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createDataStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteDataStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateDataStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listDataStreamsSettings = PagedCallSettings.newBuilder(LIST_DATA_STREAMS_PAGE_STR_FACT); + getDataStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -2629,8 +2677,6 @@ protected Builder(ClientContext clientContext) { deleteAndroidAppDataStreamSettings, updateAndroidAppDataStreamSettings, listAndroidAppDataStreamsSettings, - getEnhancedMeasurementSettingsSettings, - updateEnhancedMeasurementSettingsSettings, createFirebaseLinkSettings, deleteFirebaseLinkSettings, listFirebaseLinksSettings, @@ -2645,6 +2691,7 @@ protected Builder(ClientContext clientContext) { createMeasurementProtocolSecretSettings, deleteMeasurementProtocolSecretSettings, updateMeasurementProtocolSecretSettings, + acknowledgeUserDataCollectionSettings, searchChangeHistoryEventsSettings, getGoogleSignalsSettingsSettings, updateGoogleSignalsSettingsSettings, @@ -2674,7 +2721,12 @@ protected Builder(ClientContext clientContext) { archiveCustomMetricSettings, getCustomMetricSettings, getDataRetentionSettingsSettings, - updateDataRetentionSettingsSettings); + updateDataRetentionSettingsSettings, + createDataStreamSettings, + deleteDataStreamSettings, + updateDataStreamSettings, + listDataStreamsSettings, + getDataStreamSettings); initDefaults(this); } @@ -2715,10 +2767,6 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { deleteAndroidAppDataStreamSettings = settings.deleteAndroidAppDataStreamSettings.toBuilder(); updateAndroidAppDataStreamSettings = settings.updateAndroidAppDataStreamSettings.toBuilder(); listAndroidAppDataStreamsSettings = settings.listAndroidAppDataStreamsSettings.toBuilder(); - getEnhancedMeasurementSettingsSettings = - settings.getEnhancedMeasurementSettingsSettings.toBuilder(); - updateEnhancedMeasurementSettingsSettings = - settings.updateEnhancedMeasurementSettingsSettings.toBuilder(); createFirebaseLinkSettings = settings.createFirebaseLinkSettings.toBuilder(); deleteFirebaseLinkSettings = settings.deleteFirebaseLinkSettings.toBuilder(); listFirebaseLinksSettings = settings.listFirebaseLinksSettings.toBuilder(); @@ -2738,6 +2786,8 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { settings.deleteMeasurementProtocolSecretSettings.toBuilder(); updateMeasurementProtocolSecretSettings = settings.updateMeasurementProtocolSecretSettings.toBuilder(); + acknowledgeUserDataCollectionSettings = + settings.acknowledgeUserDataCollectionSettings.toBuilder(); searchChangeHistoryEventsSettings = settings.searchChangeHistoryEventsSettings.toBuilder(); getGoogleSignalsSettingsSettings = settings.getGoogleSignalsSettingsSettings.toBuilder(); updateGoogleSignalsSettingsSettings = @@ -2781,6 +2831,11 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { getDataRetentionSettingsSettings = settings.getDataRetentionSettingsSettings.toBuilder(); updateDataRetentionSettingsSettings = settings.updateDataRetentionSettingsSettings.toBuilder(); + createDataStreamSettings = settings.createDataStreamSettings.toBuilder(); + deleteDataStreamSettings = settings.deleteDataStreamSettings.toBuilder(); + updateDataStreamSettings = settings.updateDataStreamSettings.toBuilder(); + listDataStreamsSettings = settings.listDataStreamsSettings.toBuilder(); + getDataStreamSettings = settings.getDataStreamSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -2818,8 +2873,6 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { deleteAndroidAppDataStreamSettings, updateAndroidAppDataStreamSettings, listAndroidAppDataStreamsSettings, - getEnhancedMeasurementSettingsSettings, - updateEnhancedMeasurementSettingsSettings, createFirebaseLinkSettings, deleteFirebaseLinkSettings, listFirebaseLinksSettings, @@ -2834,6 +2887,7 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { createMeasurementProtocolSecretSettings, deleteMeasurementProtocolSecretSettings, updateMeasurementProtocolSecretSettings, + acknowledgeUserDataCollectionSettings, searchChangeHistoryEventsSettings, getGoogleSignalsSettingsSettings, updateGoogleSignalsSettingsSettings, @@ -2863,7 +2917,12 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { archiveCustomMetricSettings, getCustomMetricSettings, getDataRetentionSettingsSettings, - updateDataRetentionSettingsSettings); + updateDataRetentionSettingsSettings, + createDataStreamSettings, + deleteDataStreamSettings, + updateDataStreamSettings, + listDataStreamsSettings, + getDataStreamSettings); } private static Builder createDefault() { @@ -3050,16 +3109,6 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - builder - .getEnhancedMeasurementSettingsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .updateEnhancedMeasurementSettingsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - builder .createFirebaseLinkSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -3130,6 +3179,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .acknowledgeUserDataCollectionSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .searchChangeHistoryEventsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -3280,6 +3334,31 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .createDataStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deleteDataStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updateDataStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listDataStreamsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getDataStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + return builder; } @@ -3328,8 +3407,7 @@ public UnaryCallSettings.Builder updateAccountSet /** Returns the builder for the settings used for calls to listAccountSummaries. */ public PagedCallSettings.Builder< - ListAccountSummariesRequest, - ListAccountSummariesResponse, + ListAccountSummariesRequest, ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return listAccountSummariesSettings; @@ -3471,8 +3549,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, - ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return listIosAppDataStreamsSettings; @@ -3498,27 +3575,12 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, - ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return listAndroidAppDataStreamsSettings; } - /** Returns the builder for the settings used for calls to getEnhancedMeasurementSettings. */ - public UnaryCallSettings.Builder< - GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - getEnhancedMeasurementSettingsSettings() { - return getEnhancedMeasurementSettingsSettings; - } - - /** Returns the builder for the settings used for calls to updateEnhancedMeasurementSettings. */ - public UnaryCallSettings.Builder< - UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - updateEnhancedMeasurementSettingsSettings() { - return updateEnhancedMeasurementSettingsSettings; - } - /** Returns the builder for the settings used for calls to createFirebaseLink. */ public UnaryCallSettings.Builder createFirebaseLinkSettings() { @@ -3583,8 +3645,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, - ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return listMeasurementProtocolSecretsSettings; @@ -3610,10 +3671,16 @@ public UnaryCallSettings.Builder deleteUserLinkSet return updateMeasurementProtocolSecretSettings; } + /** Returns the builder for the settings used for calls to acknowledgeUserDataCollection. */ + public UnaryCallSettings.Builder< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionSettings() { + return acknowledgeUserDataCollectionSettings; + } + /** Returns the builder for the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, - SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return searchChangeHistoryEventsSettings; @@ -3651,8 +3718,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listConversionEvents. */ public PagedCallSettings.Builder< - ListConversionEventsRequest, - ListConversionEventsResponse, + ListConversionEventsRequest, ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return listConversionEventsSettings; @@ -3669,8 +3735,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return listDisplayVideo360AdvertiserLinksSettings; @@ -3780,8 +3845,7 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listCustomDimensions. */ public PagedCallSettings.Builder< - ListCustomDimensionsRequest, - ListCustomDimensionsResponse, + ListCustomDimensionsRequest, ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return listCustomDimensionsSettings; @@ -3842,6 +3906,35 @@ public UnaryCallSettings.Builder deleteUserLinkSet return updateDataRetentionSettingsSettings; } + /** Returns the builder for the settings used for calls to createDataStream. */ + public UnaryCallSettings.Builder + createDataStreamSettings() { + return createDataStreamSettings; + } + + /** Returns the builder for the settings used for calls to deleteDataStream. */ + public UnaryCallSettings.Builder deleteDataStreamSettings() { + return deleteDataStreamSettings; + } + + /** Returns the builder for the settings used for calls to updateDataStream. */ + public UnaryCallSettings.Builder + updateDataStreamSettings() { + return updateDataStreamSettings; + } + + /** Returns the builder for the settings used for calls to listDataStreams. */ + public PagedCallSettings.Builder< + ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse> + listDataStreamsSettings() { + return listDataStreamsSettings; + } + + /** Returns the builder for the settings used for calls to getDataStream. */ + public UnaryCallSettings.Builder getDataStreamSettings() { + return getDataStreamSettings; + } + @Override public AnalyticsAdminServiceStubSettings build() throws IOException { return new AnalyticsAdminServiceStubSettings(this); diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java similarity index 94% rename from google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index 3735db15..b26c5fc3 100644 --- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java @@ -23,6 +23,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse; @@ -35,6 +36,8 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; import com.google.analytics.admin.v1alpha.Account; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest; +import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse; import com.google.analytics.admin.v1alpha.AndroidAppDataStream; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse; @@ -54,6 +57,7 @@ import com.google.analytics.admin.v1alpha.CreateConversionEventRequest; import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest; +import com.google.analytics.admin.v1alpha.CreateDataStreamRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest; @@ -66,9 +70,11 @@ import com.google.analytics.admin.v1alpha.CustomMetric; import com.google.analytics.admin.v1alpha.DataRetentionSettings; import com.google.analytics.admin.v1alpha.DataSharingSettings; +import com.google.analytics.admin.v1alpha.DataStream; import com.google.analytics.admin.v1alpha.DeleteAccountRequest; import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest; +import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest; import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest; @@ -80,7 +86,6 @@ import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; -import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest; @@ -89,9 +94,9 @@ import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest; import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest; +import com.google.analytics.admin.v1alpha.GetDataStreamRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest; import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest; @@ -115,6 +120,8 @@ import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse; import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest; import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse; +import com.google.analytics.admin.v1alpha.ListDataStreamsRequest; +import com.google.analytics.admin.v1alpha.ListDataStreamsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse; import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest; @@ -144,8 +151,8 @@ import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest; import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest; import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest; +import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest; import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest; -import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest; @@ -168,6 +175,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -559,35 +567,6 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { ProtoUtils.marshaller(ListAndroidAppDataStreamsResponse.getDefaultInstance())) .build(); - private static final MethodDescriptor< - GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - getEnhancedMeasurementSettingsMethodDescriptor = - MethodDescriptor - .newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.analytics.admin.v1alpha.AnalyticsAdminService/GetEnhancedMeasurementSettings") - .setRequestMarshaller( - ProtoUtils.marshaller(GetEnhancedMeasurementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(EnhancedMeasurementSettings.getDefaultInstance())) - .build(); - - private static final MethodDescriptor< - UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings> - updateEnhancedMeasurementSettingsMethodDescriptor = - MethodDescriptor - .newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateEnhancedMeasurementSettings") - .setRequestMarshaller( - ProtoUtils.marshaller( - UpdateEnhancedMeasurementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(EnhancedMeasurementSettings.getDefaultInstance())) - .build(); - private static final MethodDescriptor createFirebaseLinkMethodDescriptor = MethodDescriptor.newBuilder() @@ -762,6 +741,21 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { ProtoUtils.marshaller(MeasurementProtocolSecret.getDefaultInstance())) .build(); + private static final MethodDescriptor< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/AcknowledgeUserDataCollection") + .setRequestMarshaller( + ProtoUtils.marshaller(AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor< SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse> searchChangeHistoryEventsMethodDescriptor = @@ -1159,6 +1153,62 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { ProtoUtils.marshaller(DataRetentionSettings.getDefaultInstance())) .build(); + private static final MethodDescriptor + createDataStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDataStream") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(DataStream.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteDataStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDataStream") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateDataStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDataStream") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(DataStream.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listDataStreamsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/ListDataStreams") + .setRequestMarshaller( + ProtoUtils.marshaller(ListDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListDataStreamsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getDataStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetDataStream") + .setRequestMarshaller( + ProtoUtils.marshaller(GetDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(DataStream.getDefaultInstance())) + .build(); + private final UnaryCallable getAccountCallable; private final UnaryCallable listAccountsCallable; private final UnaryCallable @@ -1225,10 +1275,6 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { private final UnaryCallable< ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsPagedCallable; - private final UnaryCallable - getEnhancedMeasurementSettingsCallable; - private final UnaryCallable - updateEnhancedMeasurementSettingsCallable; private final UnaryCallable createFirebaseLinkCallable; private final UnaryCallable deleteFirebaseLinkCallable; private final UnaryCallable @@ -1261,6 +1307,9 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { deleteMeasurementProtocolSecretCallable; private final UnaryCallable updateMeasurementProtocolSecretCallable; + private final UnaryCallable< + AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollectionCallable; private final UnaryCallable searchChangeHistoryEventsCallable; private final UnaryCallable< @@ -1343,6 +1392,14 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { getDataRetentionSettingsCallable; private final UnaryCallable updateDataRetentionSettingsCallable; + private final UnaryCallable createDataStreamCallable; + private final UnaryCallable deleteDataStreamCallable; + private final UnaryCallable updateDataStreamCallable; + private final UnaryCallable + listDataStreamsCallable; + private final UnaryCallable + listDataStreamsPagedCallable; + private final UnaryCallable getDataStreamCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -1724,32 +1781,6 @@ protected GrpcAnalyticsAdminServiceStub( return params.build(); }) .build(); - GrpcCallSettings - getEnhancedMeasurementSettingsTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(getEnhancedMeasurementSettingsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - updateEnhancedMeasurementSettingsTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(updateEnhancedMeasurementSettingsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( - "enhanced_measurement_settings.name", - String.valueOf(request.getEnhancedMeasurementSettings().getName())); - return params.build(); - }) - .build(); GrpcCallSettings createFirebaseLinkTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createFirebaseLinkMethodDescriptor) @@ -1909,6 +1940,19 @@ protected GrpcAnalyticsAdminServiceStub( return params.build(); }) .build(); + GrpcCallSettings + acknowledgeUserDataCollectionTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(acknowledgeUserDataCollectionMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("property", String.valueOf(request.getProperty())); + return params.build(); + }) + .build(); GrpcCallSettings searchChangeHistoryEventsTransportSettings = GrpcCallSettings @@ -2277,6 +2321,57 @@ protected GrpcAnalyticsAdminServiceStub( return params.build(); }) .build(); + GrpcCallSettings createDataStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createDataStreamMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteDataStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteDataStreamMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings updateDataStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateDataStreamMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("data_stream.name", String.valueOf(request.getDataStream().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listDataStreamsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listDataStreamsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getDataStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getDataStreamMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); this.getAccountCallable = callableFactory.createUnaryCallable( @@ -2448,16 +2543,6 @@ protected GrpcAnalyticsAdminServiceStub( listAndroidAppDataStreamsTransportSettings, settings.listAndroidAppDataStreamsSettings(), clientContext); - this.getEnhancedMeasurementSettingsCallable = - callableFactory.createUnaryCallable( - getEnhancedMeasurementSettingsTransportSettings, - settings.getEnhancedMeasurementSettingsSettings(), - clientContext); - this.updateEnhancedMeasurementSettingsCallable = - callableFactory.createUnaryCallable( - updateEnhancedMeasurementSettingsTransportSettings, - settings.updateEnhancedMeasurementSettingsSettings(), - clientContext); this.createFirebaseLinkCallable = callableFactory.createUnaryCallable( createFirebaseLinkTransportSettings, @@ -2541,6 +2626,11 @@ protected GrpcAnalyticsAdminServiceStub( updateMeasurementProtocolSecretTransportSettings, settings.updateMeasurementProtocolSecretSettings(), clientContext); + this.acknowledgeUserDataCollectionCallable = + callableFactory.createUnaryCallable( + acknowledgeUserDataCollectionTransportSettings, + settings.acknowledgeUserDataCollectionSettings(), + clientContext); this.searchChangeHistoryEventsCallable = callableFactory.createUnaryCallable( searchChangeHistoryEventsTransportSettings, @@ -2719,6 +2809,24 @@ protected GrpcAnalyticsAdminServiceStub( updateDataRetentionSettingsTransportSettings, settings.updateDataRetentionSettingsSettings(), clientContext); + this.createDataStreamCallable = + callableFactory.createUnaryCallable( + createDataStreamTransportSettings, settings.createDataStreamSettings(), clientContext); + this.deleteDataStreamCallable = + callableFactory.createUnaryCallable( + deleteDataStreamTransportSettings, settings.deleteDataStreamSettings(), clientContext); + this.updateDataStreamCallable = + callableFactory.createUnaryCallable( + updateDataStreamTransportSettings, settings.updateDataStreamSettings(), clientContext); + this.listDataStreamsCallable = + callableFactory.createUnaryCallable( + listDataStreamsTransportSettings, settings.listDataStreamsSettings(), clientContext); + this.listDataStreamsPagedCallable = + callableFactory.createPagedCallable( + listDataStreamsTransportSettings, settings.listDataStreamsSettings(), clientContext); + this.getDataStreamCallable = + callableFactory.createUnaryCallable( + getDataStreamTransportSettings, settings.getDataStreamSettings(), clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -2957,18 +3065,6 @@ public UnaryCallable deleteIosAppDataStrea return listAndroidAppDataStreamsPagedCallable; } - @Override - public UnaryCallable - getEnhancedMeasurementSettingsCallable() { - return getEnhancedMeasurementSettingsCallable; - } - - @Override - public UnaryCallable - updateEnhancedMeasurementSettingsCallable() { - return updateEnhancedMeasurementSettingsCallable; - } - @Override public UnaryCallable createFirebaseLinkCallable() { return createFirebaseLinkCallable; @@ -3067,6 +3163,12 @@ public UnaryCallable deleteGoogleAdsLinkCalla return updateMeasurementProtocolSecretCallable; } + @Override + public UnaryCallable + acknowledgeUserDataCollectionCallable() { + return acknowledgeUserDataCollectionCallable; + } + @Override public UnaryCallable searchChangeHistoryEventsCallable() { @@ -3287,6 +3389,37 @@ public UnaryCallable getCustomMetricCallab return updateDataRetentionSettingsCallable; } + @Override + public UnaryCallable createDataStreamCallable() { + return createDataStreamCallable; + } + + @Override + public UnaryCallable deleteDataStreamCallable() { + return deleteDataStreamCallable; + } + + @Override + public UnaryCallable updateDataStreamCallable() { + return updateDataStreamCallable; + } + + @Override + public UnaryCallable listDataStreamsCallable() { + return listDataStreamsCallable; + } + + @Override + public UnaryCallable + listDataStreamsPagedCallable() { + return listDataStreamsPagedCallable; + } + + @Override + public UnaryCallable getDataStreamCallable() { + return getDataStreamCallable; + } + @Override public final void close() { try { diff --git a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java similarity index 94% rename from google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java index 8557eb65..de3834cb 100644 --- a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java @@ -23,6 +23,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse; @@ -473,6 +474,7 @@ public void getPropertyTest() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -521,6 +523,7 @@ public void getPropertyTest2() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -628,6 +631,7 @@ public void createPropertyTest() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -676,6 +680,7 @@ public void deletePropertyTest() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -724,6 +729,7 @@ public void deletePropertyTest2() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -772,6 +778,7 @@ public void updatePropertyTest() throws Exception { .setServiceLevel(ServiceLevel.forNumber(0)) .setDeleteTime(Timestamp.newBuilder().build()) .setExpireTime(Timestamp.newBuilder().build()) + .setAccount(AccountName.of("[ACCOUNT]").toString()) .build(); mockAnalyticsAdminService.addResponse(expectedResponse); @@ -2484,168 +2491,6 @@ public void listAndroidAppDataStreamsExceptionTest2() throws Exception { } } - @Test - public void getEnhancedMeasurementSettingsTest() throws Exception { - EnhancedMeasurementSettings expectedResponse = - EnhancedMeasurementSettings.newBuilder() - .setName( - EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString()) - .setStreamEnabled(true) - .setPageViewsEnabled(true) - .setScrollsEnabled(true) - .setOutboundClicksEnabled(true) - .setSiteSearchEnabled(true) - .setVideoEngagementEnabled(true) - .setFileDownloadsEnabled(true) - .setPageLoadsEnabled(true) - .setPageChangesEnabled(true) - .setSearchQueryParameter("searchQueryParameter-2012788855") - .setUriQueryParameter("uriQueryParameter1580843085") - .build(); - mockAnalyticsAdminService.addResponse(expectedResponse); - - EnhancedMeasurementSettingsName name = - EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]"); - - EnhancedMeasurementSettings actualResponse = client.getEnhancedMeasurementSettings(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAnalyticsAdminService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetEnhancedMeasurementSettingsRequest actualRequest = - ((GetEnhancedMeasurementSettingsRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getEnhancedMeasurementSettingsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAnalyticsAdminService.addException(exception); - - try { - EnhancedMeasurementSettingsName name = - EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]"); - client.getEnhancedMeasurementSettings(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getEnhancedMeasurementSettingsTest2() throws Exception { - EnhancedMeasurementSettings expectedResponse = - EnhancedMeasurementSettings.newBuilder() - .setName( - EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString()) - .setStreamEnabled(true) - .setPageViewsEnabled(true) - .setScrollsEnabled(true) - .setOutboundClicksEnabled(true) - .setSiteSearchEnabled(true) - .setVideoEngagementEnabled(true) - .setFileDownloadsEnabled(true) - .setPageLoadsEnabled(true) - .setPageChangesEnabled(true) - .setSearchQueryParameter("searchQueryParameter-2012788855") - .setUriQueryParameter("uriQueryParameter1580843085") - .build(); - mockAnalyticsAdminService.addResponse(expectedResponse); - - String name = "name3373707"; - - EnhancedMeasurementSettings actualResponse = client.getEnhancedMeasurementSettings(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAnalyticsAdminService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetEnhancedMeasurementSettingsRequest actualRequest = - ((GetEnhancedMeasurementSettingsRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getEnhancedMeasurementSettingsExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAnalyticsAdminService.addException(exception); - - try { - String name = "name3373707"; - client.getEnhancedMeasurementSettings(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void updateEnhancedMeasurementSettingsTest() throws Exception { - EnhancedMeasurementSettings expectedResponse = - EnhancedMeasurementSettings.newBuilder() - .setName( - EnhancedMeasurementSettingsName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString()) - .setStreamEnabled(true) - .setPageViewsEnabled(true) - .setScrollsEnabled(true) - .setOutboundClicksEnabled(true) - .setSiteSearchEnabled(true) - .setVideoEngagementEnabled(true) - .setFileDownloadsEnabled(true) - .setPageLoadsEnabled(true) - .setPageChangesEnabled(true) - .setSearchQueryParameter("searchQueryParameter-2012788855") - .setUriQueryParameter("uriQueryParameter1580843085") - .build(); - mockAnalyticsAdminService.addResponse(expectedResponse); - - EnhancedMeasurementSettings enhancedMeasurementSettings = - EnhancedMeasurementSettings.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - - EnhancedMeasurementSettings actualResponse = - client.updateEnhancedMeasurementSettings(enhancedMeasurementSettings, updateMask); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAnalyticsAdminService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - UpdateEnhancedMeasurementSettingsRequest actualRequest = - ((UpdateEnhancedMeasurementSettingsRequest) actualRequests.get(0)); - - Assert.assertEquals( - enhancedMeasurementSettings, actualRequest.getEnhancedMeasurementSettings()); - Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void updateEnhancedMeasurementSettingsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAnalyticsAdminService.addException(exception); - - try { - EnhancedMeasurementSettings enhancedMeasurementSettings = - EnhancedMeasurementSettings.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - client.updateEnhancedMeasurementSettings(enhancedMeasurementSettings, updateMask); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - @Test public void createFirebaseLinkTest() throws Exception { FirebaseLink expectedResponse = @@ -3761,6 +3606,53 @@ public void updateMeasurementProtocolSecretExceptionTest() throws Exception { } } + @Test + public void acknowledgeUserDataCollectionTest() throws Exception { + AcknowledgeUserDataCollectionResponse expectedResponse = + AcknowledgeUserDataCollectionResponse.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + AcknowledgeUserDataCollectionRequest request = + AcknowledgeUserDataCollectionRequest.newBuilder() + .setProperty(PropertyName.of("[PROPERTY]").toString()) + .setAcknowledgement("acknowledgement1769490938") + .build(); + + AcknowledgeUserDataCollectionResponse actualResponse = + client.acknowledgeUserDataCollection(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + AcknowledgeUserDataCollectionRequest actualRequest = + ((AcknowledgeUserDataCollectionRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProperty(), actualRequest.getProperty()); + Assert.assertEquals(request.getAcknowledgement(), actualRequest.getAcknowledgement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void acknowledgeUserDataCollectionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + AcknowledgeUserDataCollectionRequest request = + AcknowledgeUserDataCollectionRequest.newBuilder() + .setProperty(PropertyName.of("[PROPERTY]").toString()) + .setAcknowledgement("acknowledgement1769490938") + .build(); + client.acknowledgeUserDataCollection(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void searchChangeHistoryEventsTest() throws Exception { ChangeHistoryEvent responsesElement = ChangeHistoryEvent.newBuilder().build(); @@ -6111,4 +6003,374 @@ public void updateDataRetentionSettingsExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void createDataStreamTest() throws Exception { + DataStream expectedResponse = + DataStream.newBuilder() + .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + DataStream dataStream = DataStream.newBuilder().build(); + + DataStream actualResponse = client.createDataStream(parent, dataStream); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDataStreamRequest actualRequest = ((CreateDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(dataStream, actualRequest.getDataStream()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDataStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + DataStream dataStream = DataStream.newBuilder().build(); + client.createDataStream(parent, dataStream); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDataStreamTest2() throws Exception { + DataStream expectedResponse = + DataStream.newBuilder() + .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + DataStream dataStream = DataStream.newBuilder().build(); + + DataStream actualResponse = client.createDataStream(parent, dataStream); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDataStreamRequest actualRequest = ((CreateDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(dataStream, actualRequest.getDataStream()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDataStreamExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String parent = "parent-995424086"; + DataStream dataStream = DataStream.newBuilder().build(); + client.createDataStream(parent, dataStream); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteDataStreamTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]"); + + client.deleteDataStream(name); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteDataStreamRequest actualRequest = ((DeleteDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteDataStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]"); + client.deleteDataStream(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteDataStreamTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteDataStream(name); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteDataStreamRequest actualRequest = ((DeleteDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteDataStreamExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.deleteDataStream(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateDataStreamTest() throws Exception { + DataStream expectedResponse = + DataStream.newBuilder() + .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + DataStream dataStream = DataStream.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + DataStream actualResponse = client.updateDataStream(dataStream, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDataStreamRequest actualRequest = ((UpdateDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(dataStream, actualRequest.getDataStream()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDataStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + DataStream dataStream = DataStream.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateDataStream(dataStream, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDataStreamsTest() throws Exception { + DataStream responsesElement = DataStream.newBuilder().build(); + ListDataStreamsResponse expectedResponse = + ListDataStreamsResponse.newBuilder() + .setNextPageToken("") + .addAllDataStreams(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + + ListDataStreamsPagedResponse pagedListResponse = client.listDataStreams(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDataStreamsList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDataStreamsRequest actualRequest = ((ListDataStreamsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDataStreamsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + client.listDataStreams(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDataStreamsTest2() throws Exception { + DataStream responsesElement = DataStream.newBuilder().build(); + ListDataStreamsResponse expectedResponse = + ListDataStreamsResponse.newBuilder() + .setNextPageToken("") + .addAllDataStreams(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDataStreamsPagedResponse pagedListResponse = client.listDataStreams(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDataStreamsList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDataStreamsRequest actualRequest = ((ListDataStreamsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDataStreamsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDataStreams(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDataStreamTest() throws Exception { + DataStream expectedResponse = + DataStream.newBuilder() + .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]"); + + DataStream actualResponse = client.getDataStream(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDataStreamRequest actualRequest = ((GetDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDataStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + DataStreamName name = DataStreamName.of("[PROPERTY]", "[DATA_STREAM]"); + client.getDataStream(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDataStreamTest2() throws Exception { + DataStream expectedResponse = + DataStream.newBuilder() + .setName(DataStreamName.of("[PROPERTY]", "[DATA_STREAM]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + DataStream actualResponse = client.getDataStream(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDataStreamRequest actualRequest = ((GetDataStreamRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDataStreamExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.getDataStream(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java similarity index 100% rename from google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java diff --git a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java b/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java similarity index 94% rename from google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java rename to owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java index 2f7bf6eb..dd896783 100644 --- a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java +++ b/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java @@ -779,50 +779,6 @@ public void listAndroidAppDataStreams( } } - @Override - public void getEnhancedMeasurementSettings( - GetEnhancedMeasurementSettingsRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof EnhancedMeasurementSettings) { - requests.add(request); - responseObserver.onNext(((EnhancedMeasurementSettings) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetEnhancedMeasurementSettings, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - EnhancedMeasurementSettings.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void updateEnhancedMeasurementSettings( - UpdateEnhancedMeasurementSettingsRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof EnhancedMeasurementSettings) { - requests.add(request); - responseObserver.onNext(((EnhancedMeasurementSettings) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method UpdateEnhancedMeasurementSettings, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - EnhancedMeasurementSettings.class.getName(), - Exception.class.getName()))); - } - } - @Override public void createFirebaseLink( CreateFirebaseLinkRequest request, StreamObserver responseObserver) { @@ -1123,6 +1079,28 @@ public void updateMeasurementProtocolSecret( } } + @Override + public void acknowledgeUserDataCollection( + AcknowledgeUserDataCollectionRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AcknowledgeUserDataCollectionResponse) { + requests.add(request); + responseObserver.onNext(((AcknowledgeUserDataCollectionResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method AcknowledgeUserDataCollection, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AcknowledgeUserDataCollectionResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void searchChangeHistoryEvents( SearchChangeHistoryEventsRequest request, @@ -1770,4 +1748,109 @@ public void updateDataRetentionSettings( Exception.class.getName()))); } } + + @Override + public void createDataStream( + CreateDataStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof DataStream) { + requests.add(request); + responseObserver.onNext(((DataStream) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateDataStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + DataStream.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteDataStream( + DeleteDataStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteDataStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateDataStream( + UpdateDataStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof DataStream) { + requests.add(request); + responseObserver.onNext(((DataStream) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateDataStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + DataStream.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listDataStreams( + ListDataStreamsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDataStreamsResponse) { + requests.add(request); + responseObserver.onNext(((ListDataStreamsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDataStreams, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDataStreamsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getDataStream( + GetDataStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof DataStream) { + requests.add(request); + responseObserver.onNext(((DataStream) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetDataStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + DataStream.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java new file mode 100644 index 00000000..cfdec9e4 --- /dev/null +++ b/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,7677 @@ +package com.google.analytics.admin.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAccountMethod() { + io.grpc.MethodDescriptor getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountsMethod() { + io.grpc.MethodDescriptor getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAccountMethod() { + io.grpc.MethodDescriptor getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAccountMethod() { + io.grpc.MethodDescriptor getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { + io.grpc.MethodDescriptor getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPropertyMethod() { + io.grpc.MethodDescriptor getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPropertiesMethod() { + io.grpc.MethodDescriptor getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePropertyMethod() { + io.grpc.MethodDescriptor getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePropertyMethod() { + io.grpc.MethodDescriptor getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { + io.grpc.MethodDescriptor getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUserLink", + requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUserLinkMethod() { + io.grpc.MethodDescriptor getGetUserLinkMethod; + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetUserLinkMethod = getGetUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) + .build(); + } + } + } + return getGetUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchGetUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchGetUserLinksMethod() { + io.grpc.MethodDescriptor getBatchGetUserLinksMethod; + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = getBatchGetUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) + .build(); + } + } + } + return getBatchGetUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", + requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUserLinksMethod() { + io.grpc.MethodDescriptor getListUserLinksMethod; + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListUserLinksMethod = getListUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) + .build(); + } + } + } + return getListUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getAuditUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", + requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAuditUserLinksMethod() { + io.grpc.MethodDescriptor getAuditUserLinksMethod; + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = getAuditUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) + .build(); + } + } + } + return getAuditUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", + requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUserLinkMethod() { + io.grpc.MethodDescriptor getCreateUserLinkMethod; + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = getCreateUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) + .build(); + } + } + } + return getCreateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateUserLinksMethod() { + io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = getBatchCreateUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) + .build(); + } + } + } + return getBatchCreateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUserLinkMethod() { + io.grpc.MethodDescriptor getUpdateUserLinkMethod; + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = getUpdateUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) + .build(); + } + } + } + return getUpdateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod() { + io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = getBatchUpdateUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) + .build(); + } + } + } + return getBatchUpdateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUserLinkMethod() { + io.grpc.MethodDescriptor getDeleteUserLinkMethod; + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = getDeleteUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) + .build(); + } + } + } + return getDeleteUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod() { + io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = getBatchDeleteUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) + .build(); + } + } + } + return getBatchDeleteUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWebDataStream", + requestType = com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetWebDataStreamMethod() { + io.grpc.MethodDescriptor getGetWebDataStreamMethod; + if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod = getGetWebDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetWebDataStream")) + .build(); + } + } + } + return getGetWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWebDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteWebDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteWebDataStreamMethod; + if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod = getDeleteWebDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteWebDataStream")) + .build(); + } + } + } + return getDeleteWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateWebDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateWebDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateWebDataStreamMethod; + if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod = getUpdateWebDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateWebDataStream")) + .build(); + } + } + } + return getUpdateWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWebDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateWebDataStreamMethod() { + io.grpc.MethodDescriptor getCreateWebDataStreamMethod; + if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod = getCreateWebDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateWebDataStream")) + .build(); + } + } + } + return getCreateWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListWebDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWebDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListWebDataStreamsMethod() { + io.grpc.MethodDescriptor getListWebDataStreamsMethod; + if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod = getListWebDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWebDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListWebDataStreams")) + .build(); + } + } + } + return getListWebDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIosAppDataStreamMethod() { + io.grpc.MethodDescriptor getGetIosAppDataStreamMethod; + if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod = getGetIosAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetIosAppDataStream")) + .build(); + } + } + } + return getGetIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod; + if ((getDeleteIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod = getDeleteIosAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteIosAppDataStream")) + .build(); + } + } + } + return getDeleteIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod; + if ((getUpdateIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod = getUpdateIosAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateIosAppDataStream")) + .build(); + } + } + } + return getUpdateIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListIosAppDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIosAppDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListIosAppDataStreamsMethod() { + io.grpc.MethodDescriptor getListIosAppDataStreamsMethod; + if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod = getListIosAppDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIosAppDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListIosAppDataStreams")) + .build(); + } + } + } + return getListIosAppDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod; + if ((getGetAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod = getGetAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAndroidAppDataStream")) + .build(); + } + } + } + return getGetAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod; + if ((getDeleteAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod = getDeleteAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAndroidAppDataStream")) + .build(); + } + } + } + return getDeleteAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod; + if ((getUpdateAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod = getUpdateAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAndroidAppDataStream")) + .build(); + } + } + } + return getUpdateAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAndroidAppDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod() { + io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod; + if ((getListAndroidAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAndroidAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod = getListAndroidAppDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAndroidAppDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAndroidAppDataStreams")) + .build(); + } + } + } + return getListAndroidAppDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", + requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGlobalSiteTagMethod() { + io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = getGetGlobalSiteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) + .build(); + } + } + } + return getGetGlobalSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; + if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = getGetGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGoogleSignalsSettings")) + .build(); + } + } + } + return getGetGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; + if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = getUpdateGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleSignalsSettings")) + .build(); + } + } + } + return getUpdateGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { + io.grpc.MethodDescriptor getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConversionEventMethod() { + io.grpc.MethodDescriptor getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConversionEventsMethod() { + io.grpc.MethodDescriptor getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; + if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = getGetDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", + requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod() { + io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; + if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = getListDisplayVideo360AdvertiserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinks")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; + if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = getCreateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = getDeleteDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = getUpdateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getUpdateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = getGetDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", + requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod() { + io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = getListDisplayVideo360AdvertiserLinkProposalsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinkProposals")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinkProposalsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = getCreateDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = getApproveDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ApproveDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getApproveDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = getCancelDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CancelDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCancelDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { + io.grpc.MethodDescriptor getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { + io.grpc.MethodDescriptor getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { + io.grpc.MethodDescriptor getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataStreamsMethod() { + io.grpc.MethodDescriptor getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataStreamMethod() { + io.grpc.MethodDescriptor getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AnalyticsAdminServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserLinkMethod(), responseObserver); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetUserLinksMethod(), responseObserver); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUserLinksMethod(), responseObserver); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAuditUserLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserLinkMethod(), responseObserver); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateUserLinksMethod(), responseObserver); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserLinkMethod(), responseObserver); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateUserLinksMethod(), responseObserver); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteUserLinksMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public void getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWebDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public void deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWebDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates a web stream on a property.
+     * 
+ */ + public void updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateWebDataStreamMethod(), responseObserver); + } + + /** + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public void createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWebDataStreamMethod(), responseObserver); + } + + /** + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public void listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWebDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public void getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIosAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public void deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIosAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public void updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIosAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public void listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIosAppDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public void getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAndroidAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public void deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAndroidAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public void updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAndroidAppDataStreamMethod(), responseObserver); + } + + /** + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public void listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAndroidAppDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGlobalSiteTagMethod(), responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account>( + this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account>( + this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getGetUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_GET_USER_LINK))) + .addMethod( + getBatchGetUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( + this, METHODID_BATCH_GET_USER_LINKS))) + .addMethod( + getListUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse>( + this, METHODID_LIST_USER_LINKS))) + .addMethod( + getAuditUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( + this, METHODID_AUDIT_USER_LINKS))) + .addMethod( + getCreateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_CREATE_USER_LINK))) + .addMethod( + getBatchCreateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( + this, METHODID_BATCH_CREATE_USER_LINKS))) + .addMethod( + getUpdateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_UPDATE_USER_LINK))) + .addMethod( + getBatchUpdateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( + this, METHODID_BATCH_UPDATE_USER_LINKS))) + .addMethod( + getDeleteUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_USER_LINK))) + .addMethod( + getBatchDeleteUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty>( + this, METHODID_BATCH_DELETE_USER_LINKS))) + .addMethod( + getGetWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_GET_WEB_DATA_STREAM))) + .addMethod( + getDeleteWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_WEB_DATA_STREAM))) + .addMethod( + getUpdateWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_UPDATE_WEB_DATA_STREAM))) + .addMethod( + getCreateWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_CREATE_WEB_DATA_STREAM))) + .addMethod( + getListWebDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>( + this, METHODID_LIST_WEB_DATA_STREAMS))) + .addMethod( + getGetIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream>( + this, METHODID_GET_IOS_APP_DATA_STREAM))) + .addMethod( + getDeleteIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_IOS_APP_DATA_STREAM))) + .addMethod( + getUpdateIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream>( + this, METHODID_UPDATE_IOS_APP_DATA_STREAM))) + .addMethod( + getListIosAppDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>( + this, METHODID_LIST_IOS_APP_DATA_STREAMS))) + .addMethod( + getGetAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream>( + this, METHODID_GET_ANDROID_APP_DATA_STREAM))) + .addMethod( + getDeleteAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ANDROID_APP_DATA_STREAM))) + .addMethod( + getUpdateAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream>( + this, METHODID_UPDATE_ANDROID_APP_DATA_STREAM))) + .addMethod( + getListAndroidAppDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>( + this, METHODID_LIST_ANDROID_APP_DATA_STREAMS))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getGetGlobalSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag>( + this, METHODID_GET_GLOBAL_SITE_TAG))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getGetGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getUpdateGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getListDisplayVideo360AdvertiserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getUpdateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse>( + this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .build(); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public void getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public void deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a web stream on a property.
+     * 
+ */ + public void updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public void createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public void listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public void getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public void deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public void updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public void listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public void getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public void deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public void updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public void listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.protobuf.Empty deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWebDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWebDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a web stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateWebDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWebDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWebDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.IosAppDataStream updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIosAppDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AndroidAppDataStream updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAndroidAppDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWebDataStream( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteWebDataStream( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a web stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateWebDataStream( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWebDataStream( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listWebDataStreams( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIosAppDataStream( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteIosAppDataStream( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateIosAppDataStream( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listIosAppDataStreams( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAndroidAppDataStream( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAndroidAppDataStream( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAndroidAppDataStream( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_ACCOUNT = 0; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_GET_USER_LINK = 11; + private static final int METHODID_BATCH_GET_USER_LINKS = 12; + private static final int METHODID_LIST_USER_LINKS = 13; + private static final int METHODID_AUDIT_USER_LINKS = 14; + private static final int METHODID_CREATE_USER_LINK = 15; + private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; + private static final int METHODID_UPDATE_USER_LINK = 17; + private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; + private static final int METHODID_DELETE_USER_LINK = 19; + private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; + private static final int METHODID_GET_WEB_DATA_STREAM = 21; + private static final int METHODID_DELETE_WEB_DATA_STREAM = 22; + private static final int METHODID_UPDATE_WEB_DATA_STREAM = 23; + private static final int METHODID_CREATE_WEB_DATA_STREAM = 24; + private static final int METHODID_LIST_WEB_DATA_STREAMS = 25; + private static final int METHODID_GET_IOS_APP_DATA_STREAM = 26; + private static final int METHODID_DELETE_IOS_APP_DATA_STREAM = 27; + private static final int METHODID_UPDATE_IOS_APP_DATA_STREAM = 28; + private static final int METHODID_LIST_IOS_APP_DATA_STREAMS = 29; + private static final int METHODID_GET_ANDROID_APP_DATA_STREAM = 30; + private static final int METHODID_DELETE_ANDROID_APP_DATA_STREAM = 31; + private static final int METHODID_UPDATE_ANDROID_APP_DATA_STREAM = 32; + private static final int METHODID_LIST_ANDROID_APP_DATA_STREAMS = 33; + private static final int METHODID_CREATE_FIREBASE_LINK = 34; + private static final int METHODID_DELETE_FIREBASE_LINK = 35; + private static final int METHODID_LIST_FIREBASE_LINKS = 36; + private static final int METHODID_GET_GLOBAL_SITE_TAG = 37; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 38; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 39; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 40; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 41; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 42; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 43; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 44; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 45; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 46; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 47; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 48; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 49; + private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 50; + private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 51; + private static final int METHODID_CREATE_CONVERSION_EVENT = 52; + private static final int METHODID_GET_CONVERSION_EVENT = 53; + private static final int METHODID_DELETE_CONVERSION_EVENT = 54; + private static final int METHODID_LIST_CONVERSION_EVENTS = 55; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 56; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 57; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 58; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 59; + private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 60; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 61; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 62; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 63; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 64; + private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 65; + private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 66; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 67; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 68; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 69; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 70; + private static final int METHODID_GET_CUSTOM_DIMENSION = 71; + private static final int METHODID_CREATE_CUSTOM_METRIC = 72; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 73; + private static final int METHODID_LIST_CUSTOM_METRICS = 74; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 75; + private static final int METHODID_GET_CUSTOM_METRIC = 76; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 77; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 78; + private static final int METHODID_CREATE_DATA_STREAM = 79; + private static final int METHODID_DELETE_DATA_STREAM = 80; + private static final int METHODID_UPDATE_DATA_STREAM = 81; + private static final int METHODID_LIST_DATA_STREAMS = 82; + private static final int METHODID_GET_DATA_STREAM = 83; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount((com.google.analytics.admin.v1alpha.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts((com.google.analytics.admin.v1alpha.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount((com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount((com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty((com.google.analytics.admin.v1alpha.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties((com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty((com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty((com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_USER_LINK: + serviceImpl.getUserLink((com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_USER_LINKS: + serviceImpl.batchGetUserLinks((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USER_LINKS: + serviceImpl.listUserLinks((com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_AUDIT_USER_LINKS: + serviceImpl.auditUserLinks((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER_LINK: + serviceImpl.createUserLink((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_USER_LINKS: + serviceImpl.batchCreateUserLinks((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER_LINK: + serviceImpl.updateUserLink((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_USER_LINKS: + serviceImpl.batchUpdateUserLinks((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER_LINK: + serviceImpl.deleteUserLink((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_USER_LINKS: + serviceImpl.batchDeleteUserLinks((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WEB_DATA_STREAM: + serviceImpl.getWebDataStream((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_WEB_DATA_STREAM: + serviceImpl.deleteWebDataStream((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_WEB_DATA_STREAM: + serviceImpl.updateWebDataStream((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_WEB_DATA_STREAM: + serviceImpl.createWebDataStream((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_WEB_DATA_STREAMS: + serviceImpl.listWebDataStreams((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IOS_APP_DATA_STREAM: + serviceImpl.getIosAppDataStream((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_IOS_APP_DATA_STREAM: + serviceImpl.deleteIosAppDataStream((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_IOS_APP_DATA_STREAM: + serviceImpl.updateIosAppDataStream((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_IOS_APP_DATA_STREAMS: + serviceImpl.listIosAppDataStreams((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ANDROID_APP_DATA_STREAM: + serviceImpl.getAndroidAppDataStream((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ANDROID_APP_DATA_STREAM: + serviceImpl.deleteAndroidAppDataStream((com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ANDROID_APP_DATA_STREAM: + serviceImpl.updateAndroidAppDataStream((com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ANDROID_APP_DATA_STREAMS: + serviceImpl.listAndroidAppDataStreams((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GLOBAL_SITE_TAG: + serviceImpl.getGlobalSiteTag((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.getGoogleSignalsSettings((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.updateGoogleSignalsSettings((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent((com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.getDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: + serviceImpl.listDisplayVideo360AdvertiserLinks((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.createDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.deleteDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.updateDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.getDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: + serviceImpl.listDisplayVideo360AdvertiserLinkProposals((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.createDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.approveDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream((com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getGetUserLinkMethod()) + .addMethod(getBatchGetUserLinksMethod()) + .addMethod(getListUserLinksMethod()) + .addMethod(getAuditUserLinksMethod()) + .addMethod(getCreateUserLinkMethod()) + .addMethod(getBatchCreateUserLinksMethod()) + .addMethod(getUpdateUserLinkMethod()) + .addMethod(getBatchUpdateUserLinksMethod()) + .addMethod(getDeleteUserLinkMethod()) + .addMethod(getBatchDeleteUserLinksMethod()) + .addMethod(getGetWebDataStreamMethod()) + .addMethod(getDeleteWebDataStreamMethod()) + .addMethod(getUpdateWebDataStreamMethod()) + .addMethod(getCreateWebDataStreamMethod()) + .addMethod(getListWebDataStreamsMethod()) + .addMethod(getGetIosAppDataStreamMethod()) + .addMethod(getDeleteIosAppDataStreamMethod()) + .addMethod(getUpdateIosAppDataStreamMethod()) + .addMethod(getListIosAppDataStreamsMethod()) + .addMethod(getGetAndroidAppDataStreamMethod()) + .addMethod(getDeleteAndroidAppDataStreamMethod()) + .addMethod(getUpdateAndroidAppDataStreamMethod()) + .addMethod(getListAndroidAppDataStreamsMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getGetGlobalSiteTagMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getGetGoogleSignalsSettingsMethod()) + .addMethod(getUpdateGoogleSignalsSettingsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java index 3d275c7a..e4fed015 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ -public final class Account extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Account extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Account) AccountOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Account() { name_ = ""; displayName_ = ""; @@ -45,15 +27,16 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Account( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,101 +55,90 @@ private Account( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - regionCode_ = s; - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 48: - { - deleted_ = input.readBool(); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + regionCode_ = s; + break; + } + case 48: { + + deleted_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -174,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -183,15 +154,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -199,15 +169,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -218,15 +189,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -234,15 +201,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -250,14 +213,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -267,15 +227,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -283,15 +239,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -299,14 +251,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -316,14 +265,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; 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 @@ -332,29 +278,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 { @@ -365,14 +311,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int REGION_CODE_FIELD_NUMBER = 5; 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 @@ -381,29 +324,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 { @@ -414,15 +357,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int DELETED_FIELD_NUMBER = 6; 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 @@ -431,7 +371,6 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,7 +382,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -475,10 +415,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); @@ -487,7 +429,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regionCode_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, deleted_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -497,26 +440,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Account)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Account other = - (com.google.analytics.admin.v1alpha.Account) obj; + com.google.analytics.admin.v1alpha.Account other = (com.google.analytics.admin.v1alpha.Account) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; - if (getDeleted() != other.getDeleted()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; + if (getDeleted() + != other.getDeleted()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -543,133 +491,125 @@ 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) + unknownFields.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() @@ -677,15 +617,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -713,9 +654,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 @@ -734,8 +675,7 @@ 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); + com.google.analytics.admin.v1alpha.Account result = new com.google.analytics.admin.v1alpha.Account(this); result.name_ = name_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -758,39 +698,38 @@ public com.google.analytics.admin.v1alpha.Account buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -851,8 +790,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -860,13 +797,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; @@ -875,8 +812,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -884,14 +819,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -899,8 +835,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -908,22 +842,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -931,18 +863,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -950,16 +879,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -967,58 +896,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this account was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || 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. */ 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) { @@ -1034,17 +944,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this account was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1055,21 +962,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this account was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1081,15 +984,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this account was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1103,64 +1002,48 @@ 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() { - + onChanged(); 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_; @@ -1168,58 +1051,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when account payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || 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. */ 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) { @@ -1235,17 +1099,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when account payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1256,21 +1117,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when account payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1282,15 +1139,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when account payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1304,64 +1157,48 @@ 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() { - + onChanged(); 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_; @@ -1369,20 +1206,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1391,21 +1226,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1413,61 +1247,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1475,20 +1302,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1497,21 +1322,20 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1519,77 +1343,67 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; 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() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); 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) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); 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 @@ -1597,45 +1411,39 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1645,12 +1453,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(); } @@ -1659,16 +1467,16 @@ 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 { - return new Account(input, extensionRegistry); - } - }; + 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 { + return new Account(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1683,4 +1491,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java index 9aae2948..9f1c370c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountOrBuilder - extends +public interface AccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Account) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -33,13 +15,10 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -47,147 +26,112 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ boolean getDeleted(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java index 1b1f4dfb..45dedd04 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
  */
-public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccountSummary extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccountSummary)
     AccountSummaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -47,15 +29,16 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AccountSummary(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,53 +58,47 @@ private AccountSummary(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              account_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            account_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                propertySummaries_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              propertySummaries_.add(
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.PropertySummary.parser(),
-                      extensionRegistry));
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              propertySummaries_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            propertySummaries_.add(
+                input.readMessage(com.google.analytics.admin.v1alpha.PropertySummary.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -130,27 +107,22 @@ private AccountSummary(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -158,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -167,15 +138,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -183,15 +153,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -202,8 +173,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object account_; /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -211,7 +180,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ @java.lang.Override @@ -220,15 +188,14 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -236,15 +203,16 @@ public java.lang.String getAccount() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -255,14 +223,11 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -271,29 +236,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 { @@ -304,8 +269,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; private java.util.List propertySummaries_; /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -313,13 +276,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List - getPropertySummariesList() { + public java.util.List getPropertySummariesList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -327,13 +287,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List + public java.util.List getPropertySummariesOrBuilderList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -345,8 +303,6 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -358,8 +314,6 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i return propertySummaries_.get(index); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -373,7 +327,6 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -417,8 +371,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -428,18 +382,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccountSummary)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccountSummary other = - (com.google.analytics.admin.v1alpha.AccountSummary) obj; + com.google.analytics.admin.v1alpha.AccountSummary other = (com.google.analytics.admin.v1alpha.AccountSummary) obj; - if (!getName().equals(other.getName())) return false; - if (!getAccount().equals(other.getAccount())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getPropertySummariesList().equals(other.getPropertySummariesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getPropertySummariesList() + .equals(other.getPropertySummariesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,103 +424,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccountSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A virtual resource representing an overview of an account and
    * all its child GA4 properties.
@@ -571,23 +521,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccountSummary)
       com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccountSummary.class,
-              com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
+              com.google.analytics.admin.v1alpha.AccountSummary.class, com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccountSummary.newBuilder()
@@ -595,17 +543,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPropertySummariesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -625,9 +573,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
@@ -646,8 +594,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.account_ = account_;
@@ -669,39 +616,38 @@ public com.google.analytics.admin.v1alpha.AccountSummary buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       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;
@@ -709,8 +655,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other) {
-      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -741,10 +686,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            propertySummariesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPropertySummariesFieldBuilder()
-                    : null;
+            propertySummariesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPropertySummariesFieldBuilder() : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -769,8 +713,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.admin.v1alpha.AccountSummary) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.admin.v1alpha.AccountSummary) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -779,13 +722,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -793,13 +733,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; @@ -808,8 +748,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -817,14 +755,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -832,8 +771,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -841,22 +778,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -864,18 +799,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -883,16 +815,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -900,8 +832,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object account_ = ""; /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -909,13 +839,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -924,8 +854,6 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -933,14 +861,15 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -948,8 +877,6 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -957,22 +884,20 @@ public com.google.protobuf.ByteString getAccountBytes() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { + public Builder setAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + account_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -980,18 +905,15 @@ public Builder setAccount(java.lang.String value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -999,16 +921,16 @@ 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) { + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + account_ = value; onChanged(); return this; @@ -1016,20 +938,18 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1038,21 +958,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1060,95 +979,79 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - propertySummaries_ = - new java.util.ArrayList( - propertySummaries_); + propertySummaries_ = new java.util.ArrayList(propertySummaries_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1156,8 +1059,6 @@ private void ensurePropertySummariesIsMutable() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1172,8 +1073,6 @@ public int getPropertySummariesCount() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1188,8 +1087,6 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1211,8 +1108,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1231,8 +1126,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1253,8 +1146,6 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1alpha.PropertyS return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1276,8 +1167,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1296,8 +1185,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1316,8 +1203,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1328,7 +1213,8 @@ public Builder addAllPropertySummaries( java.lang.Iterable values) { if (propertySummariesBuilder_ == null) { ensurePropertySummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertySummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propertySummaries_); onChanged(); } else { propertySummariesBuilder_.addAllMessages(values); @@ -1336,8 +1222,6 @@ public Builder addAllPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1355,8 +1239,6 @@ public Builder clearPropertySummaries() { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1374,8 +1256,6 @@ public Builder removePropertySummaries(int index) { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1387,33 +1267,28 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum return getPropertySummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder - getPropertySummariesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySummariesOrBuilder( + int index) { if (propertySummariesBuilder_ == null) { - return propertySummaries_.get(index); - } else { + return propertySummaries_.get(index); } else { return propertySummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesOrBuilderList() { + public java.util.List + getPropertySummariesOrBuilderList() { if (propertySummariesBuilder_ != null) { return propertySummariesBuilder_.getMessageOrBuilderList(); } else { @@ -1421,22 +1296,17 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummary.Builder - addPropertySummariesBuilder() { - return getPropertySummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder() { + return getPropertySummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1445,35 +1315,26 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum */ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder( int index) { - return getPropertySummariesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesBuilderList() { + public java.util.List + getPropertySummariesBuilderList() { return getPropertySummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, - com.google.analytics.admin.v1alpha.PropertySummary.Builder, - com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> + com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> getPropertySummariesFieldBuilder() { if (propertySummariesBuilder_ == null) { - propertySummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, - com.google.analytics.admin.v1alpha.PropertySummary.Builder, - com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( + propertySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( propertySummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1482,9 +1343,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); } @@ -1494,12 +1355,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(); } @@ -1508,16 +1369,16 @@ 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 { - return new AccountSummary(input, extensionRegistry); - } - }; + 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 { + return new AccountSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1532,4 +1393,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java similarity index 76% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java index bc3b45fe..7e3379d5 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountSummaryOrBuilder - extends +public interface AccountSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccountSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -33,13 +15,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -47,14 +26,12 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -62,13 +39,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -76,49 +50,41 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List getPropertySummariesList(); + java.util.List + getPropertySummariesList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -127,8 +93,6 @@ public interface AccountSummaryOrBuilder */ com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(int index); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -137,19 +101,15 @@ public interface AccountSummaryOrBuilder */ int getPropertySummariesCount(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java new file mode 100644 index 00000000..b03db203 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java @@ -0,0 +1,801 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) + AcknowledgeUserDataCollectionRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. + private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AcknowledgeUserDataCollectionRequest() { + property_ = ""; + acknowledgement_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AcknowledgeUserDataCollectionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AcknowledgeUserDataCollectionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + property_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + acknowledgement_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); + } + + public static final int PROPERTY_FIELD_NUMBER = 1; + 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) = { ... } + * @return The property. + */ + @java.lang.Override + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } + } + /** + *
+   * Required. The property for which to acknowledge user data collection.
+   * 
+ * + * 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() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; + private volatile java.lang.Object acknowledgement_; + /** + *
+   * Required. An acknowledgement that the caller of this method understands the terms
+   * of user data collection.
+   * This field must contain the exact value:
+   * "I acknowledge that I have the necessary privacy disclosures and rights
+   * from my end users for the collection and processing of their data,
+   * including the association of such data with the visitation information
+   * Google Analytics collects from my site and/or app property."
+   * 
+ * + * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The acknowledgement. + */ + @java.lang.Override + public java.lang.String getAcknowledgement() { + java.lang.Object ref = acknowledgement_; + 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(); + acknowledgement_ = s; + return s; + } + } + /** + *
+   * Required. An acknowledgement that the caller of this method understands the terms
+   * of user data collection.
+   * This field must contain the exact value:
+   * "I acknowledge that I have the necessary privacy disclosures and rights
+   * from my end users for the collection and processing of their data,
+   * including the association of such data with the visitation information
+   * Google Analytics collects from my site and/or app property."
+   * 
+ * + * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for acknowledgement. + */ + @java.lang.Override + 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); + acknowledgement_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acknowledgement_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, acknowledgement_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acknowledgement_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acknowledgement_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROPERTY_FIELD_NUMBER; + hash = (53 * hash) + getProperty().hashCode(); + hash = (37 * hash) + ACKNOWLEDGEMENT_FIELD_NUMBER; + hash = (53 * hash) + getAcknowledgement().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( + 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) + 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 { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest 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.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) + throws java.io.IOException { + 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, + com.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); + } + 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); + } + + @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.AcknowledgeUserDataCollectionRequest 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 AcknowledgeUserDataCollection RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + property_ = ""; + + acknowledgement_ = ""; + + 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_AcknowledgeUserDataCollectionRequest_descriptor; + } + + @java.lang.Override + 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(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.property_ = property_; + result.acknowledgement_ = acknowledgement_; + 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.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; + if (!other.getProperty().isEmpty()) { + property_ = other.property_; + onChanged(); + } + if (!other.getAcknowledgement().isEmpty()) { + acknowledgement_ = other.acknowledgement_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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) = { ... } + * @return The property. + */ + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The property for which to acknowledge user data collection.
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for property. + */ + public com.google.protobuf.ByteString + getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The property for which to acknowledge user data collection.
+     * 
+ * + * 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(); + } + + property_ = value; + 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) = { ... } + * @return This builder for chaining. + */ + public Builder clearProperty() { + + property_ = getDefaultInstance().getProperty(); + 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) = { ... } + * @param value The bytes for property to set. + * @return This builder for chaining. + */ + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + property_ = value; + onChanged(); + return this; + } + + private java.lang.Object acknowledgement_ = ""; + /** + *
+     * Required. An acknowledgement that the caller of this method understands the terms
+     * of user data collection.
+     * This field must contain the exact value:
+     * "I acknowledge that I have the necessary privacy disclosures and rights
+     * from my end users for the collection and processing of their data,
+     * including the association of such data with the visitation information
+     * Google Analytics collects from my site and/or app property."
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + acknowledgement_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. An acknowledgement that the caller of this method understands the terms
+     * of user data collection.
+     * This field must contain the exact value:
+     * "I acknowledge that I have the necessary privacy disclosures and rights
+     * from my end users for the collection and processing of their data,
+     * including the association of such data with the visitation information
+     * Google Analytics collects from my site and/or app property."
+     * 
+ * + * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for acknowledgement. + */ + 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); + acknowledgement_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. An acknowledgement that the caller of this method understands the terms
+     * of user data collection.
+     * This field must contain the exact value:
+     * "I acknowledge that I have the necessary privacy disclosures and rights
+     * from my end users for the collection and processing of their data,
+     * including the association of such data with the visitation information
+     * Google Analytics collects from my site and/or app property."
+     * 
+ * + * 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(); + } + + acknowledgement_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. An acknowledgement that the caller of this method understands the terms
+     * of user data collection.
+     * This field must contain the exact value:
+     * "I acknowledge that I have the necessary privacy disclosures and rights
+     * from my end users for the collection and processing of their data,
+     * including the association of such data with the visitation information
+     * Google Analytics collects from my site and/or app property."
+     * 
+ * + * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearAcknowledgement() { + + acknowledgement_ = getDefaultInstance().getAcknowledgement(); + onChanged(); + return this; + } + /** + *
+     * Required. An acknowledgement that the caller of this method understands the terms
+     * of user data collection.
+     * This field must contain the exact value:
+     * "I acknowledge that I have the necessary privacy disclosures and rights
+     * from my end users for the collection and processing of their data,
+     * including the association of such data with the visitation information
+     * Google Analytics collects from my site and/or app property."
+     * 
+ * + * 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(); + } + checkByteStringIsUtf8(value); + + acknowledgement_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(); + } + + 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 { + return new AcknowledgeUserDataCollectionRequest(input, extensionRegistry); + } + }; + + 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.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java new file mode 100644 index 00000000..bd34d9b4 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java @@ -0,0 +1,61 @@ +// Generated 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 + // @@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) = { ... } + * @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) = { ... } + * @return The bytes for property. + */ + com.google.protobuf.ByteString + getPropertyBytes(); + + /** + *
+   * Required. An acknowledgement that the caller of this method understands the terms
+   * of user data collection.
+   * This field must contain the exact value:
+   * "I acknowledge that I have the necessary privacy disclosures and rights
+   * from my end users for the collection and processing of their data,
+   * including the association of such data with the visitation information
+   * Google Analytics collects from my site and/or app property."
+   * 
+ * + * 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.
+   * This field must contain the exact value:
+   * "I acknowledge that I have the necessary privacy disclosures and rights
+   * from my end users for the collection and processing of their data,
+   * including the association of such data with the visitation information
+   * Google Analytics collects from my site and/or app property."
+   * 
+ * + * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for acknowledgement. + */ + com.google.protobuf.ByteString + getAcknowledgementBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java new file mode 100644 index 00000000..a80019e5 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java @@ -0,0 +1,427 @@ +// 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + AcknowledgeUserDataCollectionResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. + private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AcknowledgeUserDataCollectionResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AcknowledgeUserDataCollectionResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AcknowledgeUserDataCollectionResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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; + 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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( + 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) + 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 { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse 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.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) + throws java.io.IOException { + 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, + com.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); + } + 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); + } + + @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.AcknowledgeUserDataCollectionResponse 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 AcknowledgeUserDataCollection RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @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_AcknowledgeUserDataCollectionResponse_descriptor; + } + + @java.lang.Override + 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(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + 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.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; + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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.AcknowledgeUserDataCollectionResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(); + } + + 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 { + return new AcknowledgeUserDataCollectionResponse(input, extensionRegistry); + } + }; + + 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.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 00000000..6c0aab20 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface AcknowledgeUserDataCollectionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java index bdd4ca5b..833f1173 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ActionType} */ -public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource was created in this change.
    * 
@@ -49,8 +29,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(1), /** - * - * *
    * Resource was updated in this change.
    * 
@@ -59,8 +37,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ UPDATED(2), /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -72,8 +48,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -82,8 +56,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource was created in this change.
    * 
@@ -92,8 +64,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 1; /** - * - * *
    * Resource was updated in this change.
    * 
@@ -102,8 +72,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATED_VALUE = 2; /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -112,6 +80,7 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: - return ACTION_TYPE_UNSPECIFIED; - case 1: - return CREATED; - case 2: - return UPDATED; - case 3: - return DELETED; - default: - return null; + case 0: return ACTION_TYPE_UNSPECIFIED; + case 1: return CREATED; + case 2: return UPDATED; + case 3: return DELETED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,3 +164,4 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActionType) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java index b34ddadc..3ec53b37 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.ActorType}
  */
-public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -40,8 +22,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ ACTOR_TYPE_UNSPECIFIED(0), /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -50,8 +30,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -60,8 +38,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM(2), /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -73,8 +49,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unknown or unspecified actor type.
    * 
@@ -83,8 +57,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -93,8 +65,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -103,8 +73,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_VALUE = 2; /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -113,6 +81,7 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUPPORT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: - return ACTOR_TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return SYSTEM; - case 3: - return SUPPORT; - default: - return null; + case 0: return ACTOR_TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return SYSTEM; + case 3: return SUPPORT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActorType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -197,3 +165,4 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActorType) } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java new file mode 100644 index 00000000..c979b696 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -0,0 +1,2141 @@ +// 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_GetAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; + + 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\032.google/analytics/admin/v1alpha/r" + + "esources.proto\032\034google/api/annotations.p" + + "roto\032\027google/api/client.proto\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\032\033google/protobuf/empty.proto\032 " + + "google/protobuf/field_mask.proto\032\037google" + + "/protobuf/timestamp.proto\"P\n\021GetAccountR" + + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsa" + + "dmin.googleapis.com/Account\"R\n\023ListAccou" + + "ntsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" + + "ken\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"j\n\024ListA" + + "ccountsResponse\0229\n\010accounts\030\001 \003(\0132\'.goog" + + "le.analytics.admin.v1alpha.Account\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"S\n\024DeleteAccountRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + + "n.googleapis.com/Account\"\213\001\n\024UpdateAccou" + + "ntRequest\022=\n\007account\030\001 \001(\0132\'.google.anal" + + "ytics.admin.v1alpha.AccountB\003\340A\002\0224\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\002\"o\n\035ProvisionAccountTicketRequest\022" + + "8\n\007account\030\001 \001(\0132\'.google.analytics.admi" + + "n.v1alpha.Account\022\024\n\014redirect_uri\030\002 \001(\t\"" + + ";\n\036ProvisionAccountTicketResponse\022\031\n\021acc" + + "ount_ticket_id\030\001 \001(\t\"R\n\022GetPropertyReque" + + "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin" + + ".googleapis.com/Property\"i\n\025ListProperti" + + "esRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_de" + + "leted\030\004 \001(\010\"o\n\026ListPropertiesResponse\022<\n" + + "\nproperties\030\001 \003(\0132(.google.analytics.adm" + + "in.v1alpha.Property\022\027\n\017next_page_token\030\002" + + " \001(\t\"\216\001\n\025UpdatePropertyRequest\022?\n\010proper" + + "ty\030\001 \001(\0132(.google.analytics.admin.v1alph" + + "a.PropertyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\"X\n\025CreateP" + + "ropertyRequest\022?\n\010property\030\001 \001(\0132(.googl" + + "e.analytics.admin.v1alpha.PropertyB\003\340A\002\"" + + "U\n\025DeletePropertyRequest\022<\n\004name\030\001 \001(\tB." + + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Pr" + + "operty\"R\n\022GetUserLinkRequest\022<\n\004name\030\001 \001" + + "(\tB.\340A\002\372A(\n&analyticsadmin.googleapis.co" + + "m/UserLink\"\231\001\n\030BatchGetUserLinksRequest\022" + + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin." + + "googleapis.com/UserLink\022=\n\005names\030\002 \003(\tB." + + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Us" + + "erLink\"Y\n\031BatchGetUserLinksResponse\022<\n\nu" + + "ser_links\030\001 \003(\0132(.google.analytics.admin" + + ".v1alpha.UserLink\"}\n\024ListUserLinksReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025ListUserLink" + + "sResponse\022<\n\nuser_links\030\001 \003(\0132(.google.a" + + "nalytics.admin.v1alpha.UserLink\022\027\n\017next_" + + "page_token\030\002 \001(\t\"~\n\025AuditUserLinksReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026AuditUserLin" + + "ksResponse\022A\n\nuser_links\030\001 \003(\0132-.google." + + "analytics.admin.v1alpha.AuditUserLink\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\267\001\n\025CreateUserLin" + + "kRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt" + + "icsadmin.googleapis.com/UserLink\022\034\n\017noti" + + "fy_new_user\030\002 \001(\010B\003\340A\001\022@\n\tuser_link\030\003 \001(" + + "\0132(.google.analytics.admin.v1alpha.UserL" + + "inkB\003\340A\002\"\312\001\n\033BatchCreateUserLinksRequest" + + "\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin" + + ".googleapis.com/UserLink\022\035\n\020notify_new_u" + + "sers\030\002 \001(\010B\003\340A\001\022L\n\010requests\030\003 \003(\01325.goog" + + "le.analytics.admin.v1alpha.CreateUserLin" + + "kRequestB\003\340A\002\"\\\n\034BatchCreateUserLinksRes" + + "ponse\022<\n\nuser_links\030\001 \003(\0132(.google.analy" + + "tics.admin.v1alpha.UserLink\"Y\n\025UpdateUse" + + "rLinkRequest\022@\n\tuser_link\030\001 \001(\0132(.google" + + ".analytics.admin.v1alpha.UserLinkB\003\340A\002\"\253" + + "\001\n\033BatchUpdateUserLinksRequest\022>\n\006parent" + + "\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleapi" + + "s.com/UserLink\022L\n\010requests\030\002 \003(\01325.googl" + + "e.analytics.admin.v1alpha.UpdateUserLink" + + "RequestB\003\340A\002\"\\\n\034BatchUpdateUserLinksResp" + + "onse\022<\n\nuser_links\030\001 \003(\0132(.google.analyt" + + "ics.admin.v1alpha.UserLink\"U\n\025DeleteUser" + + "LinkRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analy" + + "ticsadmin.googleapis.com/UserLink\"\253\001\n\033Ba" + + "tchDeleteUserLinksRequest\022>\n\006parent\030\001 \001(" + + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com" + + "/UserLink\022L\n\010requests\030\002 \003(\01325.google.ana" + + "lytics.admin.v1alpha.DeleteUserLinkReque" + + "stB\003\340A\002\"\\\n\027GetWebDataStreamRequest\022A\n\004na" + + "me\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googlea" + + "pis.com/WebDataStream\"_\n\032DeleteWebDataSt" + + "reamRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analy" + + "ticsadmin.googleapis.com/WebDataStream\"\237" + + "\001\n\032UpdateWebDataStreamRequest\022K\n\017web_dat" + + "a_stream\030\001 \001(\0132-.google.analytics.admin." + + "v1alpha.WebDataStreamB\003\340A\002\0224\n\013update_mas" + + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" + + "\"\256\001\n\032CreateWebDataStreamRequest\022K\n\017web_d" + + "ata_stream\030\001 \001(\0132-.google.analytics.admi" + + "n.v1alpha.WebDataStreamB\003\340A\002\022C\n\006parent\030\002" + + " \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis." + + "com/WebDataStream\"\207\001\n\031ListWebDataStreams" + + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyti" + + "csadmin.googleapis.com/WebDataStream\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n\032L" + + "istWebDataStreamsResponse\022G\n\020web_data_st" + + "reams\030\001 \003(\0132-.google.analytics.admin.v1a" + + "lpha.WebDataStream\022\027\n\017next_page_token\030\002 " + + "\001(\t\"b\n\032GetIosAppDataStreamRequest\022D\n\004nam" + + "e\030\001 \001(\tB6\340A\002\372A0\n.analyticsadmin.googleap" + + "is.com/IosAppDataStream\"e\n\035DeleteIosAppD" + + "ataStreamRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n." + + "analyticsadmin.googleapis.com/IosAppData" + + "Stream\"\251\001\n\035UpdateIosAppDataStreamRequest" + + "\022R\n\023ios_app_data_stream\030\001 \001(\01320.google.a" + + "nalytics.admin.v1alpha.IosAppDataStreamB" + + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"\215\001\n\034ListIosAppDataStr" + + "eamsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.ana" + + "lyticsadmin.googleapis.com/IosAppDataStr" + + "eam\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\"\210\001\n\035ListIosAppDataStreamsResponse\022N\n\024" + + "ios_app_data_streams\030\001 \003(\01320.google.anal" + + "ytics.admin.v1alpha.IosAppDataStream\022\027\n\017" + + "next_page_token\030\002 \001(\t\"j\n\036GetAndroidAppDa" + + "taStreamRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2a" + + "nalyticsadmin.googleapis.com/AndroidAppD" + + "ataStream\"m\n!DeleteAndroidAppDataStreamR" + + "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2analyticsa" + + "dmin.googleapis.com/AndroidAppDataStream" + + "\"\265\001\n!UpdateAndroidAppDataStreamRequest\022Z" + + "\n\027android_app_data_stream\030\001 \001(\01324.google" + + ".analytics.admin.v1alpha.AndroidAppDataS" + + "treamB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMaskB\003\340A\002\"\225\001\n ListAndroid" + + "AppDataStreamsRequest\022J\n\006parent\030\001 \001(\tB:\340" + + "A\002\372A4\0222analyticsadmin.googleapis.com/And" + + "roidAppDataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\224\001\n!ListAndroidAppDataS" + + "treamsResponse\022V\n\030android_app_data_strea" + + "ms\030\001 \003(\01324.google.analytics.admin.v1alph" + + "a.AndroidAppDataStream\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\251\001\n\031CreateFirebaseLinkRequest\022B\n" + + "\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.go" + + "ogleapis.com/FirebaseLink\022H\n\rfirebase_li" + + "nk\030\002 \001(\0132,.google.analytics.admin.v1alph" + + "a.FirebaseLinkB\003\340A\002\"]\n\031DeleteFirebaseLin" + + "kRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analytic" + + "sadmin.googleapis.com/FirebaseLink\"\205\001\n\030L" + + "istFirebaseLinksRequest\022B\n\006parent\030\001 \001(\tB" + + "2\340A\002\372A,\022*analyticsadmin.googleapis.com/F" + + "irebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"z\n\031ListFirebaseLinksResponse\022" + + "D\n\016firebase_links\030\001 \003(\0132,.google.analyti" + + "cs.admin.v1alpha.FirebaseLink\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\\\n\027GetGlobalSiteTagReques" + + "t\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin." + + "googleapis.com/GlobalSiteTag\"\256\001\n\032CreateG" + + "oogleAdsLinkRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" + + "\372A-\022+analyticsadmin.googleapis.com/Googl" + + "eAdsLink\022K\n\017google_ads_link\030\002 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink" + + "B\003\340A\002\"\232\001\n\032UpdateGoogleAdsLinkRequest\022F\n\017" + + "google_ads_link\030\001 \001(\0132-.google.analytics" + + ".admin.v1alpha.GoogleAdsLink\0224\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + + "A\002\"_\n\032DeleteGoogleAdsLinkRequest\022A\n\004name" + + "\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googleapi" + + "s.com/GoogleAdsLink\"\207\001\n\031ListGoogleAdsLin" + + "ksRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analy" + + "ticsadmin.googleapis.com/GoogleAdsLink\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n" + + "\032ListGoogleAdsLinksResponse\022G\n\020google_ad" + + "s_links\030\001 \003(\0132-.google.analytics.admin.v" + + "1alpha.GoogleAdsLink\022\027\n\017next_page_token\030" + + "\002 \001(\t\"h\n\035GetDataSharingSettingsRequest\022G" + + "\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyticsadmin.goo" + + "gleapis.com/DataSharingSettings\"D\n\033ListA" + + "ccountSummariesRequest\022\021\n\tpage_size\030\001 \001(" + + "\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAccountSum" + + "mariesResponse\022I\n\021account_summaries\030\001 \003(" + + "\0132..google.analytics.admin.v1alpha.Accou" + + "ntSummary\022\027\n\017next_page_token\030\002 \001(\t\"\206\001\n$A" + + "cknowledgeUserDataCollectionRequest\022@\n\010p" + + "roperty\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.go" + + "ogleapis.com/Property\022\034\n\017acknowledgement" + + "\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUserDataCollec" + + "tionResponse\"\203\004\n SearchChangeHistoryEven" + + "tsRequest\022>\n\007account\030\001 \001(\tB-\340A\002\372A\'\n%anal" + + "yticsadmin.googleapis.com/Account\022@\n\010pro" + + "perty\030\002 \001(\tB.\340A\001\372A(\n&analyticsadmin.goog" + + "leapis.com/Property\022U\n\rresource_type\030\003 \003" + + "(\01629.google.analytics.admin.v1alpha.Chan" + + "geHistoryResourceTypeB\003\340A\001\022?\n\006action\030\004 \003" + + "(\0162*.google.analytics.admin.v1alpha.Acti" + + "onTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\tB\003\340A\001\022=\n" + + "\024earliest_change_time\030\006 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\001\022;\n\022latest_change_ti" + + "me\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeHistoryEvents" + + "Response\022Q\n\025change_history_events\030\001 \003(\0132" + + "2.google.analytics.admin.v1alpha.ChangeH" + + "istoryEvent\022\027\n\017next_page_token\030\002 \001(\t\"t\n#" + + "GetMeasurementProtocolSecretRequest\022M\n\004n" + + "ame\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.google" + + "apis.com/MeasurementProtocolSecret\"\336\001\n&C" + + "reateMeasurementProtocolSecretRequest\022O\n" + + "\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsadmin.go" + + "ogleapis.com/MeasurementProtocolSecret\022c" + + "\n\033measurement_protocol_secret\030\002 \001(\01329.go" + + "ogle.analytics.admin.v1alpha.Measurement" + + "ProtocolSecretB\003\340A\002\"w\n&DeleteMeasurement" + + "ProtocolSecretRequest\022M\n\004name\030\001 \001(\tB?\340A\002" + + "\372A9\n7analyticsadmin.googleapis.com/Measu" + + "rementProtocolSecret\"\276\001\n&UpdateMeasureme" + + "ntProtocolSecretRequest\022c\n\033measurement_p" + + "rotocol_secret\030\001 \001(\01329.google.analytics." + + "admin.v1alpha.MeasurementProtocolSecretB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"\237\001\n%ListMeasurementProtoco" + + "lSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\022" + + "7analyticsadmin.googleapis.com/Measureme" + + "ntProtocolSecret\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"\242\001\n&ListMeasurementProto" + + "colSecretsResponse\022_\n\034measurement_protoc" + + "ol_secrets\030\001 \003(\01329.google.analytics.admi" + + "n.v1alpha.MeasurementProtocolSecret\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"l\n\037GetGoogleSignals" + + "SettingsRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3a" + + "nalyticsadmin.googleapis.com/GoogleSigna" + + "lsSettings\"\267\001\n\"UpdateGoogleSignalsSettin" + + "gsRequest\022[\n\027google_signals_settings\030\001 \001" + + "(\01325.google.analytics.admin.v1alpha.Goog" + + "leSignalsSettingsB\003\340A\002\0224\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\265\001\n" + + "\034CreateConversionEventRequest\022N\n\020convers" + + "ion_event\030\001 \001(\0132/.google.analytics.admin" + + ".v1alpha.ConversionEventB\003\340A\002\022E\n\006parent\030" + + "\002 \001(\tB5\340A\002\372A/\022-analyticsadmin.googleapis" + + ".com/ConversionEvent\"`\n\031GetConversionEve" + + "ntRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyti" + + "csadmin.googleapis.com/ConversionEvent\"c" + + "\n\034DeleteConversionEventRequest\022C\n\004name\030\001" + + " \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis." + + "com/ConversionEvent\"\213\001\n\033ListConversionEv" + + "entsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-ana" + + "lyticsadmin.googleapis.com/ConversionEve" + + "nt\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"\203\001\n\034ListConversionEventsResponse\022J\n\021co" + + "nversion_events\030\001 \003(\0132/.google.analytics" + + ".admin.v1alpha.ConversionEvent\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"|\n\'GetDisplayVideo360Adv" + + "ertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=" + + "\n;analyticsadmin.googleapis.com/DisplayV" + + "ideo360AdvertiserLink\"\247\001\n)ListDisplayVid" + + "eo360AdvertiserLinksRequest\022S\n\006parent\030\001 " + + "\001(\tBC\340A\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\"\360\001\n*CreateDisplayVideo360Adve" + + "rtiserLinkRequest\022S\n\006parent\030\001 \001(\tBC\340A\002\372A" + + "=\022;analyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLink\022m\n!display_video_" + + "360_advertiser_link\030\002 \001(\0132=.google.analy" + + "tics.admin.v1alpha.DisplayVideo360Advert" + + "iserLinkB\003\340A\002\"\177\n*DeleteDisplayVideo360Ad" + + "vertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A" + + "=\n;analyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLink\"\314\001\n*UpdateDisplay" + + "Video360AdvertiserLinkRequest\022h\n!display" + + "_video_360_advertiser_link\030\001 \001(\0132=.googl" + + "e.analytics.admin.v1alpha.DisplayVideo36" + + "0AdvertiserLink\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\"\214\001\n/GetDis" + + "playVideo360AdvertiserLinkProposalReques" + + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "LinkProposal\"\267\001\n1ListDisplayVideo360Adve" + + "rtiserLinkProposalsRequest\022[\n\006parent\030\001 \001" + + "(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis.co" + + "m/DisplayVideo360AdvertiserLinkProposal\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\311" + + "\001\n2ListDisplayVideo360AdvertiserLinkProp" + + "osalsResponse\022z\n+display_video_360_adver" + + "tiser_link_proposals\030\001 \003(\0132E.google.anal" + + "ytics.admin.v1alpha.DisplayVideo360Adver" + + "tiserLinkProposal\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\221\002\n2CreateDisplayVideo360AdvertiserLi" + + "nkProposalRequest\022[\n\006parent\030\001 \001(\tBK\340A\002\372A" + + "E\022Canalyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLinkProposal\022~\n*displa" + + "y_video_360_advertiser_link_proposal\030\002 \001" + + "(\0132E.google.analytics.admin.v1alpha.Disp" + + "layVideo360AdvertiserLinkProposalB\003\340A\002\"\217" + + "\001\n2DeleteDisplayVideo360AdvertiserLinkPr" + + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + + "lyticsadmin.googleapis.com/DisplayVideo3" + + "60AdvertiserLinkProposal\"\220\001\n3ApproveDisp" + + "layVideo360AdvertiserLinkProposalRequest" + + "\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin.g" + + "oogleapis.com/DisplayVideo360AdvertiserL" + + "inkProposal\"\240\001\n4ApproveDisplayVideo360Ad" + + "vertiserLinkProposalResponse\022h\n!display_" + + "video_360_advertiser_link\030\001 \001(\0132=.google" + + ".analytics.admin.v1alpha.DisplayVideo360" + + "AdvertiserLink\"\217\001\n2CancelDisplayVideo360" + + "AdvertiserLinkProposalRequest\022Y\n\004name\030\001 " + + "\001(\tBK\340A\002\372AE\nCanalyticsadmin.googleapis.c" + + "om/DisplayVideo360AdvertiserLinkProposal" + + "\"\265\001\n\034CreateCustomDimensionRequest\022E\n\006par" + + "ent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.google" + + "apis.com/CustomDimension\022N\n\020custom_dimen" + + "sion\030\002 \001(\0132/.google.analytics.admin.v1al" + + "pha.CustomDimensionB\003\340A\002\"\237\001\n\034UpdateCusto" + + "mDimensionRequest\022I\n\020custom_dimension\030\001 " + + "\001(\0132/.google.analytics.admin.v1alpha.Cus" + + "tomDimension\0224\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCusto" + + "mDimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372" + + "A/\022-analyticsadmin.googleapis.com/Custom" + + "Dimension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"\203\001\n\034ListCustomDimensionsRespons" + + "e\022J\n\021custom_dimensions\030\001 \003(\0132/.google.an" + + "alytics.admin.v1alpha.CustomDimension\022\027\n" + + "\017next_page_token\030\002 \001(\t\"d\n\035ArchiveCustomD" + + "imensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-a" + + "nalyticsadmin.googleapis.com/CustomDimen" + + "sion\"`\n\031GetCustomDimensionRequest\022C\n\004nam" + + "e\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleap" + + "is.com/CustomDimension\"\251\001\n\031CreateCustomM" + + "etricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/CustomMetric" + + "\022H\n\rcustom_metric\030\002 \001(\0132,.google.analyti" + + "cs.admin.v1alpha.CustomMetricB\003\340A\002\"\226\001\n\031U" + + "pdateCustomMetricRequest\022C\n\rcustom_metri" + + "c\030\001 \001(\0132,.google.analytics.admin.v1alpha" + + ".CustomMetric\0224\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCust" + + "omMetricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A," + + "\022*analyticsadmin.googleapis.com/CustomMe" + + "tric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"z\n\031ListCustomMetricsResponse\022D\n\016cust" + + "om_metrics\030\001 \003(\0132,.google.analytics.admi" + + "n.v1alpha.CustomMetric\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"^\n\032ArchiveCustomMetricRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + + "leapis.com/CustomMetric\"Z\n\026GetCustomMetr" + + "icRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyti" + + "csadmin.googleapis.com/CustomMetric\"l\n\037G" + + "etDataRetentionSettingsRequest\022I\n\004name\030\001" + + " \001(\tB;\340A\002\372A5\n3analyticsadmin.googleapis." + + "com/DataRetentionSettings\"\267\001\n\"UpdateData" + + "RetentionSettingsRequest\022[\n\027data_retenti" + + "on_settings\030\001 \001(\01325.google.analytics.adm" + + "in.v1alpha.DataRetentionSettingsB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\003\340A\002\"\241\001\n\027CreateDataStreamRequest\022" + + "@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin." + + "googleapis.com/DataStream\022D\n\013data_stream" + + "\030\002 \001(\0132*.google.analytics.admin.v1alpha." + + "DataStreamB\003\340A\002\"Y\n\027DeleteDataStreamReque" + + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin" + + ".googleapis.com/DataStream\"\220\001\n\027UpdateDat" + + "aStreamRequest\022?\n\013data_stream\030\001 \001(\0132*.go" + + "ogle.analytics.admin.v1alpha.DataStream\022" + + "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\003\340A\002\"\201\001\n\026ListDataStreamsRequest" + + "\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin" + + ".googleapis.com/DataStream\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListDataStr" + + "eamsResponse\022@\n\014data_streams\030\001 \003(\0132*.goo" + + "gle.analytics.admin.v1alpha.DataStream\022\027" + + "\n\017next_page_token\030\002 \001(\t\"V\n\024GetDataStream" + + "Request\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analytics" + + "admin.googleapis.com/DataStream2\363\236\001\n\025Ana" + + "lyticsAdminService\022\223\001\n\nGetAccount\0221.goog" + + "le.analytics.admin.v1alpha.GetAccountReq" + + "uest\032\'.google.analytics.admin.v1alpha.Ac" + + "count\")\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*" + + "}\332A\004name\022\224\001\n\014ListAccounts\0223.google.analy" + + "tics.admin.v1alpha.ListAccountsRequest\0324" + + ".google.analytics.admin.v1alpha.ListAcco" + + "untsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022" + + "\210\001\n\rDeleteAccount\0224.google.analytics.adm" + + "in.v1alpha.DeleteAccountRequest\032\026.google" + + ".protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha/{name=" + + "accounts/*}\332A\004name\022\271\001\n\rUpdateAccount\0224.g" + + "oogle.analytics.admin.v1alpha.UpdateAcco" + + "untRequest\032\'.google.analytics.admin.v1al" + + "pha.Account\"I\202\323\344\223\002-2\"/v1alpha/{account.n" + + "ame=accounts/*}:\007account\332A\023account,updat" + + "e_mask\022\314\001\n\026ProvisionAccountTicket\022=.goog" + + "le.analytics.admin.v1alpha.ProvisionAcco" + + "untTicketRequest\032>.google.analytics.admi", + "n.v1alpha.ProvisionAccountTicketResponse" + + "\"3\202\323\344\223\002-\"(/v1alpha/accounts:provisionAcc" + + "ountTicket:\001*\022\264\001\n\024ListAccountSummaries\022;" + + ".google.analytics.admin.v1alpha.ListAcco" + + "untSummariesRequest\032<.google.analytics.a" + + "dmin.v1alpha.ListAccountSummariesRespons" + + "e\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummaries\022\230\001\n" + + "\013GetProperty\0222.google.analytics.admin.v1" + + "alpha.GetPropertyRequest\032(.google.analyt" + + "ics.admin.v1alpha.Property\"+\202\323\344\223\002\036\022\034/v1a" + + "lpha/{name=properties/*}\332A\004name\022\234\001\n\016List" + + "Properties\0225.google.analytics.admin.v1al" + + "pha.ListPropertiesRequest\0326.google.analy" + + "tics.admin.v1alpha.ListPropertiesRespons" + + "e\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001\n\016Creat" + + "eProperty\0225.google.analytics.admin.v1alp" + + "ha.CreatePropertyRequest\032(.google.analyt" + + "ics.admin.v1alpha.Property\"0\202\323\344\223\002\037\"\023/v1a" + + "lpha/properties:\010property\332A\010property\022\236\001\n" + + "\016DeleteProperty\0225.google.analytics.admin" + + ".v1alpha.DeletePropertyRequest\032(.google." + + "analytics.admin.v1alpha.Property\"+\202\323\344\223\002\036" + + "*\034/v1alpha/{name=properties/*}\332A\004name\022\301\001" + + "\n\016UpdateProperty\0225.google.analytics.admi" + + "n.v1alpha.UpdatePropertyRequest\032(.google" + + ".analytics.admin.v1alpha.Property\"N\202\323\344\223\002" + + "12%/v1alpha/{property.name=properties/*}" + + ":\010property\332A\024property,update_mask\022\316\001\n\013Ge" + + "tUserLink\0222.google.analytics.admin.v1alp" + + "ha.GetUserLinkRequest\032(.google.analytics" + + ".admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&/v1alph" + + "a/{name=accounts/*/userLinks/*}Z*\022(/v1al" + + "pha/{name=properties/*/userLinks/*}\332A\004na" + + "me\022\366\001\n\021BatchGetUserLinks\0228.google.analyt" + + "ics.admin.v1alpha.BatchGetUserLinksReque" + + "st\0329.google.analytics.admin.v1alpha.Batc" + + "hGetUserLinksResponse\"l\202\323\344\223\002f\022//v1alpha/" + + "{parent=accounts/*}/userLinks:batchGetZ3" + + "\0221/v1alpha/{parent=properties/*}/userLin" + + "ks:batchGet\022\341\001\n\rListUserLinks\0224.google.a" + + "nalytics.admin.v1alpha.ListUserLinksRequ" + + "est\0325.google.analytics.admin.v1alpha.Lis" + + "tUserLinksResponse\"c\202\323\344\223\002T\022&/v1alpha/{pa" + + "rent=accounts/*}/userLinksZ*\022(/v1alpha/{" + + "parent=properties/*}/userLinks\332A\006parent\022" + + "\355\001\n\016AuditUserLinks\0225.google.analytics.ad" + + "min.v1alpha.AuditUserLinksRequest\0326.goog" + + "le.analytics.admin.v1alpha.AuditUserLink" + + "sResponse\"l\202\323\344\223\002f\",/v1alpha/{parent=acco" + + "unts/*}/userLinks:audit:\001*Z3\"./v1alpha/{" + + "parent=properties/*}/userLinks:audit:\001*\022" + + "\367\001\n\016CreateUserLink\0225.google.analytics.ad" + + "min.v1alpha.CreateUserLinkRequest\032(.goog" + + "le.analytics.admin.v1alpha.UserLink\"\203\001\202\323" + + "\344\223\002j\"&/v1alpha/{parent=accounts/*}/userL" + + "inks:\tuser_linkZ5\"(/v1alpha/{parent=prop" + + "erties/*}/userLinks:\tuser_link\332A\020parent," + + "user_link\022\213\002\n\024BatchCreateUserLinks\022;.goo" + + "gle.analytics.admin.v1alpha.BatchCreateU" + + "serLinksRequest\032<.google.analytics.admin" + + ".v1alpha.BatchCreateUserLinksResponse\"x\202" + + "\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/user" + + "Links:batchCreate:\001*Z9\"4/v1alpha/{parent" + + "=properties/*}/userLinks:batchCreate:\001*\022" + + "\204\002\n\016UpdateUserLink\0225.google.analytics.ad" + + "min.v1alpha.UpdateUserLinkRequest\032(.goog" + + "le.analytics.admin.v1alpha.UserLink\"\220\001\202\323" + + "\344\223\002~20/v1alpha/{user_link.name=accounts/" + + "*/userLinks/*}:\tuser_linkZ?22/v1alpha/{u" + + "ser_link.name=properties/*/userLinks/*}:" + + "\tuser_link\332A\tuser_link\022\213\002\n\024BatchUpdateUs" + + "erLinks\022;.google.analytics.admin.v1alpha" + + ".BatchUpdateUserLinksRequest\032<.google.an" + + "alytics.admin.v1alpha.BatchUpdateUserLin" + + "ksResponse\"x\202\323\344\223\002r\"2/v1alpha/{parent=acc" + + "ounts/*}/userLinks:batchUpdate:\001*Z9\"4/v1" + + "alpha/{parent=properties/*}/userLinks:ba" + + "tchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225.google" + + ".analytics.admin.v1alpha.DeleteUserLinkR" + + "equest\032\026.google.protobuf.Empty\"a\202\323\344\223\002T*&" + + "/v1alpha/{name=accounts/*/userLinks/*}Z*" + + "*(/v1alpha/{name=properties/*/userLinks/" + + "*}\332A\004name\022\345\001\n\024BatchDeleteUserLinks\022;.goo" + + "gle.analytics.admin.v1alpha.BatchDeleteU" + + "serLinksRequest\032\026.google.protobuf.Empty\"" + + "x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/us" + + "erLinks:batchDelete:\001*Z9\"4/v1alpha/{pare" + + "nt=properties/*}/userLinks:batchDelete:\001" + + "*\022\270\001\n\020GetWebDataStream\0227.google.analytic" + + "s.admin.v1alpha.GetWebDataStreamRequest\032" + + "-.google.analytics.admin.v1alpha.WebData" + + "Stream\"<\202\323\344\223\002/\022-/v1alpha/{name=propertie" + + "s/*/webDataStreams/*}\332A\004name\022\247\001\n\023DeleteW" + + "ebDataStream\022:.google.analytics.admin.v1" + + "alpha.DeleteWebDataStreamRequest\032\026.googl" + + "e.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{name" + + "=properties/*/webDataStreams/*}\332A\004name\022\366" + + "\001\n\023UpdateWebDataStream\022:.google.analytic" + + "s.admin.v1alpha.UpdateWebDataStreamReque" + + "st\032-.google.analytics.admin.v1alpha.WebD" + + "ataStream\"t\202\323\344\223\002P2=/v1alpha/{web_data_st" + + "ream.name=properties/*/webDataStreams/*}" + + ":\017web_data_stream\332A\033web_data_stream,upda" + + "te_mask\022\341\001\n\023CreateWebDataStream\022:.google" + + ".analytics.admin.v1alpha.CreateWebDataSt" + + "reamRequest\032-.google.analytics.admin.v1a" + + "lpha.WebDataStream\"_\202\323\344\223\002@\"-/v1alpha/{pa" + + "rent=properties/*}/webDataStreams:\017web_d" + + "ata_stream\332A\026parent,web_data_stream\022\313\001\n\022" + + "ListWebDataStreams\0229.google.analytics.ad" + + "min.v1alpha.ListWebDataStreamsRequest\032:." + + "google.analytics.admin.v1alpha.ListWebDa" + + "taStreamsResponse\">\202\323\344\223\002/\022-/v1alpha/{par" + + "ent=properties/*}/webDataStreams\332A\006paren" + + "t\022\304\001\n\023GetIosAppDataStream\022:.google.analy" + + "tics.admin.v1alpha.GetIosAppDataStreamRe" + + "quest\0320.google.analytics.admin.v1alpha.I" + + "osAppDataStream\"?\202\323\344\223\0022\0220/v1alpha/{name=" + + "properties/*/iosAppDataStreams/*}\332A\004name" + + "\022\260\001\n\026DeleteIosAppDataStream\022=.google.ana" + + "lytics.admin.v1alpha.DeleteIosAppDataStr" + + "eamRequest\032\026.google.protobuf.Empty\"?\202\323\344\223" + + "\0022*0/v1alpha/{name=properties/*/iosAppDa" + + "taStreams/*}\332A\004name\022\217\002\n\026UpdateIosAppData" + + "Stream\022=.google.analytics.admin.v1alpha." + + "UpdateIosAppDataStreamRequest\0320.google.a" + + "nalytics.admin.v1alpha.IosAppDataStream\"" + + "\203\001\202\323\344\223\002[2D/v1alpha/{ios_app_data_stream." + + "name=properties/*/iosAppDataStreams/*}:\023" + + "ios_app_data_stream\332A\037ios_app_data_strea" + + "m,update_mask\022\327\001\n\025ListIosAppDataStreams\022" + + "<.google.analytics.admin.v1alpha.ListIos" + + "AppDataStreamsRequest\032=.google.analytics" + + ".admin.v1alpha.ListIosAppDataStreamsResp" + + "onse\"A\202\323\344\223\0022\0220/v1alpha/{parent=propertie" + + "s/*}/iosAppDataStreams\332A\006parent\022\324\001\n\027GetA" + + "ndroidAppDataStream\022>.google.analytics.a" + + "dmin.v1alpha.GetAndroidAppDataStreamRequ" + + "est\0324.google.analytics.admin.v1alpha.And" + + "roidAppDataStream\"C\202\323\344\223\0026\0224/v1alpha/{nam" + + "e=properties/*/androidAppDataStreams/*}\332" + + "A\004name\022\274\001\n\032DeleteAndroidAppDataStream\022A." + + "google.analytics.admin.v1alpha.DeleteAnd" + + "roidAppDataStreamRequest\032\026.google.protob" + + "uf.Empty\"C\202\323\344\223\0026*4/v1alpha/{name=propert" + + "ies/*/androidAppDataStreams/*}\332A\004name\022\253\002" + + "\n\032UpdateAndroidAppDataStream\022A.google.an" + + "alytics.admin.v1alpha.UpdateAndroidAppDa" + + "taStreamRequest\0324.google.analytics.admin" + + ".v1alpha.AndroidAppDataStream\"\223\001\202\323\344\223\002g2L" + + "/v1alpha/{android_app_data_stream.name=p" + + "roperties/*/androidAppDataStreams/*}:\027an" + + "droid_app_data_stream\332A#android_app_data" + + "_stream,update_mask\022\347\001\n\031ListAndroidAppDa" + + "taStreams\022@.google.analytics.admin.v1alp" + + "ha.ListAndroidAppDataStreamsRequest\032A.go" + + "ogle.analytics.admin.v1alpha.ListAndroid" + + "AppDataStreamsResponse\"E\202\323\344\223\0026\0224/v1alpha" + + "/{parent=properties/*}/androidAppDataStr" + + "eams\332A\006parent\022\331\001\n\022CreateFirebaseLink\0229.g" + + "oogle.analytics.admin.v1alpha.CreateFire" + + "baseLinkRequest\032,.google.analytics.admin" + + ".v1alpha.FirebaseLink\"Z\202\323\344\223\002=\",/v1alpha/" + + "{parent=properties/*}/firebaseLinks:\rfir" + + "ebase_link\332A\024parent,firebase_link\022\244\001\n\022De" + + "leteFirebaseLink\0229.google.analytics.admi" + + "n.v1alpha.DeleteFirebaseLinkRequest\032\026.go" + + "ogle.protobuf.Empty\";\202\323\344\223\002.*,/v1alpha/{n" + + "ame=properties/*/firebaseLinks/*}\332A\004name" + + "\022\307\001\n\021ListFirebaseLinks\0228.google.analytic" + + "s.admin.v1alpha.ListFirebaseLinksRequest" + + "\0329.google.analytics.admin.v1alpha.ListFi" + + "rebaseLinksResponse\"=\202\323\344\223\002.\022,/v1alpha/{p" + + "arent=properties/*}/firebaseLinks\332A\006pare" + + "nt\022\306\001\n\020GetGlobalSiteTag\0227.google.analyti" + + "cs.admin.v1alpha.GetGlobalSiteTagRequest" + + "\032-.google.analytics.admin.v1alpha.Global" + + "SiteTag\"J\202\323\344\223\002=\022;/v1alpha/{name=properti" + + "es/*/webDataStreams/*/globalSiteTag}\332A\004n" + + "ame\022\341\001\n\023CreateGoogleAdsLink\022:.google.ana" + + "lytics.admin.v1alpha.CreateGoogleAdsLink" + + "Request\032-.google.analytics.admin.v1alpha" + + ".GoogleAdsLink\"_\202\323\344\223\002@\"-/v1alpha/{parent" + + "=properties/*}/googleAdsLinks:\017google_ad" + + "s_link\332A\026parent,google_ads_link\022\366\001\n\023Upda" + + "teGoogleAdsLink\022:.google.analytics.admin" + + ".v1alpha.UpdateGoogleAdsLinkRequest\032-.go" + + "ogle.analytics.admin.v1alpha.GoogleAdsLi" + + "nk\"t\202\323\344\223\002P2=/v1alpha/{google_ads_link.na" + + "me=properties/*/googleAdsLinks/*}:\017googl" + + "e_ads_link\332A\033google_ads_link,update_mask" + + "\022\247\001\n\023DeleteGoogleAdsLink\022:.google.analyt" + + "ics.admin.v1alpha.DeleteGoogleAdsLinkReq" + + "uest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/*-/v" + + "1alpha/{name=properties/*/googleAdsLinks" + + "/*}\332A\004name\022\313\001\n\022ListGoogleAdsLinks\0229.goog" + + "le.analytics.admin.v1alpha.ListGoogleAds" + + "LinksRequest\032:.google.analytics.admin.v1" + + "alpha.ListGoogleAdsLinksResponse\">\202\323\344\223\002/" + + "\022-/v1alpha/{parent=properties/*}/googleA" + + "dsLinks\332A\006parent\022\313\001\n\026GetDataSharingSetti" + + "ngs\022=.google.analytics.admin.v1alpha.Get" + + "DataSharingSettingsRequest\0323.google.anal" + + "ytics.admin.v1alpha.DataSharingSettings\"" + + "=\202\323\344\223\0020\022./v1alpha/{name=accounts/*/dataS" + + "haringSettings}\332A\004name\022\241\003\n\034GetMeasuremen" + + "tProtocolSecret\022C.google.analytics.admin" + + ".v1alpha.GetMeasurementProtocolSecretReq" + + "uest\0329.google.analytics.admin.v1alpha.Me" + + "asurementProtocolSecret\"\200\002\202\323\344\223\002\362\001\022J/v1al" + + "pha/{name=properties/*/webDataStreams/*/" + + "measurementProtocolSecrets/*}ZO\022M/v1alph" + + "a/{name=properties/*/iosAppDataStreams/*" + + "/measurementProtocolSecrets/*}ZS\022Q/v1alp" + + "ha/{name=properties/*/androidAppDataStre" + + "ams/*/measurementProtocolSecrets/*}\332A\004na" + + "me\022\264\003\n\036ListMeasurementProtocolSecrets\022E." + + "google.analytics.admin.v1alpha.ListMeasu" + + "rementProtocolSecretsRequest\032F.google.an" + + "alytics.admin.v1alpha.ListMeasurementPro" + + "tocolSecretsResponse\"\202\002\202\323\344\223\002\362\001\022J/v1alpha" + + "/{parent=properties/*/webDataStreams/*}/" + + "measurementProtocolSecretsZO\022M/v1alpha/{" + + "parent=properties/*/iosAppDataStreams/*}" + + "/measurementProtocolSecretsZS\022Q/v1alpha/" + + "{parent=properties/*/androidAppDataStrea" + + "ms/*}/measurementProtocolSecrets\332A\006paren" + + "t\022\234\004\n\037CreateMeasurementProtocolSecret\022F." + + "google.analytics.admin.v1alpha.CreateMea" + + "surementProtocolSecretRequest\0329.google.a" + + "nalytics.admin.v1alpha.MeasurementProtoc" + + "olSecret\"\365\002\202\323\344\223\002\311\002\"J/v1alpha/{parent=pro" + + "perties/*/webDataStreams/*}/measurementP" + + "rotocolSecrets:\033measurement_protocol_sec" + + "retZl\"M/v1alpha/{parent=properties/*/ios" + + "AppDataStreams/*}/measurementProtocolSec" + + "rets:\033measurement_protocol_secretZp\"Q/v1" + + "alpha/{parent=properties/*/androidAppDat" + + "aStreams/*}/measurementProtocolSecrets:\033" + + "measurement_protocol_secret\332A\"parent,mea" + + "surement_protocol_secret\022\204\003\n\037DeleteMeasu" + + "rementProtocolSecret\022F.google.analytics." + + "admin.v1alpha.DeleteMeasurementProtocolS" + + "ecretRequest\032\026.google.protobuf.Empty\"\200\002\202" + + "\323\344\223\002\362\001*J/v1alpha/{name=properties/*/webD" + + "ataStreams/*/measurementProtocolSecrets/" + + "*}ZO*M/v1alpha/{name=properties/*/iosApp" + + "DataStreams/*/measurementProtocolSecrets" + + "/*}ZS*Q/v1alpha/{name=properties/*/andro" + + "idAppDataStreams/*/measurementProtocolSe" + + "crets/*}\332A\004name\022\367\004\n\037UpdateMeasurementPro" + + "tocolSecret\022F.google.analytics.admin.v1a" + + "lpha.UpdateMeasurementProtocolSecretRequ" + + "est\0329.google.analytics.admin.v1alpha.Mea" + + "surementProtocolSecret\"\320\003\202\323\344\223\002\237\0032f/v1alp" + + "ha/{measurement_protocol_secret.name=pro" + + "perties/*/webDataStreams/*/measurementPr" + + "otocolSecrets/*}:\033measurement_protocol_s" + + "ecretZ\210\0012i/v1alpha/{measurement_protocol" + + "_secret.name=properties/*/iosAppDataStre" + + "ams/*/measurementProtocolSecrets/*}:\033mea" + + "surement_protocol_secretZ\214\0012m/v1alpha/{m" + + "easurement_protocol_secret.name=properti" + + "es/*/androidAppDataStreams/*/measurement" + + "ProtocolSecrets/*}:\033measurement_protocol" + + "_secret\332A\'measurement_protocol_secret,up" + + "date_mask\022\367\001\n\035AcknowledgeUserDataCollect" + + "ion\022D.google.analytics.admin.v1alpha.Ack" + + "nowledgeUserDataCollectionRequest\032E.goog" + + "le.analytics.admin.v1alpha.AcknowledgeUs" + + "erDataCollectionResponse\"I\202\323\344\223\002C\">/v1alp" + + "ha/{property=properties/*}:acknowledgeUs" + + "erDataCollection:\001*\022\344\001\n\031SearchChangeHist" + + "oryEvents\022@.google.analytics.admin.v1alp" + + "ha.SearchChangeHistoryEventsRequest\032A.go" + + "ogle.analytics.admin.v1alpha.SearchChang" + + "eHistoryEventsResponse\"B\202\323\344\223\002<\"7/v1alpha" + + "/{account=accounts/*}:searchChangeHistor" + + "yEvents:\001*\022\325\001\n\030GetGoogleSignalsSettings\022" + + "?.google.analytics.admin.v1alpha.GetGoog" + + "leSignalsSettingsRequest\0325.google.analyt" + + "ics.admin.v1alpha.GoogleSignalsSettings\"" + + "A\202\323\344\223\0024\0222/v1alpha/{name=properties/*/goo" + + "gleSignalsSettings}\332A\004name\022\254\002\n\033UpdateGoo" + + "gleSignalsSettings\022B.google.analytics.ad" + + "min.v1alpha.UpdateGoogleSignalsSettingsR" + + "equest\0325.google.analytics.admin.v1alpha." + + "GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v1alpha" + + "/{google_signals_settings.name=propertie" + + "s/*/googleSignalsSettings}:\027google_signa" + + "ls_settings\332A#google_signals_settings,up" + + "date_mask\022\353\001\n\025CreateConversionEvent\022<.go" + + "ogle.analytics.admin.v1alpha.CreateConve" + + "rsionEventRequest\032/.google.analytics.adm" + + "in.v1alpha.ConversionEvent\"c\202\323\344\223\002C\"//v1a" + + "lpha/{parent=properties/*}/conversionEve" + + "nts:\020conversion_event\332A\027parent,conversio" + + "n_event\022\300\001\n\022GetConversionEvent\0229.google." + + "analytics.admin.v1alpha.GetConversionEve" + + "ntRequest\032/.google.analytics.admin.v1alp" + + "ha.ConversionEvent\">\202\323\344\223\0021\022//v1alpha/{na" + + "me=properties/*/conversionEvents/*}\332A\004na" + + "me\022\255\001\n\025DeleteConversionEvent\022<.google.an" + + "alytics.admin.v1alpha.DeleteConversionEv" + + "entRequest\032\026.google.protobuf.Empty\">\202\323\344\223" + + "\0021*//v1alpha/{name=properties/*/conversi" + + "onEvents/*}\332A\004name\022\323\001\n\024ListConversionEve" + + "nts\022;.google.analytics.admin.v1alpha.Lis" + + "tConversionEventsRequest\032<.google.analyt" + + "ics.admin.v1alpha.ListConversionEventsRe" + + "sponse\"@\202\323\344\223\0021\022//v1alpha/{parent=propert" + + "ies/*}/conversionEvents\332A\006parent\022\370\001\n Get" + + "DisplayVideo360AdvertiserLink\022G.google.a" + + "nalytics.admin.v1alpha.GetDisplayVideo36" + + "0AdvertiserLinkRequest\032=.google.analytic" + + "s.admin.v1alpha.DisplayVideo360Advertise" + + "rLink\"L\202\323\344\223\002?\022=/v1alpha/{name=properties" + + "/*/displayVideo360AdvertiserLinks/*}\332A\004n" + + "ame\022\213\002\n\"ListDisplayVideo360AdvertiserLin" + + "ks\022I.google.analytics.admin.v1alpha.List" + + "DisplayVideo360AdvertiserLinksRequest\032J." + + "google.analytics.admin.v1alpha.ListDispl" + + "ayVideo360AdvertiserLinksResponse\"N\202\323\344\223\002" + + "?\022=/v1alpha/{parent=properties/*}/displa" + + "yVideo360AdvertiserLinks\332A\006parent\022\306\002\n#Cr" + + "eateDisplayVideo360AdvertiserLink\022J.goog" + + "le.analytics.admin.v1alpha.CreateDisplay" + + "Video360AdvertiserLinkRequest\032=.google.a" + + "nalytics.admin.v1alpha.DisplayVideo360Ad" + + "vertiserLink\"\223\001\202\323\344\223\002b\"=/v1alpha/{parent=" + + "properties/*}/displayVideo360AdvertiserL" + + "inks:!display_video_360_advertiser_link\332" + + "A(parent,display_video_360_advertiser_li" + + "nk\022\327\001\n#DeleteDisplayVideo360AdvertiserLi" + + "nk\022J.google.analytics.admin.v1alpha.Dele" + + "teDisplayVideo360AdvertiserLinkRequest\032\026" + + ".google.protobuf.Empty\"L\202\323\344\223\002?*=/v1alpha" + + "/{name=properties/*/displayVideo360Adver" + + "tiserLinks/*}\332A\004name\022\356\002\n#UpdateDisplayVi" + + "deo360AdvertiserLink\022J.google.analytics." + + "admin.v1alpha.UpdateDisplayVideo360Adver" + + "tiserLinkRequest\032=.google.analytics.admi" + + "n.v1alpha.DisplayVideo360AdvertiserLink\"" + + "\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video_360_a" + + "dvertiser_link.name=properties/*/display" + + "Video360AdvertiserLinks/*}:!display_vide" + + "o_360_advertiser_link\332A-display_video_36" + + "0_advertiser_link,update_mask\022\230\002\n(GetDis" + + "playVideo360AdvertiserLinkProposal\022O.goo" + + "gle.analytics.admin.v1alpha.GetDisplayVi" + + "deo360AdvertiserLinkProposalRequest\032E.go" + + "ogle.analytics.admin.v1alpha.DisplayVide" + + "o360AdvertiserLinkProposal\"T\202\323\344\223\002G\022E/v1a" + + "lpha/{name=properties/*/displayVideo360A" + + "dvertiserLinkProposals/*}\332A\004name\022\253\002\n*Lis" + + "tDisplayVideo360AdvertiserLinkProposals\022" + + "Q.google.analytics.admin.v1alpha.ListDis" + + "playVideo360AdvertiserLinkProposalsReque" + + "st\032R.google.analytics.admin.v1alpha.List" + + "DisplayVideo360AdvertiserLinkProposalsRe" + + "sponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=propert" + + "ies/*}/displayVideo360AdvertiserLinkProp" + + "osals\332A\006parent\022\370\002\n+CreateDisplayVideo360" + + "AdvertiserLinkProposal\022R.google.analytic" + + "s.admin.v1alpha.CreateDisplayVideo360Adv" + + "ertiserLinkProposalRequest\032E.google.anal" + + "ytics.admin.v1alpha.DisplayVideo360Adver" + + "tiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alpha/{pa" + + "rent=properties/*}/displayVideo360Advert" + + "iserLinkProposals:*display_video_360_adv" + + "ertiser_link_proposal\332A1parent,display_v" + + "ideo_360_advertiser_link_proposal\022\357\001\n+De" + + "leteDisplayVideo360AdvertiserLinkProposa" + + "l\022R.google.analytics.admin.v1alpha.Delet" + + "eDisplayVideo360AdvertiserLinkProposalRe" + + "quest\032\026.google.protobuf.Empty\"T\202\323\344\223\002G*E/" + + "v1alpha/{name=properties/*/displayVideo3" + + "60AdvertiserLinkProposals/*}\332A\004name\022\263\002\n," + + "ApproveDisplayVideo360AdvertiserLinkProp" + + "osal\022S.google.analytics.admin.v1alpha.Ap" + + "proveDisplayVideo360AdvertiserLinkPropos" + + "alRequest\032T.google.analytics.admin.v1alp" + + "ha.ApproveDisplayVideo360AdvertiserLinkP" + + "roposalResponse\"X\202\323\344\223\002R\"M/v1alpha/{name=" + + "properties/*/displayVideo360AdvertiserLi" + + "nkProposals/*}:approve:\001*\022\241\002\n+CancelDisp" + + "layVideo360AdvertiserLinkProposal\022R.goog" + + "le.analytics.admin.v1alpha.CancelDisplay" + + "Video360AdvertiserLinkProposalRequest\032E." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkProposal\"W\202\323\344\223\002Q\"L/v" + + "1alpha/{name=properties/*/displayVideo36" + + "0AdvertiserLinkProposals/*}:cancel:\001*\022\353\001" + + "\n\025CreateCustomDimension\022<.google.analyti" + + "cs.admin.v1alpha.CreateCustomDimensionRe" + + "quest\032/.google.analytics.admin.v1alpha.C" + + "ustomDimension\"c\202\323\344\223\002C\"//v1alpha/{parent" + + "=properties/*}/customDimensions:\020custom_" + + "dimension\332A\027parent,custom_dimension\022\201\002\n\025" + + "UpdateCustomDimension\022<.google.analytics", + ".admin.v1alpha.UpdateCustomDimensionRequ" + + "est\032/.google.analytics.admin.v1alpha.Cus" + + "tomDimension\"y\202\323\344\223\002T2@/v1alpha/{custom_d" + + "imension.name=properties/*/customDimensi" + + "ons/*}:\020custom_dimension\332A\034custom_dimens" + + "ion,update_mask\022\323\001\n\024ListCustomDimensions" + + "\022;.google.analytics.admin.v1alpha.ListCu" + + "stomDimensionsRequest\032<.google.analytics" + + ".admin.v1alpha.ListCustomDimensionsRespo" + + "nse\"@\202\323\344\223\0021\022//v1alpha/{parent=properties" + + "/*}/customDimensions\332A\006parent\022\272\001\n\026Archiv" + + "eCustomDimension\022=.google.analytics.admi" + + "n.v1alpha.ArchiveCustomDimensionRequest\032" + + "\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/v1alph" + + "a/{name=properties/*/customDimensions/*}" + + ":archive:\001*\332A\004name\022\300\001\n\022GetCustomDimensio" + + "n\0229.google.analytics.admin.v1alpha.GetCu" + + "stomDimensionRequest\032/.google.analytics." + + "admin.v1alpha.CustomDimension\">\202\323\344\223\0021\022//" + + "v1alpha/{name=properties/*/customDimensi" + + "ons/*}\332A\004name\022\331\001\n\022CreateCustomMetric\0229.g" + + "oogle.analytics.admin.v1alpha.CreateCust" + + "omMetricRequest\032,.google.analytics.admin" + + ".v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1alpha/" + + "{parent=properties/*}/customMetrics:\rcus" + + "tom_metric\332A\024parent,custom_metric\022\354\001\n\022Up" + + "dateCustomMetric\0229.google.analytics.admi" + + "n.v1alpha.UpdateCustomMetricRequest\032,.go" + + "ogle.analytics.admin.v1alpha.CustomMetri" + + "c\"m\202\323\344\223\002K2:/v1alpha/{custom_metric.name=" + + "properties/*/customMetrics/*}:\rcustom_me" + + "tric\332A\031custom_metric,update_mask\022\307\001\n\021Lis" + + "tCustomMetrics\0228.google.analytics.admin." + + "v1alpha.ListCustomMetricsRequest\0329.googl" + + "e.analytics.admin.v1alpha.ListCustomMetr" + + "icsResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=pr" + + "operties/*}/customMetrics\332A\006parent\022\261\001\n\023A" + + "rchiveCustomMetric\022:.google.analytics.ad" + + "min.v1alpha.ArchiveCustomMetricRequest\032\026" + + ".google.protobuf.Empty\"F\202\323\344\223\0029\"4/v1alpha" + + "/{name=properties/*/customMetrics/*}:arc" + + "hive:\001*\332A\004name\022\264\001\n\017GetCustomMetric\0226.goo" + + "gle.analytics.admin.v1alpha.GetCustomMet" + + "ricRequest\032,.google.analytics.admin.v1al" + + "pha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha/{name" + + "=properties/*/customMetrics/*}\332A\004name\022\325\001" + + "\n\030GetDataRetentionSettings\022?.google.anal" + + "ytics.admin.v1alpha.GetDataRetentionSett" + + "ingsRequest\0325.google.analytics.admin.v1a" + + "lpha.DataRetentionSettings\"A\202\323\344\223\0024\0222/v1a" + + "lpha/{name=properties/*/dataRetentionSet" + + "tings}\332A\004name\022\254\002\n\033UpdateDataRetentionSet" + + "tings\022B.google.analytics.admin.v1alpha.U" + + "pdateDataRetentionSettingsRequest\0325.goog" + + "le.analytics.admin.v1alpha.DataRetention" + + "Settings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_retent" + + "ion_settings.name=properties/*/dataReten" + + "tionSettings}:\027data_retention_settings\332A" + + "#data_retention_settings,update_mask\022\315\001\n" + + "\020CreateDataStream\0227.google.analytics.adm" + + "in.v1alpha.CreateDataStreamRequest\032*.goo" + + "gle.analytics.admin.v1alpha.DataStream\"T" + + "\202\323\344\223\0029\"*/v1alpha/{parent=properties/*}/d" + + "ataStreams:\013data_stream\332A\022parent,data_st" + + "ream\022\236\001\n\020DeleteDataStream\0227.google.analy" + + "tics.admin.v1alpha.DeleteDataStreamReque" + + "st\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v1a" + + "lpha/{name=properties/*/dataStreams/*}\332A" + + "\004name\022\336\001\n\020UpdateDataStream\0227.google.anal" + + "ytics.admin.v1alpha.UpdateDataStreamRequ" + + "est\032*.google.analytics.admin.v1alpha.Dat" + + "aStream\"e\202\323\344\223\002E26/v1alpha/{data_stream.n" + + "ame=properties/*/dataStreams/*}:\013data_st" + + "ream\332A\027data_stream,update_mask\022\277\001\n\017ListD" + + "ataStreams\0226.google.analytics.admin.v1al" + + "pha.ListDataStreamsRequest\0327.google.anal" + + "ytics.admin.v1alpha.ListDataStreamsRespo" + + "nse\";\202\323\344\223\002,\022*/v1alpha/{parent=properties" + + "/*}/dataStreams\332A\006parent\022\254\001\n\rGetDataStre" + + "am\0224.google.analytics.admin.v1alpha.GetD" + + "ataStreamRequest\032*.google.analytics.admi" + + "n.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1alpha/{" + + "name=properties/*/dataStreams/*}\332A\004name\032" + + "\374\001\312A\035analyticsadmin.googleapis.com\322A\330\001ht" + + "tps://www.googleapis.com/auth/analytics." + + "edit,https://www.googleapis.com/auth/ana" + + "lytics.manage.users,https://www.googleap" + + "is.com/auth/analytics.manage.users.reado" + + "nly,https://www.googleapis.com/auth/anal" + + "ytics.readonlyB\200\001\n\"com.google.analytics." + + "admin.v1alphaB\023AnalyticsAdminProtoP\001ZCgo" + + "ogle.golang.org/genproto/googleapis/anal" + + "ytics/admin/v1alpha;adminb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + 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(1); + 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(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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(12); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Names", }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, + new java.lang.String[] { "Parent", "NotifyNewUser", "UserLink", }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "NotifyNewUsers", "Requests", }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, + new java.lang.String[] { "UserLink", }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", }); + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor, + new java.lang.String[] { "WebDataStream", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor, + new java.lang.String[] { "WebDataStream", "Parent", }); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor, + new java.lang.String[] { "WebDataStreams", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor, + new java.lang.String[] { "IosAppDataStream", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor, + new java.lang.String[] { "IosAppDataStreams", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { "AndroidAppDataStream", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor, + new java.lang.String[] { "AndroidAppDataStreams", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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(63); + 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(64); + 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(65); + 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(66); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(67); + 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(68); + 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(69); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, + new java.lang.String[] { "ConversionEvent", "Parent", }); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(70); + 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(71); + 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(72); + 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(73); + 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(74); + 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(75); + 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(76); + 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(77); + 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(78); + 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(79); + 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(80); + 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(81); + 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(82); + 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(83); + 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(84); + 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(85); + 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(86); + 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(87); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(88); + 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(89); + 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(90); + 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(91); + 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(92); + 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(93); + 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(94); + 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(95); + 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(96); + 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(97); + 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(98); + 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(99); + 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(100); + 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(101); + 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(102); + 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(103); + 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(104); + 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(105); + 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(106); + 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(107); + 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", }); + 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.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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java index fec64428..43fe5af0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics Android app stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AndroidAppDataStream} */ -public final class AndroidAppDataStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AndroidAppDataStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AndroidAppDataStream) AndroidAppDataStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AndroidAppDataStream.newBuilder() to construct. private AndroidAppDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AndroidAppDataStream() { name_ = ""; firebaseAppId_ = ""; @@ -46,15 +28,16 @@ private AndroidAppDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AndroidAppDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AndroidAppDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,103 +56,91 @@ private AndroidAppDataStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + firebaseAppId_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + packageName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -177,7 +148,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -186,15 +156,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -202,15 +171,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -221,15 +191,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -238,30 +205,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 = 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 { @@ -272,15 +239,11 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when this stream 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 @@ -288,15 +251,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this stream 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 @@ -304,14 +263,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 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() { @@ -321,15 +277,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when stream 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 @@ -337,15 +289,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when stream 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 @@ -353,14 +301,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 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() { @@ -370,15 +315,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PACKAGE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object packageName_; /** - * - * *
    * Immutable. The package name for the app being measured.
    * Example: "com.example.myandroidapp"
    * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ @java.lang.Override @@ -387,30 +329,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 = 5 [(.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 { @@ -421,15 +363,12 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -438,30 +377,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; } } /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @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 { @@ -470,7 +409,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,7 +420,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -517,10 +456,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firebaseAppId_); } 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(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, packageName_); @@ -536,26 +477,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.AndroidAppDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AndroidAppDataStream other = - (com.google.analytics.admin.v1alpha.AndroidAppDataStream) obj; + com.google.analytics.admin.v1alpha.AndroidAppDataStream other = (com.google.analytics.admin.v1alpha.AndroidAppDataStream) obj; - if (!getName().equals(other.getName())) return false; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) 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 (!getPackageName().equals(other.getPackageName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -589,127 +535,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AndroidAppDataStream prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AndroidAppDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Android app stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AndroidAppDataStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AndroidAppDataStream) com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder() @@ -717,15 +653,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -753,9 +690,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_AndroidAppDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override @@ -774,8 +711,7 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream buildPartial() { - com.google.analytics.admin.v1alpha.AndroidAppDataStream result = - new com.google.analytics.admin.v1alpha.AndroidAppDataStream(this); + com.google.analytics.admin.v1alpha.AndroidAppDataStream result = new com.google.analytics.admin.v1alpha.AndroidAppDataStream(this); result.name_ = name_; result.firebaseAppId_ = firebaseAppId_; if (createTimeBuilder_ == null) { @@ -798,39 +734,38 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AndroidAppDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream)other); } else { super.mergeFrom(other); return this; @@ -838,8 +773,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AndroidAppDataStream other) { - if (other == com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -881,8 +815,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.AndroidAppDataStream) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.AndroidAppDataStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -894,8 +827,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -903,13 +834,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; @@ -918,8 +849,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -927,14 +856,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -942,8 +872,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -951,22 +879,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -974,18 +900,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -993,16 +916,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1010,21 +933,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 = 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; @@ -1033,22 +954,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 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 { @@ -1056,64 +976,57 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 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) { + public Builder setFirebaseAppId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 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) { + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1121,58 +1034,39 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Time when this stream 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 stream 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) { @@ -1188,17 +1082,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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(); onChanged(); @@ -1209,21 +1100,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1235,15 +1122,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1257,64 +1140,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Time when this stream 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when this stream 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 stream 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_; @@ -1322,58 +1189,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Time when stream 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 stream 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) { @@ -1389,17 +1237,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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(); onChanged(); @@ -1410,21 +1255,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1436,15 +1277,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1458,64 +1295,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when stream 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() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when stream 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 stream 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_; @@ -1523,21 +1344,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object packageName_ = ""; /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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; @@ -1546,22 +1365,21 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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 { @@ -1569,64 +1387,57 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1634,21 +1445,19 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @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; @@ -1657,22 +1466,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @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 { @@ -1680,71 +1488,64 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1754,12 +1555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AndroidAppDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AndroidAppDataStream) private static final com.google.analytics.admin.v1alpha.AndroidAppDataStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AndroidAppDataStream(); } @@ -1768,16 +1569,16 @@ public static com.google.analytics.admin.v1alpha.AndroidAppDataStream getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AndroidAppDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AndroidAppDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1792,4 +1593,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AndroidAppDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java index e1857fad..1b76787b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AndroidAppDataStreamOrBuilder - extends +public interface AndroidAppDataStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AndroidAppDataStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -33,13 +15,10 @@ public interface AndroidAppDataStreamOrBuilder
    * 
* * 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}/androidAppDataStreams/{stream_id}
@@ -47,165 +26,128 @@ public interface AndroidAppDataStreamOrBuilder
    * 
* * 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. 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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
    * Output only. Time when this stream 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 stream 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 stream 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 stream 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 stream 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 stream 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. The package name for the app being measured.
    * Example: "com.example.myandroidapp"
    * 
* * string package_name = 5 [(.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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..880be32f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,600 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + *
+ * Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ApproveDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; + + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..75c6a009 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java new file mode 100644 index 00000000..d06997ac --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java @@ -0,0 +1,675 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + *
+ * Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApproveDisplayVideo360AdvertiserLinkProposalResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ApproveDisplayVideo360AdvertiserLinkProposalResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + } + displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 getDisplayVideo360AdvertiserLink(); + } + + 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()); + } + unknownFields.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 += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDisplayVideo360AdvertiserLink()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); + } + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = null; + } else { + displayVideo360AdvertiserLink_ = null; + 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 (displayVideo360AdvertiserLinkBuilder_ == null) { + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; + } else { + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_.build(); + } + 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.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.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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 displayVideo360AdvertiserLinkBuilder_ != null || 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. + */ + 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; + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); + } + + 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 (displayVideo360AdvertiserLink_ != null) { + displayVideo360AdvertiserLink_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); + } else { + displayVideo360AdvertiserLink_ = value; + } + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); + } + + 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() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = null; + onChanged(); + } else { + displayVideo360AdvertiserLink_ = null; + displayVideo360AdvertiserLinkBuilder_ = null; + } + + 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() { + + 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 { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(input, extensionRegistry); + } + }; + + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java new file mode 100644 index 00000000..c2df9932 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java index 12511b8f..bcdcd1fc 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArchiveCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private ArchiveCustomDimensionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,23 +447,19 @@ public Builder mergeFrom( 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; @@ -516,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +557,30 @@ 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 { - return new ArchiveCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new ArchiveCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +592,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..eb9284a5 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ArchiveCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java index 94869b9d..845d2bf2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArchiveCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private ArchiveCustomMetricRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,23 +447,19 @@ public Builder mergeFrom( 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; @@ -515,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -540,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,13 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(); } @@ -635,16 +571,16 @@ 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 { - return new ArchiveCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new ArchiveCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..412f11e6 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ArchiveCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java index 0beb0db5..18c2559a 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Read-only resource used to summarize a principal's effective roles.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ -public final class AuditUserLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLink) AuditUserLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLink.newBuilder() to construct. private AuditUserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLink() { name_ = ""; emailAddress_ = ""; @@ -46,15 +28,16 @@ private AuditUserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuditUserLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,53 +57,50 @@ private AuditUserLink( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - emailAddress_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - directRoles_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - directRoles_.add(s); - break; + emailAddress_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directRoles_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - effectiveRoles_.add(s); - break; + directRoles_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + effectiveRoles_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { directRoles_ = directRoles_.getUnmodifiableView(); @@ -132,33 +112,27 @@ private AuditUserLink( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -167,29 +141,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -200,14 +174,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The emailAddress. */ @java.lang.Override @@ -216,29 +187,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -249,51 +220,43 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { public static final int DIRECT_ROLES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList directRoles_; /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_; } /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -301,69 +264,59 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } public static final int EFFECTIVE_ROLES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList effectiveRoles_; /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList + getEffectiveRolesList() { return effectiveRoles_; } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -371,25 +324,22 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString + getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -401,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -453,18 +404,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLink other = - (com.google.analytics.admin.v1alpha.AuditUserLink) obj; + com.google.analytics.admin.v1alpha.AuditUserLink other = (com.google.analytics.admin.v1alpha.AuditUserLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getEmailAddress().equals(other.getEmailAddress())) return false; - if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; - if (!getEffectiveRolesList().equals(other.getEffectiveRolesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; + if (!getDirectRolesList() + .equals(other.getDirectRolesList())) return false; + if (!getEffectiveRolesList() + .equals(other.getEffectiveRolesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -493,127 +447,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Read-only resource used to summarize a principal's effective roles.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLink) com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLink.newBuilder() @@ -621,15 +566,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override @@ -666,8 +612,7 @@ public com.google.analytics.admin.v1alpha.AuditUserLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLink result = - new com.google.analytics.admin.v1alpha.AuditUserLink(this); + com.google.analytics.admin.v1alpha.AuditUserLink result = new com.google.analytics.admin.v1alpha.AuditUserLink(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.emailAddress_ = emailAddress_; @@ -689,39 +634,38 @@ public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink)other); } else { super.mergeFrom(other); return this; @@ -729,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLink other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -787,25 +730,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -814,21 +754,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -836,61 +775,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -898,20 +830,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object emailAddress_ = ""; /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -920,21 +850,20 @@ public java.lang.String getEmailAddress() { } } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -942,121 +871,104 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress(java.lang.String value) { + public Builder setEmailAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList directRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -1064,105 +976,95 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles(int index, java.lang.String value) { + public Builder setDirectRoles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles(java.lang.String value) { + public Builder addDirectRoles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles(java.lang.Iterable values) { + public Builder addAllDirectRoles( + java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directRoles_); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1172,83 +1074,71 @@ public Builder clearDirectRoles() { return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * Excludes roles that are inherited from an account (if this is for a
      * property), group, or organization admin role.
      * 
* * repeated string direct_roles = 3; - * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { + public Builder addDirectRolesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList effectiveRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList effectiveRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEffectiveRolesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(effectiveRoles_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList + getEffectiveRolesList() { return effectiveRoles_.getUnmodifiableView(); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -1256,100 +1146,90 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString + getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param index The index to set the value at. * @param value The effectiveRoles to set. * @return This builder for chaining. */ - public Builder setEffectiveRoles(int index, java.lang.String value) { + public Builder setEffectiveRoles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEffectiveRolesIsMutable(); + throw new NullPointerException(); + } + ensureEffectiveRolesIsMutable(); effectiveRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param value The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRoles(java.lang.String value) { + public Builder addEffectiveRoles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEffectiveRolesIsMutable(); + throw new NullPointerException(); + } + ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param values The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addAllEffectiveRoles(java.lang.Iterable values) { + public Builder addAllEffectiveRoles( + java.lang.Iterable values) { ensureEffectiveRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, effectiveRoles_); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @return This builder for chaining. */ public Builder clearEffectiveRoles() { @@ -1359,32 +1239,30 @@ public Builder clearEffectiveRoles() { return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
-     * Format: predefinedRoles/read
+     * Format: predefinedRoles/viewer
      * 
* * repeated string effective_roles = 4; - * * @param value The bytes of the effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRolesBytes(com.google.protobuf.ByteString value) { + public Builder addEffectiveRolesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLink) private static final com.google.analytics.admin.v1alpha.AuditUserLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLink(); } @@ -1408,16 +1286,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLink(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1432,4 +1310,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java index f2b9d26a..71e824fa 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java @@ -1,197 +1,151 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinkOrBuilder - extends +public interface AuditUserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString getEmailAddressBytes(); + com.google.protobuf.ByteString + getEmailAddressBytes(); /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - java.util.List getDirectRolesList(); + java.util.List + getDirectRolesList(); /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ int getDirectRolesCount(); /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** - * - * *
    * Roles directly assigned to this user for this entity.
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * Excludes roles that are inherited from an account (if this is for a
    * property), group, or organization admin role.
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString getDirectRolesBytes(int index); + com.google.protobuf.ByteString + getDirectRolesBytes(int index); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - java.util.List getEffectiveRolesList(); + java.util.List + getEffectiveRolesList(); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ int getEffectiveRolesCount(); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ java.lang.String getEffectiveRoles(int index); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
-   * Format: predefinedRoles/read
+   * Format: predefinedRoles/viewer
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - com.google.protobuf.ByteString getEffectiveRolesBytes(int index); + com.google.protobuf.ByteString + getEffectiveRolesBytes(int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java index c11a6c3a..a4f50d10 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ -public final class AuditUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) AuditUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLinksRequest.newBuilder() to construct. private AuditUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private AuditUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuditUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,63 @@ private AuditUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -145,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -190,7 +160,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,8 +170,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -211,7 +178,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,15 +186,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -237,15 +202,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +231,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,7 +255,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -302,17 +269,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = - (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +305,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.analytics.admin.v1alpha.AuditUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksRequest.newBuilder() @@ -464,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override @@ -507,8 +467,7 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = - new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +479,38 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +518,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,8 +549,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,22 +561,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -629,23 +581,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -653,76 +602,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -731,7 +665,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,8 +672,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -749,19 +680,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -770,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -782,8 +709,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -792,13 +717,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; @@ -807,8 +732,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -817,14 +740,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -832,8 +756,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -842,22 +764,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -866,18 +786,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -886,23 +803,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) private static final com.google.analytics.admin.v1alpha.AuditUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(); } @@ -926,16 +843,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java index f673fe5c..e03c1372 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksRequestOrBuilder - extends +public interface AuditUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -63,14 +36,11 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -94,8 +61,8 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java index 152515f4..dc09b891 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ -public final class AuditUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) AuditUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLinksResponse.newBuilder() to construct. private AuditUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private AuditUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuditUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private AuditUserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - userLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.AuditUserLink.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + userLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.AuditUserLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -113,27 +92,22 @@ private AuditUserLinksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** - * - * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -146,8 +120,6 @@ public java.util.List getUserL
     return userLinks_;
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -156,13 +128,11 @@ public java.util.List getUserL
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getUserLinksOrBuilderList() {
     return userLinks_;
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -175,8 +145,6 @@ public int getUserLinksCount() {
     return userLinks_.size();
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -189,8 +157,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
     return userLinks_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -207,15 +173,12 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -224,30 +187,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 { @@ -256,7 +219,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -285,7 +248,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -298,16 +262,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = - (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +296,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.analytics.admin.v1alpha.AuditUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksResponse.newBuilder() @@ -459,17 +414,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override @@ -506,8 +461,7 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = - new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +481,38 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -567,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -587,10 +539,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRespon userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -619,8 +570,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,29 +579,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AuditUserLink, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder, - com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -667,8 +609,6 @@ public java.util.List getUserL
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -684,8 +624,6 @@ public int getUserLinksCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -701,8 +639,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -710,7 +646,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder setUserLinks(
+        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -724,8 +661,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditU
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -745,8 +680,6 @@ public Builder setUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -768,8 +701,6 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -777,7 +708,8 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder addUserLinks(
+        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -791,8 +723,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditU
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -812,8 +742,6 @@ public Builder addUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -833,8 +761,6 @@ public Builder addUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -846,7 +772,8 @@ public Builder addAllUserLinks(
         java.lang.Iterable values) {
       if (userLinksBuilder_ == null) {
         ensureUserLinksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, userLinks_);
         onChanged();
       } else {
         userLinksBuilder_.addAllMessages(values);
@@ -854,8 +781,6 @@ public Builder addAllUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -874,8 +799,6 @@ public Builder clearUserLinks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -894,8 +817,6 @@ public Builder removeUserLinks(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -903,12 +824,11 @@ public Builder removeUserLinks(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(int index) {
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(
+        int index) {
       return getUserLinksFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -919,14 +839,11 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuil
     public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
         int index) {
       if (userLinksBuilder_ == null) {
-        return userLinks_.get(index);
-      } else {
+        return userLinks_.get(index);  } else {
         return userLinksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -934,8 +851,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List
-        getUserLinksOrBuilderList() {
+    public java.util.List 
+         getUserLinksOrBuilderList() {
       if (userLinksBuilder_ != null) {
         return userLinksBuilder_.getMessageOrBuilderList();
       } else {
@@ -943,8 +860,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -953,12 +868,10 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
     public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder() {
-      return getUserLinksFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+      return getUserLinksFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -966,13 +879,12 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(int index) {
-      return getUserLinksFieldBuilder()
-          .addBuilder(index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(
+        int index) {
+      return getUserLinksFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -980,23 +892,20 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List
-        getUserLinksBuilderList() {
+    public java.util.List 
+         getUserLinksBuilderList() {
       return getUserLinksFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AuditUserLink,
-            com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
-            com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>
+        com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> 
         getUserLinksFieldBuilder() {
       if (userLinksBuilder_ == null) {
-        userLinksBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AuditUserLink,
-                com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
-                com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
-                userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
+                userLinks_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         userLinks_ = null;
       }
       return userLinksBuilder_;
@@ -1004,21 +913,19 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1027,22 +934,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1050,71 +956,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1124,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) private static final com.google.analytics.admin.v1alpha.AuditUserLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(); } @@ -1138,16 +1037,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java index 6f0caa45..81c26025 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksResponseOrBuilder - extends +public interface AuditUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -33,10 +15,9 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List getUserLinksList();
+  java.util.List 
+      getUserLinksList();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -46,8 +27,6 @@ public interface AuditUserLinksResponseOrBuilder
    */
   com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index);
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -57,8 +36,6 @@ public interface AuditUserLinksResponseOrBuilder
    */
   int getUserLinksCount();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -66,11 +43,9 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List
+  java.util.List 
       getUserLinksOrBuilderList();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -78,32 +53,28 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java index a00d78bc..180dd0fa 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ -public final class BatchCreateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) BatchCreateUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksRequest.newBuilder() to construct. private BatchCreateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private BatchCreateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCreateUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,45 +55,40 @@ private BatchCreateUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - notifyNewUsers_ = input.readBool(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest>(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), - extensionRegistry)); - break; + parent_ = s; + break; + } + case 16: { + + notifyNewUsers_ = input.readBool(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requests_.add( + input.readMessage(com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -119,27 +97,22 @@ private BatchCreateUserLinksRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -147,10 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,15 +129,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -175,18 +144,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -197,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NOTIFY_NEW_USERS_FIELD_NUMBER = 2; private boolean notifyNewUsers_; /** - * - * *
    * Optional. If set, then email the new users notifying them that they've been granted
    * permissions to the resource. Regardless of whether this is set or not,
@@ -206,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The notifyNewUsers. */ @java.lang.Override @@ -217,82 +182,61 @@ public boolean getNotifyNewUsers() { public static final int REQUESTS_FIELD_NUMBER = 3; private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -301,7 +245,6 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +256,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -336,10 +280,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUsers_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUsers_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, notifyNewUsers_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, requests_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -349,17 +295,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getNotifyNewUsers() != other.getNotifyNewUsers()) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getNotifyNewUsers() + != other.getNotifyNewUsers()) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,7 +322,8 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUsers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNotifyNewUsers()); if (getRequestsCount() > 0) { hash = (37 * hash) + REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getRequestsList().hashCode(); @@ -385,127 +334,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.newBuilder() @@ -513,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,14 +480,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance(); } @@ -563,8 +501,7 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.notifyNewUsers_ = notifyNewUsers_; @@ -585,39 +522,38 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -625,9 +561,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -653,10 +587,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -681,9 +614,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -692,13 +623,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -706,16 +634,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -724,8 +650,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -733,17 +657,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -751,8 +674,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -760,25 +681,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -786,21 +703,16 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -808,28 +720,24 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private boolean notifyNewUsers_; + private boolean notifyNewUsers_ ; /** - * - * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -837,7 +745,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The notifyNewUsers. */ @java.lang.Override @@ -845,8 +752,6 @@ public boolean getNotifyNewUsers() { return notifyNewUsers_; } /** - * - * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -854,19 +759,16 @@ public boolean getNotifyNewUsers() {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The notifyNewUsers to set. * @return This builder for chaining. */ public Builder setNotifyNewUsers(boolean value) { - + notifyNewUsers_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -874,48 +776,36 @@ public Builder setNotifyNewUsers(boolean value) {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNotifyNewUsers() { - + notifyNewUsers_ = false; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -923,16 +813,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -942,16 +828,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -961,16 +843,12 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -987,20 +865,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -1011,16 +884,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -1036,16 +905,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -1062,16 +927,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { @@ -1085,20 +946,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -1109,23 +965,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1133,16 +985,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1155,16 +1003,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1177,56 +1021,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1234,76 +1064,59 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000001) != 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); } @@ -1313,32 +1126,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchCreateUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,8 +1161,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java similarity index 57% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java index e44710fe..3a8b7f08 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksRequestOrBuilder - extends +public interface BatchCreateUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -33,16 +15,11 @@ public interface BatchCreateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -50,17 +27,13 @@ public interface BatchCreateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. If set, then email the new users notifying them that they've been granted
    * permissions to the resource. Regardless of whether this is set or not,
@@ -68,75 +41,56 @@ public interface BatchCreateUserLinksRequestOrBuilder
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The notifyNewUsers. */ boolean getNotifyNewUsers(); /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRequestsList(); + java.util.List + getRequestsList(); /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getRequestsCount(); /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java index 7e1670a2..f3817a4c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ -public final class BatchCreateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) BatchCreateUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksResponse.newBuilder() to construct. private BatchCreateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCreateUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,30 +54,29 @@ private BatchCreateUserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - userLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + userLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -103,27 +85,22 @@ private BatchCreateUserLinksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** - * - * *
    * The user links created.
    * 
@@ -135,8 +112,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The user links created.
    * 
@@ -144,13 +119,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The user links created.
    * 
@@ -162,8 +135,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The user links created.
    * 
@@ -175,8 +146,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The user links created.
    * 
@@ -184,12 +153,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -215,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +196,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,127 +226,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.newBuilder() @@ -383,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -407,14 +368,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance(); } @@ -429,8 +389,7 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,50 +408,46 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { + if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -511,10 +466,9 @@ public Builder mergeFrom( userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -539,9 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -550,29 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The user links created.
      * 
@@ -587,8 +531,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The user links created.
      * 
@@ -603,8 +545,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The user links created.
      * 
@@ -619,15 +559,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,8 +580,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links created.
      * 
@@ -661,8 +598,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -683,15 +618,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -705,8 +639,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links created.
      * 
@@ -725,8 +657,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -745,8 +675,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -757,7 +685,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -765,8 +694,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -784,8 +711,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The user links created.
      * 
@@ -803,44 +728,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -848,8 +768,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The user links created.
      * 
@@ -857,55 +775,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -915,32 +827,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchCreateUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,8 +862,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java index ed0c92aa..68aa45e9 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksResponseOrBuilder - extends +public interface BatchCreateUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The user links created.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The user links created.
    * 
@@ -54,24 +33,21 @@ public interface BatchCreateUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java index cefb0175..71e7a3da 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchDeleteUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ -public final class BatchDeleteUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) BatchDeleteUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteUserLinksRequest.newBuilder() to construct. private BatchDeleteUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private BatchDeleteUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchDeleteUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,35 @@ private BatchDeleteUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest>(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), - extensionRegistry)); - break; + parent_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requests_.add( + input.readMessage(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -114,27 +92,22 @@ private BatchDeleteUserLinksRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -142,10 +115,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -154,15 +124,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -170,18 +139,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,82 +160,61 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -276,7 +223,6 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,7 +255,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, requests_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,16 +266,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,127 +300,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchDeleteUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.newBuilder() @@ -479,17 +418,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -505,14 +444,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance(); } @@ -527,8 +465,7 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (requestsBuilder_ == null) { @@ -548,39 +485,38 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -588,9 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -613,10 +547,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -641,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,13 +583,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -666,16 +594,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -684,8 +610,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -693,17 +617,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -711,8 +634,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -720,25 +641,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -746,21 +663,16 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -768,56 +680,43 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -825,16 +724,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -844,16 +739,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -863,16 +754,12 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -889,20 +776,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -913,16 +795,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -938,16 +816,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -964,16 +838,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { @@ -987,20 +857,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -1011,23 +876,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1035,16 +896,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1057,16 +914,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1079,56 +932,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1136,76 +975,59 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000001) != 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); } @@ -1215,32 +1037,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchDeleteUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,8 +1072,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java similarity index 52% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java index d6f29cd1..72e2bfa2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchDeleteUserLinksRequestOrBuilder - extends +public interface BatchDeleteUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -33,16 +15,11 @@ public interface BatchDeleteUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -50,78 +27,58 @@ public interface BatchDeleteUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRequestsList(); + java.util.List + getRequestsList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getRequestsCount(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder(int index); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java index a3ef4df2..8d993d28 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ -public final class BatchGetUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) BatchGetUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetUserLinksRequest.newBuilder() to construct. private BatchGetUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetUserLinksRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private BatchGetUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchGetUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private BatchGetUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - names_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - names_.add(s); - break; + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + names_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + names_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { names_ = names_.getUnmodifiableView(); @@ -110,27 +92,22 @@ private BatchGetUserLinksRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -138,10 +115,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -150,15 +124,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -166,18 +139,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -188,54 +160,40 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_; } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -243,27 +201,22 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -310,16 +264,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -343,127 +298,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.analytics.admin.v1alpha.BatchGetUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.newBuilder() @@ -471,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override @@ -512,8 +458,7 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -529,39 +474,38 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -569,8 +513,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -604,8 +547,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -614,13 +556,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -628,16 +567,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -646,8 +583,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -655,17 +590,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -673,8 +607,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -682,25 +614,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -708,21 +636,16 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -730,82 +653,64 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_.getUnmodifiableView(); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -813,110 +718,90 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames(int index, java.lang.String value) { + public Builder setNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames(java.lang.String value) { + public Builder addNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames(java.lang.Iterable values) { + public Builder addAllNames( + java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNames() { @@ -926,34 +811,30 @@ public Builder clearNames() { return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -963,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(); } @@ -977,16 +858,16 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,4 +882,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java similarity index 54% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java index 7d5b1fc7..59258853 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksRequestOrBuilder - extends +public interface BatchGetUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -33,16 +15,11 @@ public interface BatchGetUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -50,78 +27,58 @@ public interface BatchGetUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - java.util.List getNamesList(); + java.util.List + getNamesList(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ int getNamesCount(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString getNamesBytes(int index); + com.google.protobuf.ByteString + getNamesBytes(int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java index 7dbce9e1..f1cab0e0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ -public final class BatchGetUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) BatchGetUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetUserLinksResponse.newBuilder() to construct. private BatchGetUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchGetUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,30 +54,29 @@ private BatchGetUserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - userLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + userLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -103,27 +85,22 @@ private BatchGetUserLinksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** - * - * *
    * The requested user links.
    * 
@@ -135,8 +112,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The requested user links.
    * 
@@ -144,13 +119,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The requested user links.
    * 
@@ -162,8 +135,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The requested user links.
    * 
@@ -175,8 +146,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The requested user links.
    * 
@@ -184,12 +153,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -215,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +196,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,127 +226,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.analytics.admin.v1alpha.BatchGetUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.newBuilder() @@ -383,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -407,14 +368,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance(); } @@ -429,8 +389,7 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +408,38 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -489,9 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -510,10 +466,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRes userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -538,8 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,29 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The requested user links.
      * 
@@ -585,8 +531,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The requested user links.
      * 
@@ -601,8 +545,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The requested user links.
      * 
@@ -617,15 +559,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,8 +580,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The requested user links.
      * 
@@ -659,8 +598,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -681,15 +618,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -703,8 +639,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The requested user links.
      * 
@@ -723,8 +657,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -743,8 +675,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -755,7 +685,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -763,8 +694,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -782,8 +711,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The requested user links.
      * 
@@ -801,44 +728,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -846,8 +768,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The requested user links.
      * 
@@ -855,55 +775,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -913,13 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(); } @@ -928,16 +841,16 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java index fafcc49b..c3d14059 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksResponseOrBuilder - extends +public interface BatchGetUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The requested user links.
    * 
@@ -44,8 +25,6 @@ public interface BatchGetUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The requested user links.
    * 
@@ -54,24 +33,21 @@ public interface BatchGetUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java index b2b579cf..de05c2e2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ -public final class BatchUpdateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) BatchUpdateUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksRequest.newBuilder() to construct. private BatchUpdateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private BatchUpdateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchUpdateUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,35 @@ private BatchUpdateUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest>(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), - extensionRegistry)); - break; + parent_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requests_.add( + input.readMessage(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -114,27 +92,22 @@ private BatchUpdateUserLinksRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -142,10 +115,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -154,15 +124,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -170,18 +139,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,82 +160,61 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -276,7 +223,6 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,7 +255,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, requests_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,16 +266,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,127 +300,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.newBuilder() @@ -479,17 +418,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -505,14 +444,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance(); } @@ -527,8 +465,7 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (requestsBuilder_ == null) { @@ -548,39 +485,38 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -588,9 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -613,10 +547,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -641,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,13 +583,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -666,16 +594,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -684,8 +610,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -693,17 +617,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -711,8 +634,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -720,25 +641,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -746,21 +663,16 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -768,56 +680,43 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -825,16 +724,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -844,16 +739,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -863,16 +754,12 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -889,20 +776,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -913,16 +795,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -938,16 +816,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -964,16 +838,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { @@ -987,20 +857,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -1011,23 +876,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1035,16 +896,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1057,16 +914,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1079,56 +932,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1136,76 +975,59 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000001) != 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); } @@ -1215,32 +1037,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchUpdateUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,8 +1072,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java similarity index 52% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java index fbaf9c26..f3835ca9 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksRequestOrBuilder - extends +public interface BatchUpdateUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -33,16 +15,11 @@ public interface BatchUpdateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -50,78 +27,58 @@ public interface BatchUpdateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRequestsList(); + java.util.List + getRequestsList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getRequestsCount(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java index 913d6d2b..5a583535 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ -public final class BatchUpdateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) BatchUpdateUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksResponse.newBuilder() to construct. private BatchUpdateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchUpdateUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,30 +54,29 @@ private BatchUpdateUserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - userLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + userLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -103,27 +85,22 @@ private BatchUpdateUserLinksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** - * - * *
    * The user links updated.
    * 
@@ -135,8 +112,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The user links updated.
    * 
@@ -144,13 +119,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The user links updated.
    * 
@@ -162,8 +135,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The user links updated.
    * 
@@ -175,8 +146,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The user links updated.
    * 
@@ -184,12 +153,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -215,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +196,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,127 +226,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.newBuilder() @@ -383,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -407,14 +368,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance(); } @@ -429,8 +389,7 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,50 +408,46 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { + if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -511,10 +466,9 @@ public Builder mergeFrom( userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -539,9 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -550,29 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The user links updated.
      * 
@@ -587,8 +531,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The user links updated.
      * 
@@ -603,8 +545,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The user links updated.
      * 
@@ -619,15 +559,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,8 +580,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links updated.
      * 
@@ -661,8 +598,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -683,15 +618,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -705,8 +639,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links updated.
      * 
@@ -725,8 +657,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -745,8 +675,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -757,7 +685,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -765,8 +694,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -784,8 +711,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The user links updated.
      * 
@@ -803,44 +728,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -848,8 +768,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The user links updated.
      * 
@@ -857,55 +775,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -915,32 +827,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchUpdateUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,8 +862,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java index a00931b1..d9d9c6be 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksResponseOrBuilder - extends +public interface BatchUpdateUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The user links updated.
    * 
@@ -44,8 +25,6 @@ public interface BatchUpdateUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The user links updated.
    * 
@@ -54,24 +33,21 @@ public interface BatchUpdateUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..4e037e23 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,600 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + *
+ * Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CancelDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CancelDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CancelDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CancelDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; + + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..ce3f4889 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index 296252e0..caae863b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeHistoryChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -44,15 +26,16 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ChangeHistoryChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,124 +54,99 @@ private ChangeHistoryChange( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + resource_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - action_ = rawValue; - break; + action_ = rawValue; + break; + } + case 26: { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder subBuilder = null; + if (resourceBeforeChange_ != null) { + subBuilder = resourceBeforeChange_.toBuilder(); } - case 26: - { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - subBuilder = null; - if (resourceBeforeChange_ != null) { - subBuilder = resourceBeforeChange_.toBuilder(); - } - resourceBeforeChange_ = - input.readMessage( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceBeforeChange_); - resourceBeforeChange_ = subBuilder.buildPartial(); - } - - break; + resourceBeforeChange_ = input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceBeforeChange_); + resourceBeforeChange_ = subBuilder.buildPartial(); } - case 34: - { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - subBuilder = null; - if (resourceAfterChange_ != null) { - subBuilder = resourceAfterChange_.toBuilder(); - } - resourceAfterChange_ = - input.readMessage( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceAfterChange_); - resourceAfterChange_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder subBuilder = null; + if (resourceAfterChange_ != null) { + subBuilder = resourceAfterChange_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resourceAfterChange_ = input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceAfterChange_); + resourceAfterChange_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -198,32 +156,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -233,32 +183,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return Whether the webDataStream field is set. */ boolean hasWebDataStream(); /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return The webDataStream. */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
@@ -268,71 +210,51 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return Whether the androidAppDataStream field is set. */ boolean hasAndroidAppDataStream(); /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return The androidAppDataStream. */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(); /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder(); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder(); /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return Whether the iosAppDataStream field is set. */ boolean hasIosAppDataStream(); /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return The iosAppDataStream. */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(); /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
@@ -342,32 +264,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder(); /** - * - * *
      * 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.
      * 
@@ -377,32 +291,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -412,163 +318,111 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return Whether the googleSignalsSettings field is set. */ boolean hasGoogleSignalsSettings(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ boolean hasDisplayVideo360AdvertiserLinkProposal(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ boolean hasConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -578,74 +432,51 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -655,32 +486,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -690,50 +513,35 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase - getResourceCase(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); } /** - * - * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -741,29 +549,30 @@ public interface ChangeHistoryResourceOrBuilder
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChangeHistoryResource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ChangeHistoryResource() {}
+    private ChangeHistoryResource() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ChangeHistoryResource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -782,337 +591,252 @@ private ChangeHistoryResource(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null;
-                if (resourceCase_ == 1) {
-                  subBuilder = ((com.google.analytics.admin.v1alpha.Account) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Account) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 1;
-                break;
+            case 10: {
+              com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null;
+              if (resourceCase_ == 1) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.Account) resource_).toBuilder();
               }
-            case 18:
-              {
-                com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null;
-                if (resourceCase_ == 2) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.Property) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Property) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 2;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Account) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null;
-                if (resourceCase_ == 3) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.WebDataStream) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.WebDataStream.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.WebDataStream) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 3;
-                break;
+              resourceCase_ = 1;
+              break;
+            }
+            case 18: {
+              com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null;
+              if (resourceCase_ == 2) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.Property) resource_).toBuilder();
               }
-            case 34:
-              {
-                com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null;
-                if (resourceCase_ == 4) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 4;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Property) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null;
-                if (resourceCase_ == 5) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.IosAppDataStream.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 5;
-                break;
+              resourceCase_ = 2;
+              break;
+            }
+            case 26: {
+              com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null;
+              if (resourceCase_ == 3) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.WebDataStream) resource_).toBuilder();
               }
-            case 50:
-              {
-                com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null;
-                if (resourceCase_ == 6) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.FirebaseLink) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.FirebaseLink.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 6;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null;
-                if (resourceCase_ == 7) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 7;
-                break;
+              resourceCase_ = 3;
+              break;
+            }
+            case 34: {
+              com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null;
+              if (resourceCase_ == 4) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_).toBuilder();
               }
-            case 66:
-              {
-                com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null;
-                if (resourceCase_ == 8) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 8;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder
-                    subBuilder = null;
-                if (resourceCase_ == 9) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 9;
-                break;
+              resourceCase_ = 4;
+              break;
+            }
+            case 42: {
+              com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null;
+              if (resourceCase_ == 5) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_).toBuilder();
               }
-            case 82:
-              {
-                com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder
-                    subBuilder = null;
-                if (resourceCase_ == 10) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
-                              resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
-                          resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 10;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 5;
+              break;
+            }
+            case 50: {
+              com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null;
+              if (resourceCase_ == 6) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.FirebaseLink) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 6;
+              break;
+            }
+            case 58: {
+              com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null;
+              if (resourceCase_ == 7) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 7;
+              break;
+            }
+            case 66: {
+              com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null;
+              if (resourceCase_ == 8) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 8;
+              break;
+            }
+            case 74: {
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null;
+              if (resourceCase_ == 9) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 9;
+              break;
+            }
+            case 82: {
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder subBuilder = null;
+              if (resourceCase_ == 10) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 10;
+              break;
+            }
+            case 90: {
+              com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null;
+              if (resourceCase_ == 11) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.ConversionEvent) resource_).toBuilder();
               }
-            case 90:
-              {
-                com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null;
-                if (resourceCase_ == 11) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.ConversionEvent) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.ConversionEvent.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.ConversionEvent) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 11;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 98:
-              {
-                com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder =
-                    null;
-                if (resourceCase_ == 12) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 12;
-                break;
+              resourceCase_ = 11;
+              break;
+            }
+            case 98: {
+              com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null;
+              if (resourceCase_ == 12) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_).toBuilder();
               }
-            case 106:
-              {
-                com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null;
-                if (resourceCase_ == 13) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.CustomDimension) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.CustomDimension.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.CustomDimension) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 13;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            case 114:
-              {
-                com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null;
-                if (resourceCase_ == 14) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.CustomMetric) resource_).toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.CustomMetric.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 14;
-                break;
+              resourceCase_ = 12;
+              break;
+            }
+            case 106: {
+              com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null;
+              if (resourceCase_ == 13) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.CustomDimension) resource_).toBuilder();
               }
-            case 122:
-              {
-                com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null;
-                if (resourceCase_ == 15) {
-                  subBuilder =
-                      ((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_)
-                          .toBuilder();
-                }
-                resource_ =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_);
-                  resource_ = subBuilder.buildPartial();
-                }
-                resourceCase_ = 15;
-                break;
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension) resource_);
+                resource_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resourceCase_ = 13;
+              break;
+            }
+            case 114: {
+              com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null;
+              if (resourceCase_ == 14) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.CustomMetric) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) resource_);
+                resource_ = subBuilder.buildPartial();
               }
+              resourceCase_ = 14;
+              break;
+            }
+            case 122: {
+              com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null;
+              if (resourceCase_ == 15) {
+                subBuilder = ((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 15;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class,
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder
-                  .class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
-
     public enum ResourceCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -1131,7 +855,6 @@ public enum ResourceCase
       DATA_RETENTION_SETTINGS(15),
       RESOURCE_NOT_SET(0);
       private final int value;
-
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -1147,62 +870,43 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return ACCOUNT;
-          case 2:
-            return PROPERTY;
-          case 3:
-            return WEB_DATA_STREAM;
-          case 4:
-            return ANDROID_APP_DATA_STREAM;
-          case 5:
-            return IOS_APP_DATA_STREAM;
-          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 0:
-            return RESOURCE_NOT_SET;
-          default:
-            return null;
+          case 1: return ACCOUNT;
+          case 2: return PROPERTY;
+          case 3: return WEB_DATA_STREAM;
+          case 4: return ANDROID_APP_DATA_STREAM;
+          case 5: return IOS_APP_DATA_STREAM;
+          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 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 @@ -1210,26 +914,21 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
@@ -1239,21 +938,18 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } public static final int PROPERTY_FIELD_NUMBER = 2; /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return Whether the property field is set. */ @java.lang.Override @@ -1261,26 +957,21 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -1290,21 +981,18 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } public static final int WEB_DATA_STREAM_FIELD_NUMBER = 3; /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -1312,26 +1000,21 @@ public boolean hasWebDataStream() { return resourceCase_ == 3; } /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (resourceCase_ == 3) { - return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; + return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; } return com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } /** - * - * *
      * A snapshot of a WebDataStream resource in change history.
      * 
@@ -1341,22 +1024,18 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (resourceCase_ == 3) { - return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; + return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; } return com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } public static final int ANDROID_APP_DATA_STREAM_FIELD_NUMBER = 4; /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -1364,53 +1043,42 @@ public boolean hasAndroidAppDataStream() { return resourceCase_ == 4; } /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return The androidAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { if (resourceCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); } /** - * - * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { if (resourceCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); } public static final int IOS_APP_DATA_STREAM_FIELD_NUMBER = 5; /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -1418,26 +1086,21 @@ public boolean hasIosAppDataStream() { return resourceCase_ == 5; } /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return The iosAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { if (resourceCase_ == 5) { - return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance(); } /** - * - * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
@@ -1445,24 +1108,20 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder - getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { if (resourceCase_ == 5) { - return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.IosAppDataStream.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 @@ -1470,26 +1129,21 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -1499,21 +1153,18 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 7; /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -1521,26 +1172,21 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -1550,22 +1196,18 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } public static final int GOOGLE_SIGNALS_SETTINGS_FIELD_NUMBER = 8; /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -1573,56 +1215,43 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 9; /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -1630,61 +1259,45 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 10; /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ @java.lang.Override @@ -1692,60 +1305,44 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 11; /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -1753,26 +1350,21 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -1780,26 +1372,20 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 12; /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -1807,56 +1393,42 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 13; /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -1864,26 +1436,21 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -1891,24 +1458,20 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 14; /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -1916,26 +1479,21 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -1945,22 +1503,18 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 15; /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -1968,45 +1522,36 @@ 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(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2018,7 +1563,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resourceCase_ == 1) { output.writeMessage(1, (com.google.analytics.admin.v1alpha.Account) resource_); } @@ -2041,24 +1587,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); } if (resourceCase_ == 8) { - output.writeMessage( - 8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); + output.writeMessage(8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); } if (resourceCase_ == 9) { - output.writeMessage( - 9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); + output.writeMessage(9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); } if (resourceCase_ == 10) { - output.writeMessage( - 10, - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); + output.writeMessage(10, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); } if (resourceCase_ == 11) { output.writeMessage(11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); } if (resourceCase_ == 12) { - output.writeMessage( - 12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); + output.writeMessage(12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 13) { output.writeMessage(13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); @@ -2067,8 +1608,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); } if (resourceCase_ == 15) { - output.writeMessage( - 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); + output.writeMessage(15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); } unknownFields.writeTo(output); } @@ -2080,81 +1620,64 @@ 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_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.admin.v1alpha.WebDataStream) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.admin.v1alpha.WebDataStream) resource_); } if (resourceCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_); } if (resourceCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.analytics.admin.v1alpha.IosAppDataStream) 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2164,65 +1687,74 @@ public int getSerializedSize() { @java.lang.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 3: - if (!getWebDataStream().equals(other.getWebDataStream())) return false; + if (!getWebDataStream() + .equals(other.getWebDataStream())) return false; break; case 4: - if (!getAndroidAppDataStream().equals(other.getAndroidAppDataStream())) return false; + if (!getAndroidAppDataStream() + .equals(other.getAndroidAppDataStream())) return false; break; case 5: - if (!getIosAppDataStream().equals(other.getIosAppDataStream())) return false; + if (!getIosAppDataStream() + .equals(other.getIosAppDataStream())) 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 0: default: @@ -2307,101 +1839,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2411,52 +1930,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() + // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2466,22 +1978,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_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); } @@ -2489,10 +1998,8 @@ 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); + 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 (resourceCase_ == 1) { if (accountBuilder_ == null) { result.resource_ = resource_; @@ -2607,136 +2114,110 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResou public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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 WEB_DATA_STREAM: - { - mergeWebDataStream(other.getWebDataStream()); - break; - } - case ANDROID_APP_DATA_STREAM: - { - mergeAndroidAppDataStream(other.getAndroidAppDataStream()); - break; - } - case IOS_APP_DATA_STREAM: - { - mergeIosAppDataStream(other.getIosAppDataStream()); - 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 RESOURCE_NOT_SET: - { - break; - } + case ACCOUNT: { + mergeAccount(other.getAccount()); + break; + } + case PROPERTY: { + mergeProperty(other.getProperty()); + break; + } + case WEB_DATA_STREAM: { + mergeWebDataStream(other.getWebDataStream()); + break; + } + case ANDROID_APP_DATA_STREAM: { + mergeAndroidAppDataStream(other.getAndroidAppDataStream()); + break; + } + case IOS_APP_DATA_STREAM: { + mergeIosAppDataStream(other.getIosAppDataStream()); + 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 RESOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2753,14 +2234,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parsedMessage = - null; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2769,12 +2247,12 @@ public Builder mergeFrom( } 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() { @@ -2784,20 +2262,15 @@ public Builder clearResource() { return this; } + 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 @@ -2805,14 +2278,11 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override @@ -2830,8 +2300,6 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2852,8 +2320,6 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2872,8 +2338,6 @@ public Builder setAccount( return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2882,13 +2346,10 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (resourceCase_ == 1 - && resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.Account.newBuilder( - (com.google.analytics.admin.v1alpha.Account) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 1 && + resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.Account.newBuilder((com.google.analytics.admin.v1alpha.Account) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2903,8 +2364,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2928,8 +2387,6 @@ public Builder clearAccount() { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2940,8 +2397,6 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2960,8 +2415,6 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2969,44 +2422,32 @@ 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()); resource_ = null; } resourceCase_ = 1; - onChanged(); - ; + onChanged();; return accountBuilder_; } 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 @@ -3014,14 +2455,11 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ @java.lang.Override @@ -3039,8 +2477,6 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3061,8 +2497,6 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3081,8 +2515,6 @@ public Builder setProperty( return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3091,13 +2523,10 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (resourceCase_ == 2 - && resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.Property.newBuilder( - (com.google.analytics.admin.v1alpha.Property) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 2 && + resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.Property.newBuilder((com.google.analytics.admin.v1alpha.Property) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3112,8 +2541,6 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3137,8 +2564,6 @@ public Builder clearProperty() { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3149,8 +2574,6 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3169,8 +2592,6 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3178,44 +2599,32 @@ 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()); resource_ = null; } resourceCase_ = 2; - onChanged(); - ; + onChanged();; return propertyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> - webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -3223,14 +2632,11 @@ public boolean hasWebDataStream() { return resourceCase_ == 3; } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; - * * @return The webDataStream. */ @java.lang.Override @@ -3248,8 +2654,6 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { } } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3270,8 +2674,6 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3290,8 +2692,6 @@ public Builder setWebDataStream( return this; } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3300,14 +2700,10 @@ public Builder setWebDataStream( */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { - if (resourceCase_ == 3 - && resource_ - != com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.WebDataStream.newBuilder( - (com.google.analytics.admin.v1alpha.WebDataStream) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 3 && + resource_ != com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.WebDataStream.newBuilder((com.google.analytics.admin.v1alpha.WebDataStream) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3322,8 +2718,6 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3347,8 +2741,6 @@ public Builder clearWebDataStream() { return this; } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3359,8 +2751,6 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream return getWebDataStreamFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3379,8 +2769,6 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea } } /** - * - * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -3388,45 +2776,32 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { if (!(resourceCase_ == 3)) { resource_ = com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } - webDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.WebDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 3; - onChanged(); - ; + onChanged();; return webDataStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> - androidAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamBuilder_; /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -3434,15 +2809,11 @@ public boolean hasAndroidAppDataStream() { return resourceCase_ == 4; } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; * @return The androidAppDataStream. */ @java.lang.Override @@ -3460,17 +2831,13 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppData } } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ - public Builder setAndroidAppDataStream( - com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3484,14 +2851,11 @@ public Builder setAndroidAppDataStream( return this; } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ public Builder setAndroidAppDataStream( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -3505,26 +2869,18 @@ public Builder setAndroidAppDataStream( return this; } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ - public Builder mergeAndroidAppDataStream( - com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { - if (resourceCase_ == 4 - && resource_ - != com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder( - (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 4 && + resource_ != com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3539,14 +2895,11 @@ public Builder mergeAndroidAppDataStream( return this; } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ public Builder clearAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { @@ -3565,32 +2918,24 @@ public Builder clearAndroidAppDataStream() { return this; } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder - getAndroidAppDataStreamBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamBuilder() { return getAndroidAppDataStreamFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { if ((resourceCase_ == 4) && (androidAppDataStreamBuilder_ != null)) { return androidAppDataStreamBuilder_.getMessageOrBuilder(); } else { @@ -3601,55 +2946,39 @@ public Builder clearAndroidAppDataStream() { } } /** - * - * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamFieldBuilder() { if (androidAppDataStreamBuilder_ == null) { if (!(resourceCase_ == 4)) { - resource_ = - com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); - } - androidAppDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); + } + androidAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 4; - onChanged(); - ; + onChanged();; return androidAppDataStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> - iosAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamBuilder_; /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -3657,14 +2986,11 @@ public boolean hasIosAppDataStream() { return resourceCase_ == 5; } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; - * * @return The iosAppDataStream. */ @java.lang.Override @@ -3682,16 +3008,13 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() } } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public Builder setIosAppDataStream( - com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3705,8 +3028,6 @@ public Builder setIosAppDataStream( return this; } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3725,25 +3046,18 @@ public Builder setIosAppDataStream( return this; } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public Builder mergeIosAppDataStream( - com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { - if (resourceCase_ == 5 - && resource_ - != com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder( - (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 5 && + resource_ != com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3758,8 +3072,6 @@ public Builder mergeIosAppDataStream( return this; } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3783,21 +3095,16 @@ public Builder clearIosAppDataStream() { return this; } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder - getIosAppDataStreamBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamBuilder() { return getIosAppDataStreamFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3805,8 +3112,7 @@ public Builder clearIosAppDataStream() { * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder - getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { if ((resourceCase_ == 5) && (iosAppDataStreamBuilder_ != null)) { return iosAppDataStreamBuilder_.getMessageOrBuilder(); } else { @@ -3817,8 +3123,6 @@ public Builder clearIosAppDataStream() { } } /** - * - * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3826,44 +3130,32 @@ public Builder clearIosAppDataStream() { * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamFieldBuilder() { if (iosAppDataStreamBuilder_ == null) { if (!(resourceCase_ == 5)) { resource_ = com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance(); } - iosAppDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + iosAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 5; - onChanged(); - ; + onChanged();; return iosAppDataStreamBuilder_; } 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 @@ -3871,14 +3163,11 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override @@ -3896,8 +3185,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3918,8 +3205,6 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3938,8 +3223,6 @@ public Builder setFirebaseLink( return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3948,14 +3231,10 @@ public Builder setFirebaseLink( */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (resourceCase_ == 6 - && resource_ - != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder( - (com.google.analytics.admin.v1alpha.FirebaseLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 6 && + resource_ != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder((com.google.analytics.admin.v1alpha.FirebaseLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3970,8 +3249,6 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3995,8 +3272,6 @@ public Builder clearFirebaseLink() { return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -4007,8 +3282,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -4027,8 +3300,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -4036,44 +3307,32 @@ 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()); resource_ = null; } resourceCase_ = 6; - onChanged(); - ; + onChanged();; return firebaseLinkBuilder_; } 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 @@ -4081,14 +3340,11 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override @@ -4106,8 +3362,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4128,8 +3382,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4148,8 +3400,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4158,14 +3408,10 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (resourceCase_ == 7 - && resource_ - != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder( - (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 7 && + resource_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4180,8 +3426,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4205,8 +3449,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4217,8 +3459,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4237,8 +3477,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -4246,45 +3484,32 @@ 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()); resource_ = null; } resourceCase_ = 7; - onChanged(); - ; + onChanged();; return googleAdsLinkBuilder_; } 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 @@ -4292,15 +3517,11 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ @java.lang.Override @@ -4318,17 +3539,13 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignals } } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public Builder setGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4342,14 +3559,11 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -4363,27 +3577,18 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public Builder mergeGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { - if (resourceCase_ == 8 - && resource_ - != com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder( - (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 8 && + resource_ != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4398,14 +3603,11 @@ public Builder mergeGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ public Builder clearGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { @@ -4424,32 +3626,24 @@ public Builder clearGoogleSignalsSettings() { return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder - getGoogleSignalsSettingsBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { return getGoogleSignalsSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { if ((resourceCase_ == 8) && (googleSignalsSettingsBuilder_ != null)) { return googleSignalsSettingsBuilder_.getMessageOrBuilder(); } else { @@ -4460,58 +3654,40 @@ public Builder clearGoogleSignalsSettings() { } } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> getGoogleSignalsSettingsFieldBuilder() { if (googleSignalsSettingsBuilder_ == null) { if (!(resourceCase_ == 8)) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); - } - googleSignalsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); + } + googleSignalsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 8; - onChanged(); - ; + onChanged();; return googleSignalsSettingsBuilder_; } 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 @@ -4519,50 +3695,37 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (resourceCase_ == 9) { return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } else { if (resourceCase_ == 9) { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4576,20 +3739,15 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinkBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -4600,30 +3758,19 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (resourceCase_ == 9 - && resource_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) - resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 9 && + resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4638,16 +3785,12 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ public Builder clearDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -4666,102 +3809,71 @@ 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()); resource_ = null; } resourceCase_ = 9; - onChanged(); - ; + onChanged();; return displayVideo360AdvertiserLinkBuilder_; } 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 @@ -4769,51 +3881,37 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } else { if (resourceCase_ == 10) { return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4827,20 +3925,15 @@ public Builder setDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -4851,30 +3944,19 @@ public Builder setDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - public Builder mergeDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (resourceCase_ == 10 - && resource_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 10 && + resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4889,16 +3971,12 @@ public Builder mergeDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ public Builder clearDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { @@ -4917,102 +3995,70 @@ 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; } resourceCase_ = 10; - onChanged(); - ; + onChanged();; return displayVideo360AdvertiserLinkProposalBuilder_; } 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 @@ -5020,14 +4066,11 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override @@ -5045,8 +4088,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -5067,8 +4108,6 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -5087,25 +4126,18 @@ public Builder setConversionEvent( return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public Builder mergeConversionEvent( - com.google.analytics.admin.v1alpha.ConversionEvent value) { + public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (resourceCase_ == 11 - && resource_ - != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder( - (com.google.analytics.admin.v1alpha.ConversionEvent) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 11 && + resource_ != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder((com.google.analytics.admin.v1alpha.ConversionEvent) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -5120,8 +4152,6 @@ public Builder mergeConversionEvent( return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -5145,21 +4175,16 @@ public Builder clearConversionEvent() { return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public com.google.analytics.admin.v1alpha.ConversionEvent.Builder - getConversionEventBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionEventBuilder() { return getConversionEventFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -5167,8 +4192,7 @@ public Builder clearConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { if ((resourceCase_ == 11) && (conversionEventBuilder_ != null)) { return conversionEventBuilder_.getMessageOrBuilder(); } else { @@ -5179,8 +4203,6 @@ public Builder clearConversionEvent() { } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -5188,46 +4210,32 @@ public Builder clearConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { if (!(resourceCase_ == 11)) { resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } - conversionEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( (com.google.analytics.admin.v1alpha.ConversionEvent) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 11; - onChanged(); - ; + onChanged();; return conversionEventBuilder_; } 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 @@ -5235,21 +4243,15 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { if (resourceCase_ == 12) { return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; @@ -5263,18 +4265,13 @@ public boolean hasMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5288,15 +4285,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -5310,28 +4303,18 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (resourceCase_ == 12 - && resource_ - != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( - (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 12 && + resource_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -5346,15 +4329,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -5373,34 +4352,24 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if ((resourceCase_ == 12) && (measurementProtocolSecretBuilder_ != null)) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { @@ -5411,56 +4380,39 @@ public Builder clearMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { if (!(resourceCase_ == 12)) { - resource_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); - } - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); + } + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 12; - onChanged(); - ; + onChanged();; return measurementProtocolSecretBuilder_; } 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 @@ -5468,14 +4420,11 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ @java.lang.Override @@ -5493,8 +4442,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { } } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -5515,8 +4462,6 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -5535,25 +4480,18 @@ public Builder setCustomDimension( return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public Builder mergeCustomDimension( - com.google.analytics.admin.v1alpha.CustomDimension value) { + public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (resourceCase_ == 13 - && resource_ - != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder( - (com.google.analytics.admin.v1alpha.CustomDimension) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 13 && + resource_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.CustomDimension.newBuilder((com.google.analytics.admin.v1alpha.CustomDimension) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -5568,8 +4506,6 @@ public Builder mergeCustomDimension( return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -5593,21 +4529,16 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public com.google.analytics.admin.v1alpha.CustomDimension.Builder - getCustomDimensionBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -5615,8 +4546,7 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if ((resourceCase_ == 13) && (customDimensionBuilder_ != null)) { return customDimensionBuilder_.getMessageOrBuilder(); } else { @@ -5627,8 +4557,6 @@ public Builder clearCustomDimension() { } } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -5636,44 +4564,32 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { if (!(resourceCase_ == 13)) { resource_ = com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( (com.google.analytics.admin.v1alpha.CustomDimension) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 13; - onChanged(); - ; + onChanged();; return customDimensionBuilder_; } 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 @@ -5681,14 +4597,11 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ @java.lang.Override @@ -5706,8 +4619,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { } } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5728,8 +4639,6 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5748,8 +4657,6 @@ public Builder setCustomMetric( return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5758,14 +4665,10 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (resourceCase_ == 14 - && resource_ - != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder( - (com.google.analytics.admin.v1alpha.CustomMetric) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 14 && + resource_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.CustomMetric.newBuilder((com.google.analytics.admin.v1alpha.CustomMetric) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -5780,8 +4683,6 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5805,8 +4706,6 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5817,8 +4716,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5837,8 +4734,6 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -5846,45 +4741,32 @@ 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()); resource_ = null; } resourceCase_ = 14; - onChanged(); - ; + onChanged();; return customMetricBuilder_; } 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 @@ -5892,15 +4774,11 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ @java.lang.Override @@ -5918,17 +4796,13 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetention } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public Builder setDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5942,14 +4816,11 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -5963,27 +4834,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (resourceCase_ == 15 - && resource_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder( - (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 15 && + resource_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -5998,14 +4860,11 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -6024,32 +4883,24 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if ((resourceCase_ == 15) && (dataRetentionSettingsBuilder_ != null)) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -6060,41 +4911,30 @@ public Builder clearDataRetentionSettings() { } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { if (!(resourceCase_ == 15)) { - resource_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); - } - dataRetentionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); + } + dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 15; - onChanged(); - ; + onChanged();; return dataRetentionSettingsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6107,34 +4947,30 @@ 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 { - return new ChangeHistoryResource(input, extensionRegistry); - } - }; + 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 { + return new ChangeHistoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6146,23 +4982,20 @@ 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; 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 @@ -6171,29 +5004,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 { @@ -6204,54 +5037,39 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int ACTION_FIELD_NUMBER = 2; private int action_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.ActionType getAction() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.valueOf(action_); + com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.valueOf(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 @@ -6259,60 +5077,40 @@ public boolean hasResourceBeforeChange() { return resourceBeforeChange_ != null; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange() { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { return getResourceBeforeChange(); } 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 @@ -6320,47 +5118,32 @@ public boolean hasResourceAfterChange() { return resourceAfterChange_ != null; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange() { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { + return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { return getResourceAfterChange(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6372,12 +5155,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) { @@ -6398,16 +5181,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } - if (action_ - != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, action_); + if (action_ != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, action_); } if (resourceBeforeChange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResourceBeforeChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResourceBeforeChange()); } if (resourceAfterChange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResourceAfterChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getResourceAfterChange()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6417,23 +5201,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChangeHistoryChange other = - (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; + com.google.analytics.admin.v1alpha.ChangeHistoryChange other = (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (action_ != other.action_) return false; if (hasResourceBeforeChange() != other.hasResourceBeforeChange()) return false; if (hasResourceBeforeChange()) { - if (!getResourceBeforeChange().equals(other.getResourceBeforeChange())) return false; + if (!getResourceBeforeChange() + .equals(other.getResourceBeforeChange())) return false; } if (hasResourceAfterChange() != other.hasResourceAfterChange()) return false; if (hasResourceAfterChange()) { - if (!getResourceAfterChange().equals(other.getResourceAfterChange())) return false; + if (!getResourceAfterChange() + .equals(other.getResourceAfterChange())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6464,127 +5250,117 @@ 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() @@ -6592,15 +5368,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6624,9 +5401,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 @@ -6645,8 +5422,7 @@ 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); + com.google.analytics.admin.v1alpha.ChangeHistoryChange result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); result.resource_ = resource_; result.action_ = action_; if (resourceBeforeChangeBuilder_ == null) { @@ -6667,39 +5443,38 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -6707,8 +5482,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryChange other) { - if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -6741,8 +5515,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ChangeHistoryChange) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6754,20 +5527,18 @@ public Builder mergeFrom( 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; @@ -6776,21 +5547,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -6798,61 +5568,54 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; 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() { - + resource_ = getDefaultInstance().getResource(); onChanged(); 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) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -6860,65 +5623,51 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private int action_ = 0; /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.valueOf(action_); + com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.valueOf(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. */ @@ -6926,92 +5675,66 @@ public Builder setAction(com.google.analytics.admin.v1alpha.ActionType value) { if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); 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() { - + action_ = 0; onChanged(); 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 resourceBeforeChangeBuilder_ != null || 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. */ - 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(); @@ -7025,20 +5748,15 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder setResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceBeforeChangeBuilder_ == null) { resourceBeforeChange_ = builderForValue.build(); onChanged(); @@ -7049,26 +5767,18 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public Builder mergeResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { if (resourceBeforeChange_ != null) { resourceBeforeChange_ = - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .newBuilder(resourceBeforeChange_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder(resourceBeforeChange_).mergeFrom(value).buildPartial(); } else { resourceBeforeChange_ = value; } @@ -7080,16 +5790,12 @@ public Builder mergeResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder clearResourceBeforeChange() { if (resourceBeforeChangeBuilder_ == null) { @@ -7103,140 +5809,96 @@ public Builder clearResourceBeforeChange() { return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceBeforeChangeBuilder() { - + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceBeforeChangeBuilder() { + 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 resourceAfterChangeBuilder_ != null || 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. */ - 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(); @@ -7250,20 +5912,15 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder setResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceAfterChangeBuilder_ == null) { resourceAfterChange_ = builderForValue.build(); onChanged(); @@ -7274,26 +5931,18 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public Builder mergeResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { if (resourceAfterChange_ != null) { resourceAfterChange_ = - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .newBuilder(resourceAfterChange_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder(resourceAfterChange_).mergeFrom(value).buildPartial(); } else { resourceAfterChange_ = value; } @@ -7305,16 +5954,12 @@ public Builder mergeResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder clearResourceAfterChange() { if (resourceAfterChangeBuilder_ == null) { @@ -7328,79 +5973,58 @@ public Builder clearResourceAfterChange() { return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceAfterChangeBuilder() { - + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceAfterChangeBuilder() { + 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); } @@ -7410,12 +6034,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(); } @@ -7424,16 +6048,16 @@ 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 { - return new ChangeHistoryChange(input, extensionRegistry); - } - }; + 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 { + return new ChangeHistoryChange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7448,4 +6072,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java index bb3c0817..48e0e49d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java @@ -1,167 +1,108 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface ChangeHistoryChangeOrBuilder - extends +public interface ChangeHistoryChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The action. */ com.google.analytics.admin.v1alpha.ActionType getAction(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java index a5086993..2c8ba1a6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChangeHistoryEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -49,15 +31,16 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ChangeHistoryEvent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,74 +60,65 @@ private ChangeHistoryEvent(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
+            id_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (changeTime_ != null) {
+              subBuilder = changeTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (changeTime_ != null) {
-                subBuilder = changeTime_.toBuilder();
-              }
-              changeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(changeTime_);
-                changeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            changeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(changeTime_);
+              changeTime_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              actorType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              userActorEmail_ = s;
-              break;
-            }
-          case 40:
-            {
-              changesFiltered_ = input.readBool();
-              break;
-            }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                changes_ =
-                    new java.util.ArrayList<
-                        com.google.analytics.admin.v1alpha.ChangeHistoryChange>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              changes_.add(
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
-                      extensionRegistry));
-              break;
+            actorType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            userActorEmail_ = s;
+            break;
+          }
+          case 40: {
+
+            changesFiltered_ = input.readBool();
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              changes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            changes_.add(
+                input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -153,33 +127,27 @@ private ChangeHistoryEvent(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -188,29 +156,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 { @@ -221,14 +189,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CHANGE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp changeTime_; /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ @java.lang.Override @@ -236,14 +201,11 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ @java.lang.Override @@ -251,8 +213,6 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** - * - * *
    * Time when change was made.
    * 
@@ -267,44 +227,33 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.ActorType getActorType() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActorType result = - com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; 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.
@@ -312,7 +261,6 @@ public com.google.analytics.admin.v1alpha.ActorType getActorType() {
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ @java.lang.Override @@ -321,15 +269,14 @@ public java.lang.String getUserActorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; } } /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -337,15 +284,16 @@ public java.lang.String getUserActorEmail() {
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -356,15 +304,12 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; 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 @@ -375,8 +320,6 @@ public boolean getChangesFiltered() { public static final int CHANGES_FIELD_NUMBER = 6; private java.util.List changes_; /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -389,8 +332,6 @@ public java.util.List ge
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -399,13 +340,11 @@ public java.util.List ge
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getChangesOrBuilderList() {
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -418,8 +357,6 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -432,8 +369,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
     return changes_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -448,7 +383,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -460,15 +394,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_)) {
@@ -493,20 +427,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
     }
     if (changeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChangeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getChangeTime());
     }
-    if (actorType_
-        != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, actorType_);
+    if (actorType_ != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userActorEmail_);
     }
     if (changesFiltered_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, changesFiltered_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, changesFiltered_);
     }
     for (int i = 0; i < changes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, changes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, changes_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -516,23 +453,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryEvent)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other =
-        (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
+    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other = (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
 
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasChangeTime() != other.hasChangeTime()) return false;
     if (hasChangeTime()) {
-      if (!getChangeTime().equals(other.getChangeTime())) return false;
+      if (!getChangeTime()
+          .equals(other.getChangeTime())) return false;
     }
     if (actorType_ != other.actorType_) return false;
-    if (!getUserActorEmail().equals(other.getUserActorEmail())) return false;
-    if (getChangesFiltered() != other.getChangesFiltered()) return false;
-    if (!getChangesList().equals(other.getChangesList())) return false;
+    if (!getUserActorEmail()
+        .equals(other.getUserActorEmail())) return false;
+    if (getChangesFiltered()
+        != other.getChangesFiltered()) return false;
+    if (!getChangesList()
+        .equals(other.getChangesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -555,7 +496,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ACTOR_EMAIL_FIELD_NUMBER;
     hash = (53 * hash) + getUserActorEmail().hashCode();
     hash = (37 * hash) + CHANGES_FILTERED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChangesFiltered());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getChangesFiltered());
     if (getChangesCount() > 0) {
       hash = (37 * hash) + CHANGES_FIELD_NUMBER;
       hash = (53 * hash) + getChangesList().hashCode();
@@ -566,104 +508,96 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
+  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of changes within a Google Analytics account or its child properties
    * that resulted from the same cause. Common causes would be updates made in the
@@ -673,23 +607,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
       com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class,
-              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryEvent.newBuilder()
@@ -697,17 +629,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getChangesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -735,9 +667,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
@@ -756,8 +688,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.id_ = id_;
       if (changeTimeBuilder_ == null) {
@@ -785,39 +716,38 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       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;
@@ -825,8 +755,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent other) {
-      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -862,10 +791,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent o
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            changesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChangesFieldBuilder()
-                    : null;
+            changesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChangesFieldBuilder() : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -890,8 +818,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -900,25 +827,22 @@ public Builder mergeFrom(
       }
       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; @@ -927,21 +851,20 @@ public java.lang.String getId() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -949,61 +872,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; 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() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -1011,47 +927,34 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp changeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - changeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> changeTimeBuilder_; /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ public boolean hasChangeTime() { return changeTimeBuilder_ != null || changeTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1072,15 +975,14 @@ public Builder setChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; */ - public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (changeTimeBuilder_ == null) { changeTime_ = builderForValue.build(); onChanged(); @@ -1091,8 +993,6 @@ public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1103,7 +1003,7 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { if (changeTime_ != null) { changeTime_ = - com.google.protobuf.Timestamp.newBuilder(changeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(changeTime_).mergeFrom(value).buildPartial(); } else { changeTime_ = value; } @@ -1115,8 +1015,6 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1135,8 +1033,6 @@ public Builder clearChangeTime() { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1144,13 +1040,11 @@ public Builder clearChangeTime() { * .google.protobuf.Timestamp change_time = 2; */ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { - + onChanged(); return getChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when change was made.
      * 
@@ -1161,14 +1055,11 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { if (changeTimeBuilder_ != null) { return changeTimeBuilder_.getMessageOrBuilder(); } else { - return changeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : changeTime_; + return changeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } } /** - * - * *
      * Time when change was made.
      * 
@@ -1176,17 +1067,14 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { * .google.protobuf.Timestamp change_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getChangeTimeFieldBuilder() { if (changeTimeBuilder_ == null) { - changeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getChangeTime(), getParentForChildren(), isClean()); + changeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getChangeTime(), + getParentForChildren(), + isClean()); changeTime_ = null; } return changeTimeBuilder_; @@ -1194,65 +1082,51 @@ 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. */ public Builder setActorTypeValue(int value) { - + actorType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActorType result = - com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.valueOf(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. */ @@ -1260,24 +1134,21 @@ public Builder setActorType(com.google.analytics.admin.v1alpha.ActorType value) if (value == null) { throw new NullPointerException(); } - + actorType_ = value.getNumber(); onChanged(); 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() { - + actorType_ = 0; onChanged(); return this; @@ -1285,8 +1156,6 @@ public Builder clearActorType() { private java.lang.Object userActorEmail_ = ""; /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1294,13 +1163,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; @@ -1309,8 +1178,6 @@ public java.lang.String getUserActorEmail() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1318,14 +1185,15 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -1333,8 +1201,6 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1342,22 +1208,20 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() {
      * 
* * string user_actor_email = 4; - * * @param value The userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmail(java.lang.String value) { + public Builder setUserActorEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userActorEmail_ = value; 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.
@@ -1365,18 +1229,15 @@ public Builder setUserActorEmail(java.lang.String value) {
      * 
* * string user_actor_email = 4; - * * @return This builder for chaining. */ public Builder clearUserActorEmail() { - + userActorEmail_ = getDefaultInstance().getUserActorEmail(); 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.
@@ -1384,32 +1245,29 @@ 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) { + public Builder setUserActorEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userActorEmail_ = value; onChanged(); 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 @@ -1417,64 +1275,50 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; onChanged(); return this; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @return This builder for chaining. */ public Builder clearChangesFiltered() { - + changesFiltered_ = false; onChanged(); return this; } private java.util.List changes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changes_ = - new java.util.ArrayList( - changes_); + changes_ = new java.util.ArrayList(changes_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1490,8 +1334,6 @@ public java.util.List ge
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1507,8 +1349,6 @@ public int getChangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1524,8 +1364,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1548,8 +1386,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1569,8 +1405,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1592,8 +1426,6 @@ public Builder addChanges(com.google.analytics.admin.v1alpha.ChangeHistoryChange
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1616,8 +1448,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1637,8 +1467,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1658,8 +1486,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1668,11 +1494,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);
@@ -1680,8 +1506,6 @@ public Builder addAllChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1700,8 +1524,6 @@ public Builder clearChanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1720,8 +1542,6 @@ public Builder removeChanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1734,8 +1554,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
       return getChangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1746,14 +1564,11 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
     public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
         int index) {
       if (changesBuilder_ == null) {
-        return changes_.get(index);
-      } else {
+        return changes_.get(index);  } else {
         return changesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1761,8 +1576,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 {
@@ -1770,8 +1585,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1780,12 +1593,10 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder() {
-      return getChangesFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1795,13 +1606,10 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder(
         int index) {
-      return getChangesFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1809,30 +1617,27 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      *
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
-    public java.util.List
-        getChangesBuilderList() {
+    public java.util.List 
+         getChangesBuilderList() {
       return getChangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChangeHistoryChange,
-            com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
-            com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>
+        com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> 
         getChangesFieldBuilder() {
       if (changesBuilder_ == null) {
-        changesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.ChangeHistoryChange,
-                com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
-                com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>(
-                changes_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -1842,12 +1647,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();
   }
@@ -1856,16 +1661,16 @@ 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 {
-          return new ChangeHistoryEvent(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new ChangeHistoryEvent(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1880,4 +1685,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
index 0229a14c..5556422b 100644
--- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
+++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
@@ -1,80 +1,51 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface ChangeHistoryEventOrBuilder
-    extends
+public interface ChangeHistoryEventOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** - * - * *
    * Time when change was made.
    * 
@@ -84,33 +55,25 @@ public interface ChangeHistoryEventOrBuilder com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The actorType. */ com.google.analytics.admin.v1alpha.ActorType getActorType(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -118,13 +81,10 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -132,28 +92,23 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString getUserActorEmailBytes(); + com.google.protobuf.ByteString + getUserActorEmailBytes(); /** - * - * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ boolean getChangesFiltered(); /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -161,10 +116,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List getChangesList();
+  java.util.List 
+      getChangesList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -174,8 +128,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int index);
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -185,8 +137,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   int getChangesCount();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -194,11 +144,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List
+  java.util.List 
       getChangesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -206,5 +154,6 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
+      int index);
 }
diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
similarity index 75%
rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
index ac15b7ca..2d2a962b 100644
--- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
+++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Account resource
    * 
@@ -49,8 +29,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ ACCOUNT(1), /** - * - * *
    * Property resource
    * 
@@ -59,8 +37,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ PROPERTY(2), /** - * - * *
    * WebDataStream resource
    * 
@@ -69,8 +45,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ WEB_DATA_STREAM(3), /** - * - * *
    * AndroidAppDataStream resource
    * 
@@ -79,8 +53,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ ANDROID_APP_DATA_STREAM(4), /** - * - * *
    * IosAppDataStream resource
    * 
@@ -89,8 +61,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ IOS_APP_DATA_STREAM(5), /** - * - * *
    * FirebaseLink resource
    * 
@@ -99,8 +69,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ FIREBASE_LINK(6), /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -109,8 +77,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_ADS_LINK(7), /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -119,8 +85,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_SIGNALS_SETTINGS(8), /** - * - * *
    * ConversionEvent resource
    * 
@@ -129,8 +93,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CONVERSION_EVENT(9), /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -139,8 +101,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ MEASUREMENT_PROTOCOL_SECRET(10), /** - * - * *
    * CustomDimension resource
    * 
@@ -149,8 +109,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CUSTOM_DIMENSION(11), /** - * - * *
    * CustomMetric resource
    * 
@@ -159,8 +117,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CUSTOM_METRIC(12), /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -168,12 +124,26 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes * DATA_RETENTION_SETTINGS = 13; */ DATA_RETENTION_SETTINGS(13), + /** + *
+   * DisplayVideo360AdvertiserLink resource
+   * 
+ * + * DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + */ + DISPLAY_VIDEO_360_ADVERTISER_LINK(14), + /** + *
+   * DisplayVideo360AdvertiserLinkProposal resource
+   * 
+ * + * DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + */ + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL(15), UNRECOGNIZED(-1), ; /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -182,8 +152,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Account resource
    * 
@@ -192,8 +160,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int ACCOUNT_VALUE = 1; /** - * - * *
    * Property resource
    * 
@@ -202,8 +168,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int PROPERTY_VALUE = 2; /** - * - * *
    * WebDataStream resource
    * 
@@ -212,8 +176,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int WEB_DATA_STREAM_VALUE = 3; /** - * - * *
    * AndroidAppDataStream resource
    * 
@@ -222,8 +184,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 4; /** - * - * *
    * IosAppDataStream resource
    * 
@@ -232,8 +192,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int IOS_APP_DATA_STREAM_VALUE = 5; /** - * - * *
    * FirebaseLink resource
    * 
@@ -242,8 +200,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int FIREBASE_LINK_VALUE = 6; /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -252,8 +208,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -262,8 +216,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** - * - * *
    * ConversionEvent resource
    * 
@@ -272,8 +224,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CONVERSION_EVENT_VALUE = 9; /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -282,8 +232,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** - * - * *
    * CustomDimension resource
    * 
@@ -292,8 +240,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CUSTOM_DIMENSION_VALUE = 11; /** - * - * *
    * CustomMetric resource
    * 
@@ -302,8 +248,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CUSTOM_METRIC_VALUE = 12; /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -311,6 +255,23 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes * DATA_RETENTION_SETTINGS = 13; */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; + /** + *
+   * DisplayVideo360AdvertiserLink resource
+   * 
+ * + * DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + */ + public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; + /** + *
+   * DisplayVideo360AdvertiserLinkProposal resource
+   * 
+ * + * DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + */ + public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -336,36 +297,23 @@ 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 3: - return WEB_DATA_STREAM; - case 4: - return ANDROID_APP_DATA_STREAM; - case 5: - return IOS_APP_DATA_STREAM; - 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; - default: - return null; + case 0: return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: return ACCOUNT; + case 2: return PROPERTY; + case 3: return WEB_DATA_STREAM; + case 4: return ANDROID_APP_DATA_STREAM; + case 5: return IOS_APP_DATA_STREAM; + 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; + default: return null; } } @@ -373,28 +321,28 @@ public static ChangeHistoryResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeHistoryResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeHistoryResourceType findValueByNumber(int number) { + return ChangeHistoryResourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeHistoryResourceType findValueByNumber(int number) { - return ChangeHistoryResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(4); } @@ -403,7 +351,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ChangeHistoryResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -419,3 +368,4 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ChangeHistoryResourceType) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index 355d7241..2aaecba5 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ -public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversionEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConversionEvent) ConversionEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -44,15 +26,16 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConversionEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,91 +54,82 @@ private ConversionEvent( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - eventName_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 32: - { - deletable_ = input.readBool(); - break; + eventName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 40: - { - custom_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 32: { + + deletable_ = input.readBool(); + break; + } + case 40: { + + custom_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -164,30 +138,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 { @@ -198,15 +172,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EVENT_NAME_FIELD_NUMBER = 2; 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 @@ -215,30 +186,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 { @@ -249,15 +220,11 @@ public com.google.protobuf.ByteString getEventNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -265,15 +232,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -281,14 +244,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -298,14 +258,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_; /** - * - * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ @java.lang.Override @@ -316,8 +273,6 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_; /** - * - * *
    * Output only. If set to true, this conversion event refers to a custom event.  If set to
    * false, this conversion event refers to a default event in GA. Default
@@ -328,7 +283,6 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ @java.lang.Override @@ -337,7 +291,6 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +302,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -381,13 +335,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, custom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -397,22 +354,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ConversionEvent)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ConversionEvent other = - (com.google.analytics.admin.v1alpha.ConversionEvent) obj; + com.google.analytics.admin.v1alpha.ConversionEvent other = (com.google.analytics.admin.v1alpha.ConversionEvent) obj; - if (!getName().equals(other.getName())) return false; - if (!getEventName().equals(other.getEventName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEventName() + .equals(other.getEventName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (getDeletable() != other.getDeletable()) return false; - if (getCustom() != other.getCustom()) return false; + if (getDeletable() + != other.getDeletable()) return false; + if (getCustom() + != other.getCustom()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,135 +394,128 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCustom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConversionEvent) com.google.analytics.admin.v1alpha.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder() @@ -569,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -599,9 +554,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 @@ -620,8 +575,7 @@ 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); + com.google.analytics.admin.v1alpha.ConversionEvent result = new com.google.analytics.admin.v1alpha.ConversionEvent(this); result.name_ = name_; result.eventName_ = eventName_; if (createTimeBuilder_ == null) { @@ -639,39 +593,38 @@ public com.google.analytics.admin.v1alpha.ConversionEvent buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -679,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConversionEvent other) { - if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -717,8 +669,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ConversionEvent) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ConversionEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -730,21 +681,19 @@ public Builder mergeFrom( 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; @@ -753,22 +702,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -776,64 +724,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -841,21 +782,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventName_ = ""; /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -864,22 +803,21 @@ public java.lang.String getEventName() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -887,64 +825,57 @@ public com.google.protobuf.ByteString getEventNameBytes() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName(java.lang.String value) { + public Builder setEventName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventName_ = value; 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() { - + eventName_ = getDefaultInstance().getEventName(); onChanged(); 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) { + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventName_ = value; onChanged(); return this; @@ -952,58 +883,39 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || 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. */ 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) { @@ -1019,17 +931,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1040,21 +949,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1066,15 +971,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1088,79 +989,60 @@ 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean deletable_; + private boolean deletable_ ; /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ @java.lang.Override @@ -1168,45 +1050,37 @@ public boolean getDeletable() { return deletable_; } /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeletable() { - + deletable_ = false; onChanged(); return this; } - private boolean custom_; + private boolean custom_ ; /** - * - * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1217,7 +1091,6 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ @java.lang.Override @@ -1225,8 +1098,6 @@ public boolean getCustom() { return custom_; } /** - * - * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1237,19 +1108,16 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1260,18 +1128,17 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCustom() { - + custom_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1281,12 +1148,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(); } @@ -1295,16 +1162,16 @@ 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 { - return new ConversionEvent(input, extensionRegistry); - } - }; + 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 { + return new ConversionEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1319,4 +1186,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index b42b2f98..3629fb0b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java @@ -1,136 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface ConversionEventOrBuilder - extends +public interface ConversionEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ java.lang.String getEventName(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - com.google.protobuf.ByteString getEventNameBytes(); + com.google.protobuf.ByteString + getEventNameBytes(); /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ boolean getDeletable(); /** - * - * *
    * Output only. If set to true, this conversion event refers to a custom event.  If set to
    * false, this conversion event refers to a default event in GA. Default
@@ -141,7 +99,6 @@ public interface ConversionEventOrBuilder
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ boolean getCustom(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java index 1963dc83..ca902274 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,77 +53,65 @@ private CreateConversionEventRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null; - if (conversionEvent_ != null) { - subBuilder = conversionEvent_.toBuilder(); - } - conversionEvent_ = - input.readMessage( - com.google.analytics.admin.v1alpha.ConversionEvent.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversionEvent_); - conversionEvent_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null; + if (conversionEvent_ != null) { + subBuilder = conversionEvent_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; + conversionEvent_ = input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversionEvent_); + conversionEvent_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -148,34 +119,23 @@ 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() { @@ -185,17 +145,12 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion public static final int PARENT_FIELD_NUMBER = 2; 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 @@ -204,32 +159,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent property where this conversion event will
    * be created. Format: properties/123
    * 
* - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -238,7 +191,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -267,7 +220,8 @@ public int getSerializedSize() { size = 0; if (conversionEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversionEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConversionEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -280,19 +234,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = - (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent().equals(other.getConversionEvent())) return false; + if (!getConversionEvent() + .equals(other.getConversionEvent())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -316,127 +271,117 @@ 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() @@ -444,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,14 +414,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance(); } @@ -490,8 +435,7 @@ 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); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); if (conversionEventBuilder_ == null) { result.conversionEvent_ = conversionEvent_; } else { @@ -506,50 +450,46 @@ public com.google.analytics.admin.v1alpha.CreateConversionEventRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -576,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,58 +528,39 @@ public Builder mergeFrom( 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 conversionEventBuilder_ != null || 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. */ 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) { @@ -657,15 +576,11 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversionEvent( com.google.analytics.admin.v1alpha.ConversionEvent.Builder builderForValue) { @@ -679,23 +594,17 @@ public Builder setConversionEvent( return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { if (conversionEvent_ != null) { conversionEvent_ = - com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder(conversionEvent_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder(conversionEvent_).mergeFrom(value).buildPartial(); } else { conversionEvent_ = value; } @@ -707,15 +616,11 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConversionEvent() { if (conversionEventBuilder_ == null) { @@ -729,65 +634,48 @@ 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() { - + onChanged(); 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_; @@ -795,23 +683,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent property where this conversion event will
      * be created. Format: properties/123
      * 
* - * - * 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; @@ -820,24 +704,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent property where this conversion event will
      * be created. Format: properties/123
      * 
* - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -845,77 +726,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent property where this conversion event will
      * be created. Format: properties/123
      * 
* - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -925,32 +793,30 @@ 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 { - return new CreateConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -962,8 +828,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..4c5bcf95 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The conversionEvent. + */ + com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + *
+   * Required. The resource name of the parent property where this conversion event will
+   * be created. Format: properties/123
+   * 
+ * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The resource name of the parent property where this conversion event will
+   * be created. Format: properties/123
+   * 
+ * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java index 3ea4d680..6285936e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,77 +53,65 @@ private CreateCustomDimensionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; + if (customDimension_ != null) { + subBuilder = customDimension_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; - if (customDimension_ != null) { - subBuilder = customDimension_.toBuilder(); - } - customDimension_ = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomDimension.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customDimension_); - customDimension_ = subBuilder.buildPartial(); - } - - break; + customDimension_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customDimension_); + customDimension_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -149,31 +120,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,16 +153,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ @java.lang.Override @@ -201,34 +165,23 @@ 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() { @@ -236,7 +189,6 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,7 +221,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomDimension()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,18 +232,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -314,127 +269,117 @@ 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() @@ -442,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,14 +412,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance(); } @@ -488,8 +433,7 @@ 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); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); result.parent_ = parent_; if (customDimensionBuilder_ == null) { result.customDimension_ = customDimension_; @@ -504,50 +448,46 @@ public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -574,9 +514,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,22 +526,18 @@ public Builder mergeFrom( 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; @@ -612,23 +546,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -636,67 +567,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -704,58 +622,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return customDimensionBuilder_ != null || 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. */ 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) { @@ -771,15 +670,11 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomDimension( com.google.analytics.admin.v1alpha.CustomDimension.Builder builderForValue) { @@ -793,23 +688,17 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { if (customDimension_ != null) { customDimension_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_).mergeFrom(value).buildPartial(); } else { customDimension_ = value; } @@ -821,15 +710,11 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomDimension() { if (customDimensionBuilder_ == null) { @@ -843,72 +728,55 @@ 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() { - + onChanged(); 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); } @@ -918,32 +786,30 @@ 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 { - return new CreateCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,8 +821,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..63fe5fc1 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customDimension. + */ + com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java index 734c241e..5eef2515 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,76 +53,65 @@ private CreateCustomMetricRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; + if (customMetric_ != null) { + subBuilder = customMetric_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; - if (customMetric_ != null) { - subBuilder = customMetric_.toBuilder(); - } - customMetric_ = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customMetric_); - customMetric_ = subBuilder.buildPartial(); - } - - break; + customMetric_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customMetric_); + customMetric_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -148,31 +120,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -183,16 +153,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_METRIC_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ @java.lang.Override @@ -200,34 +165,23 @@ 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() { @@ -235,7 +189,6 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -267,7 +221,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomMetric()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -277,18 +232,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -313,127 +269,117 @@ 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() @@ -441,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,14 +412,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance(); } @@ -487,8 +433,7 @@ 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); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); result.parent_ = parent_; if (customMetricBuilder_ == null) { result.customMetric_ = customMetric_; @@ -503,39 +448,38 @@ public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -543,9 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -572,8 +514,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -585,22 +526,18 @@ public Builder mergeFrom( 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; @@ -609,23 +546,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -633,67 +567,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -701,58 +622,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return customMetricBuilder_ != null || 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. */ 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) { @@ -768,15 +670,11 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomMetric( com.google.analytics.admin.v1alpha.CustomMetric.Builder builderForValue) { @@ -790,23 +688,17 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { if (customMetric_ != null) { customMetric_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_).mergeFrom(value).buildPartial(); } else { customMetric_ = value; } @@ -818,15 +710,11 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomMetric() { if (customMetricBuilder_ == null) { @@ -840,71 +728,55 @@ 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() { - + onChanged(); 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); } @@ -914,13 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(); } @@ -929,16 +800,16 @@ 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 { - return new CreateCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,4 +824,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..b4b64d9e --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customMetric. + */ + com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java new file mode 100644 index 00000000..a21f24db --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java @@ -0,0 +1,829 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) + CreateDataStreamRequestOrBuilder { +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) { + return new CreateDataStreamRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateDataStreamRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; + if (dataStream_ != null) { + subBuilder = dataStream_.toBuilder(); + } + dataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataStream_); + dataStream_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + 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 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]; + * @return Whether the dataStream field is set. + */ + @java.lang.Override + public boolean hasDataStream() { + return dataStream_ != null; + } + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .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_; + } + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .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 getDataStream(); + } + + 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 (dataStream_ != null) { + output.writeMessage(2, getDataStream()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (dataStream_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataStream()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDataStreamRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CreateDataStreamRequest other = (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasDataStream() != other.hasDataStream()) return false; + if (hasDataStream()) { + if (!getDataStream() + .equals(other.getDataStream())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasDataStream()) { + hash = (37 * hash) + DATA_STREAM_FIELD_NUMBER; + hash = (53 * hash) + getDataStream().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.CreateDataStreamRequest 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 CreateDataStream RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (dataStreamBuilder_ == null) { + dataStream_ = null; + } else { + dataStream_ = null; + dataStreamBuilder_ = 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_CreateDataStreamRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDataStreamRequest build() { + com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.parent_ = parent_; + if (dataStreamBuilder_ == null) { + result.dataStream_ = dataStream_; + } else { + result.dataStream_ = dataStreamBuilder_.build(); + } + 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.CreateDataStreamRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CreateDataStreamRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasDataStream()) { + mergeDataStream(other.getDataStream()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.CreateDataStreamRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + 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_; + /** + *
+     * 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. + */ + public boolean hasDataStream() { + return dataStreamBuilder_ != null || dataStream_ != null; + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .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_; + } else { + return dataStreamBuilder_.getMessage(); + } + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .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) { + if (value == null) { + throw new NullPointerException(); + } + dataStream_ = value; + onChanged(); + } else { + dataStreamBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setDataStream( + com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { + if (dataStreamBuilder_ == null) { + dataStream_ = builderForValue.build(); + onChanged(); + } else { + dataStreamBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .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 (dataStream_ != null) { + dataStream_ = + com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_).mergeFrom(value).buildPartial(); + } else { + dataStream_ = value; + } + onChanged(); + } else { + dataStreamBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearDataStream() { + if (dataStreamBuilder_ == null) { + dataStream_ = null; + onChanged(); + } else { + dataStream_ = null; + dataStreamBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilder() { + + onChanged(); + return getDataStreamFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .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_; + } + } + /** + *
+     * Required. The DataStream to create.
+     * 
+ * + * .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> + 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()); + dataStream_ = null; + } + return dataStreamBuilder_; + } + @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.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(); + } + + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefaultInstance() { + 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 { + return new CreateDataStreamRequest(input, extensionRegistry); + } + }; + + 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.CreateDataStreamRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..d38913bf --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The dataStream. + */ + com.google.analytics.admin.v1alpha.DataStream getDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..c5552042 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,829 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + *
+ * Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CreateDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CreateDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateDisplayVideo360AdvertiserLinkProposalRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder subBuilder = null; + if (displayVideo360AdvertiserLinkProposal_ != null) { + subBuilder = displayVideo360AdvertiserLinkProposal_.toBuilder(); + } + displayVideo360AdvertiserLinkProposal_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLinkProposal_); + displayVideo360AdvertiserLinkProposal_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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 getDisplayVideo360AdvertiserLinkProposal(); + } + + 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()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (displayVideo360AdvertiserLinkProposal_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDisplayVideo360AdvertiserLinkProposal()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + 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) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = null; + } else { + displayVideo360AdvertiserLinkProposal_ = null; + 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); + result.parent_ = parent_; + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposal_; + } else { + result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposalBuilder_.build(); + } + 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.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_; + onChanged(); + } + if (other.hasDisplayVideo360AdvertiserLinkProposal()) { + mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 displayVideo360AdvertiserLinkProposalBuilder_ != null || 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. + */ + 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; + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); + } + + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + displayVideo360AdvertiserLinkProposal_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder(displayVideo360AdvertiserLinkProposal_).mergeFrom(value).buildPartial(); + } else { + displayVideo360AdvertiserLinkProposal_ = value; + } + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); + } + + 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() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = null; + onChanged(); + } else { + displayVideo360AdvertiserLinkProposal_ = null; + displayVideo360AdvertiserLinkProposalBuilder_ = null; + } + + 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() { + + 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 { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; + + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..276ca781 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + boolean hasDisplayVideo360AdvertiserLinkProposal(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLinkProposal. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java index 336e4762..42319a03 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ -public final class CreateDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDisplayVideo360AdvertiserLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,79 +53,65 @@ private CreateDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = - null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); - } - displayVideo360AdvertiserLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); - } - - break; + displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -153,31 +120,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -186,19 +151,13 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -206,44 +165,30 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { return getDisplayVideo360AdvertiserLink(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,9 +221,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (displayVideo360AdvertiserLink_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getDisplayVideo360AdvertiserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDisplayVideo360AdvertiserLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,21 +232,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) - return false; + if (!getParent() + .equals(other.getParent())) return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - return false; + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,152 +268,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,22 +412,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -509,10 +432,8 @@ 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); + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); result.parent_ = parent_; if (displayVideo360AdvertiserLinkBuilder_ == null) { result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; @@ -527,53 +448,46 @@ public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -596,14 +510,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,22 +526,18 @@ public Builder mergeFrom( 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; @@ -639,23 +546,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -663,132 +567,96 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 displayVideo360AdvertiserLinkBuilder_ != null - || displayVideo360AdvertiserLink_ != null; + return displayVideo360AdvertiserLinkBuilder_ != null || 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. */ - 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(); @@ -802,15 +670,11 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -824,25 +688,17 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (displayVideo360AdvertiserLink_ != null) { displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( - displayVideo360AdvertiserLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); } else { displayVideo360AdvertiserLink_ = value; } @@ -854,15 +710,11 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -876,73 +728,55 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { - + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + 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); } @@ -952,34 +786,30 @@ 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 { - return new CreateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,8 +821,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..41bf5ad1 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java index 9df54351..3e9baef1 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateFirebaseLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,77 +53,66 @@ private CreateFirebaseLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null; + if (firebaseLink_ != null) { + subBuilder = firebaseLink_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null; - if (firebaseLink_ != null) { - subBuilder = firebaseLink_.toBuilder(); - } - firebaseLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firebaseLink_); - firebaseLink_ = subBuilder.buildPartial(); - } - - break; + firebaseLink_ = input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firebaseLink_); + firebaseLink_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -149,32 +121,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -185,16 +155,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FIREBASE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -202,34 +167,23 @@ 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() { @@ -237,7 +191,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -269,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (firebaseLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFirebaseLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFirebaseLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,18 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,127 +271,117 @@ 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() @@ -443,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,14 +414,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance(); } @@ -489,8 +435,7 @@ 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); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); result.parent_ = parent_; if (firebaseLinkBuilder_ == null) { result.firebaseLink_ = firebaseLink_; @@ -505,39 +450,38 @@ public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -545,9 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -574,8 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -587,23 +528,19 @@ public Builder mergeFrom( 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; @@ -612,24 +549,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -637,70 +571,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -708,58 +629,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> - firebaseLinkBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinkBuilder_; /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ public boolean hasFirebaseLink() { return firebaseLinkBuilder_ != null || 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. */ 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) { @@ -775,15 +677,11 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFirebaseLink( com.google.analytics.admin.v1alpha.FirebaseLink.Builder builderForValue) { @@ -797,23 +695,17 @@ public Builder setFirebaseLink( return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { if (firebaseLink_ != null) { firebaseLink_ = - com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder(firebaseLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder(firebaseLink_).mergeFrom(value).buildPartial(); } else { firebaseLink_ = value; } @@ -825,15 +717,11 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFirebaseLink() { if (firebaseLinkBuilder_ == null) { @@ -847,71 +735,55 @@ 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() { - + onChanged(); 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); } @@ -921,13 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(); } @@ -936,16 +807,16 @@ 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 { - return new CreateFirebaseLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateFirebaseLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -960,4 +831,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 00000000..ae17db52 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The firebaseLink. + */ + com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java index 8a8132eb..6b8a6b6a 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,76 +53,65 @@ private CreateGoogleAdsLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; + if (googleAdsLink_ != null) { + subBuilder = googleAdsLink_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; - if (googleAdsLink_ != null) { - subBuilder = googleAdsLink_.toBuilder(); - } - googleAdsLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleAdsLink_); - googleAdsLink_ = subBuilder.buildPartial(); - } - - break; + googleAdsLink_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleAdsLink_); + googleAdsLink_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -148,31 +120,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -183,16 +153,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -200,34 +165,23 @@ 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() { @@ -235,7 +189,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -267,7 +221,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGoogleAdsLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -277,18 +232,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -313,127 +269,117 @@ 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() @@ -441,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,14 +412,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -487,8 +433,7 @@ 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); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); result.parent_ = parent_; if (googleAdsLinkBuilder_ == null) { result.googleAdsLink_ = googleAdsLink_; @@ -503,39 +448,38 @@ public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -543,9 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -572,9 +514,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -586,22 +526,18 @@ public Builder mergeFrom( 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; @@ -610,23 +546,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -634,67 +567,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -702,58 +622,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return googleAdsLinkBuilder_ != null || 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. */ 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) { @@ -769,15 +670,11 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleAdsLink( com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder builderForValue) { @@ -791,23 +688,17 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { if (googleAdsLink_ != null) { googleAdsLink_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_).mergeFrom(value).buildPartial(); } else { googleAdsLink_ = value; } @@ -819,15 +710,11 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { @@ -841,71 +728,55 @@ 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() { - + onChanged(); 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); } @@ -915,13 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(); } @@ -930,16 +800,16 @@ 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 { - return new CreateGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +824,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 00000000..72a64848 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java similarity index 59% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java index cce3fcdf..0c8db36b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,71 +53,60 @@ private CreateMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null; + if (measurementProtocolSecret_ != null) { + subBuilder = measurementProtocolSecret_.toBuilder(); } - case 18: - { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = - null; - if (measurementProtocolSecret_ != null) { - subBuilder = measurementProtocolSecret_.toBuilder(); - } - measurementProtocolSecret_ = - input.readMessage( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(measurementProtocolSecret_); - measurementProtocolSecret_ = subBuilder.buildPartial(); - } - - break; + measurementProtocolSecret_ = input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(measurementProtocolSecret_); + measurementProtocolSecret_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -144,10 +114,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * - * string parent = 1 [(.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 @@ -156,15 +123,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -172,18 +138,17 @@ public java.lang.String getParent() {
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -194,16 +159,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -211,44 +171,30 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { return getMeasurementProtocolSecret(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -280,9 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (measurementProtocolSecret_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getMeasurementProtocolSecret()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMeasurementProtocolSecret()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,20 +238,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -330,146 +275,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,22 +418,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -508,10 +438,8 @@ 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); + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); result.parent_ = parent_; if (measurementProtocolSecretBuilder_ == null) { result.measurementProtocolSecret_ = measurementProtocolSecret_; @@ -526,52 +454,46 @@ public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -594,14 +516,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,8 +532,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -622,16 +539,14 @@ public Builder mergeFrom(
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * - * string parent = 1 [(.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; @@ -640,8 +555,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -649,17 +562,16 @@ public java.lang.String getParent() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -667,8 +579,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -676,25 +586,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * - * string parent = 1 [(.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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -702,21 +608,16 @@ public Builder setParent(java.lang.String value) {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * - * string 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -724,19 +625,17 @@ public Builder clearParent() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * - * string parent = 1 [(.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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -744,62 +643,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecretBuilder_ != null || 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. */ - 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(); @@ -813,15 +691,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -835,25 +709,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (measurementProtocolSecret_ != null) { measurementProtocolSecret_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( - measurementProtocolSecret_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder(measurementProtocolSecret_).mergeFrom(value).buildPartial(); } else { measurementProtocolSecret_ = value; } @@ -865,15 +731,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -887,73 +749,55 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { - + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + 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); } @@ -963,33 +807,30 @@ 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 { - return new CreateMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,8 +842,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java similarity index 51% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java index 4bcf46fd..a9a9f76d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface CreateMeasurementProtocolSecretRequestOrBuilder - extends +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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -33,16 +15,11 @@ public interface CreateMeasurementProtocolSecretRequestOrBuilder
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * - * string parent = 1 [(.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 parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -50,53 +27,36 @@ public interface CreateMeasurementProtocolSecretRequestOrBuilder
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * - * string parent = 1 [(.google.api.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 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. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
    * 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. */ 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]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java index 6c78f120..45fe53cb 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) CreatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreatePropertyRequest() {} + private CreatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreatePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,70 +52,60 @@ private CreatePropertyRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; - if (property_ != null) { - subBuilder = property_.toBuilder(); - } - property_ = - input.readMessage( - com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(property_); - property_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; + if (property_ != null) { + subBuilder = property_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + property_ = input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(property_); + property_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -139,36 +113,25 @@ 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() { @@ -176,7 +139,6 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -202,7 +165,8 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -212,17 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -245,127 +209,117 @@ 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() @@ -373,15 +327,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +350,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 @@ -416,8 +371,7 @@ 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); + com.google.analytics.admin.v1alpha.CreatePropertyRequest result = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); if (propertyBuilder_ == null) { result.property_ = property_; } else { @@ -431,39 +385,38 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -471,8 +424,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -495,8 +447,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreatePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreatePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -508,61 +459,42 @@ public Builder mergeFrom( 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 propertyBuilder_ != null || 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. */ 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) { @@ -578,16 +510,12 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -601,24 +529,18 @@ public Builder setProperty( return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { if (property_ != null) { property_ = - com.google.analytics.admin.v1alpha.Property.newBuilder(property_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.Property.newBuilder(property_).mergeFrom(value).buildPartial(); } else { property_ = value; } @@ -630,16 +552,12 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { if (propertyBuilder_ == null) { @@ -653,74 +571,58 @@ 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() { - + onChanged(); 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); } @@ -730,12 +632,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(); } @@ -744,16 +646,16 @@ 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 { - return new CreatePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,4 +670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java new file mode 100644 index 00000000..fb9f826a --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreatePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The property. + */ + com.google.analytics.admin.v1alpha.Property getProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java index 60d21086..75e19dd8 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateUserLink RPC.
  * Users can have multiple email addresses associated with their Google
@@ -33,31 +16,31 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
  */
-public final class CreateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateUserLinkRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
     CreateUserLinkRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateUserLinkRequest.newBuilder() to construct.
   private CreateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateUserLinkRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateUserLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateUserLinkRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,81 +59,70 @@ private CreateUserLinkRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 16: {
+
+            notifyNewUser_ = input.readBool();
+            break;
+          }
+          case 26: {
+            com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null;
+            if (userLink_ != null) {
+              subBuilder = userLink_.toBuilder();
             }
-          case 16:
-            {
-              notifyNewUser_ = input.readBool();
-              break;
+            userLink_ = input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(userLink_);
+              userLink_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null;
-              if (userLink_ != null) {
-                subBuilder = userLink_.toBuilder();
-              }
-              userLink_ =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(userLink_);
-                userLink_ = subBuilder.buildPartial();
-              }
 
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +131,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -194,15 +164,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NOTIFY_NEW_USER_FIELD_NUMBER = 2; private boolean notifyNewUser_; /** - * - * *
    * Optional. If set, then email the new user notifying them that they've been granted
    * permissions to the resource.
    * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The notifyNewUser. */ @java.lang.Override @@ -213,16 +180,11 @@ public boolean getNotifyNewUser() { public static final int USER_LINK_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ @java.lang.Override @@ -230,34 +192,23 @@ public boolean hasUserLink() { return userLink_ != null; } /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { @@ -265,7 +216,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,10 +251,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUser_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUser_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, notifyNewUser_); } if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUserLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -313,19 +266,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getNotifyNewUser() != other.getNotifyNewUser()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getNotifyNewUser() + != other.getNotifyNewUser()) return false; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink().equals(other.getUserLink())) return false; + if (!getUserLink() + .equals(other.getUserLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -341,7 +296,8 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUser()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNotifyNewUser()); if (hasUserLink()) { hash = (37 * hash) + USER_LINK_FIELD_NUMBER; hash = (53 * hash) + getUserLink().hashCode(); @@ -352,104 +308,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateUserLink RPC.
    * Users can have multiple email addresses associated with their Google
@@ -462,23 +410,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
       com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.CreateUserLinkRequest.newBuilder()
@@ -486,15 +432,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -512,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -533,8 +480,7 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
-      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result =
-          new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
+      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
       result.parent_ = parent_;
       result.notifyNewUser_ = notifyNewUser_;
       if (userLinkBuilder_ == null) {
@@ -550,39 +496,38 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -590,8 +535,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateUserLinkRequest other) {
-      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -621,8 +565,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -634,22 +577,18 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -658,23 +597,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -682,83 +618,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private boolean notifyNewUser_; + private boolean notifyNewUser_ ; /** - * - * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The notifyNewUser. */ @java.lang.Override @@ -766,38 +686,32 @@ public boolean getNotifyNewUser() { return notifyNewUser_; } /** - * - * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The notifyNewUser to set. * @return This builder for chaining. */ public Builder setNotifyNewUser(boolean value) { - + notifyNewUser_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNotifyNewUser() { - + notifyNewUser_ = false; onChanged(); return this; @@ -805,58 +719,39 @@ public Builder clearNotifyNewUser() { private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ public boolean hasUserLink() { return userLinkBuilder_ != null || userLink_ != null; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -872,15 +767,11 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -894,23 +785,17 @@ public Builder setUserLink( return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { if (userLink_ != null) { userLink_ = - com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_).mergeFrom(value).buildPartial(); } else { userLink_ = value; } @@ -922,15 +807,11 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUserLink() { if (userLinkBuilder_ == null) { @@ -944,71 +825,55 @@ public Builder clearUserLink() { return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { - + onChanged(); return getUserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), getParentForChildren(), isClean()); + userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), + getParentForChildren(), + isClean()); userLink_ = null; } return userLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1018,12 +883,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.CreateUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(); } @@ -1032,16 +897,16 @@ public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1056,4 +921,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..44108f36 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Optional. If set, then email the new user notifying them that they've been granted
+   * permissions to the resource.
+   * 
+ * + * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The notifyNewUser. + */ + boolean getNotifyNewUser(); + + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java index a27dd19d..7022b214 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateWebDataStreamRequest} */ -public final class CreateWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateWebDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) CreateWebDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateWebDataStreamRequest.newBuilder() to construct. private CreateWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateWebDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,76 +53,65 @@ private CreateWebDataStreamRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; - if (webDataStream_ != null) { - subBuilder = webDataStream_.toBuilder(); - } - webDataStream_ = - input.readMessage( - com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webDataStream_); - webDataStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; + if (webDataStream_ != null) { + subBuilder = webDataStream_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; + webDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webDataStream_); + webDataStream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); } public static final int WEB_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; /** - * - * *
    * Required. The web stream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -147,34 +119,23 @@ public boolean hasWebDataStream() { return webDataStream_ != null; } /** - * - * *
    * Required. The web stream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } /** - * - * *
    * Required. The web stream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { @@ -184,17 +145,12 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource where this web data stream 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 @@ -203,32 +159,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource where this web data stream 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 { @@ -237,7 +191,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (webDataStream_ != null) { output.writeMessage(1, getWebDataStream()); } @@ -266,7 +220,8 @@ public int getSerializedSize() { size = 0; if (webDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWebDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWebDataStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -279,19 +234,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.CreateWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other = - (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) obj; if (hasWebDataStream() != other.hasWebDataStream()) return false; if (hasWebDataStream()) { - if (!getWebDataStream().equals(other.getWebDataStream())) return false; + if (!getWebDataStream() + .equals(other.getWebDataStream())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,127 +271,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateWebDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) com.google.analytics.admin.v1alpha.CreateWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.newBuilder() @@ -443,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,14 +414,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance(); } @@ -489,8 +435,7 @@ public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest result = - new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(this); if (webDataStreamBuilder_ == null) { result.webDataStream_ = webDataStream_; } else { @@ -505,39 +450,38 @@ public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -545,9 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance()) return this; if (other.hasWebDataStream()) { mergeWebDataStream(other.getWebDataStream()); } @@ -574,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,58 +528,39 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> - webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the webDataStream field is set. */ public boolean hasWebDataStream() { return webDataStreamBuilder_ != null || webDataStream_ != null; } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The webDataStream. */ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (webDataStreamBuilder_ == null) { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } else { return webDataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { @@ -655,15 +576,11 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWebDataStream( com.google.analytics.admin.v1alpha.WebDataStream.Builder builderForValue) { @@ -677,23 +594,17 @@ public Builder setWebDataStream( return this; } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { if (webDataStream_ != null) { webDataStream_ = - com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_).mergeFrom(value).buildPartial(); } else { webDataStream_ = value; } @@ -705,15 +616,11 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWebDataStream() { if (webDataStreamBuilder_ == null) { @@ -727,64 +634,48 @@ public Builder clearWebDataStream() { return this; } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStreamBuilder() { - + onChanged(); return getWebDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (webDataStreamBuilder_ != null) { return webDataStreamBuilder_.getMessageOrBuilder(); } else { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } } /** - * - * *
      * Required. The web stream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { - webDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( - getWebDataStream(), getParentForChildren(), isClean()); + webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + getWebDataStream(), + getParentForChildren(), + isClean()); webDataStream_ = null; } return webDataStreamBuilder_; @@ -792,23 +683,19 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource where this web data stream 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; @@ -817,24 +704,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource where this web data stream 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 { @@ -842,77 +726,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource where this web data stream 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this web data stream 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this web data stream 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,13 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(); } @@ -937,16 +807,16 @@ public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,4 +831,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..d18cc575 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateWebDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The web stream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the webDataStream field is set. + */ + boolean hasWebDataStream(); + /** + *
+   * Required. The web stream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The webDataStream. + */ + com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); + /** + *
+   * Required. The web stream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); + + /** + *
+   * Required. The parent resource where this web data stream 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 parent resource where this web data stream 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index 0a8b143c..5b611155 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ -public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomDimension extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomDimension) CustomDimensionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -47,15 +29,16 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CustomDimension( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,93 +57,83 @@ private CustomDimension( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - parameterName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parameterName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - case 48: - { - disallowAdsPersonalization_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + scope_ = rawValue; + break; + } + case 48: { + + disallowAdsPersonalization_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -169,8 +142,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ DIMENSION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -179,8 +150,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(1), /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -192,8 +161,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -202,8 +169,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -212,8 +177,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -222,6 +185,7 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -246,51 +210,49 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: - return DIMENSION_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - case 2: - return USER; - default: - return null; + case 0: return DIMENSION_SCOPE_UNSPECIFIED; + case 1: return EVENT; + case 2: return USER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DimensionScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor().getEnumTypes().get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -310,15 +272,12 @@ private DimensionScope(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -327,30 +286,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 { @@ -361,8 +320,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PARAMETER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object parameterName_; /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -373,10 +330,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -385,15 +339,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -404,18 +357,17 @@ public java.lang.String getParameterName() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -426,8 +378,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -437,7 +387,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -446,15 +395,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -464,15 +412,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -483,14 +432,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -499,29 +445,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -532,50 +478,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SCOPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.valueOf(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.valueOf(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_; /** - * - * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -583,7 +512,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScop
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -592,7 +520,6 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -604,7 +531,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -617,10 +545,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, scope_); } if (disallowAdsPersonalization_ != false) { @@ -647,14 +572,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, scope_); } if (disallowAdsPersonalization_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disallowAdsPersonalization_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disallowAdsPersonalization_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -664,20 +588,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomDimension other = - (com.google.analytics.admin.v1alpha.CustomDimension) obj; + com.google.analytics.admin.v1alpha.CustomDimension other = (com.google.analytics.admin.v1alpha.CustomDimension) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (scope_ != other.scope_) return false; - if (getDisallowAdsPersonalization() != other.getDisallowAdsPersonalization()) return false; + if (getDisallowAdsPersonalization() + != other.getDisallowAdsPersonalization()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -700,133 +628,125 @@ 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) + unknownFields.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() @@ -834,15 +754,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -862,9 +783,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 @@ -883,8 +804,7 @@ 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); + com.google.analytics.admin.v1alpha.CustomDimension result = new com.google.analytics.admin.v1alpha.CustomDimension(this); result.name_ = name_; result.parameterName_ = parameterName_; result.displayName_ = displayName_; @@ -899,39 +819,38 @@ public com.google.analytics.admin.v1alpha.CustomDimension buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -939,8 +858,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomDimension other) { - if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -982,8 +900,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CustomDimension) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.CustomDimension) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -995,21 +912,19 @@ public Builder mergeFrom( 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; @@ -1018,22 +933,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1041,64 +955,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1106,8 +1013,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1118,16 +1023,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1136,8 +1039,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1148,17 +1049,16 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1166,8 +1066,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1178,25 +1076,21 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { + public Builder setParameterName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parameterName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1207,21 +1101,16 @@ public Builder setParameterName(java.lang.String value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { - + parameterName_ = getDefaultInstance().getParameterName(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1232,19 +1121,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) { + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameterName_ = value; onChanged(); return this; @@ -1252,8 +1139,6 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1263,13 +1148,13 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1278,8 +1163,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1289,14 +1172,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1304,8 +1188,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1315,22 +1197,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1340,18 +1220,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1361,16 +1238,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1378,20 +1255,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1400,21 +1275,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1422,61 +1296,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1484,112 +1351,80 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.valueOf(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.valueOf(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(); } - + scope_ = value.getNumber(); onChanged(); 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() { - + scope_ = 0; onChanged(); return this; } - private boolean disallowAdsPersonalization_; + private boolean disallowAdsPersonalization_ ; /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1597,7 +1432,6 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1605,8 +1439,6 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1614,19 +1446,16 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1634,18 +1463,17 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { - + disallowAdsPersonalization_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1655,12 +1483,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(); } @@ -1669,16 +1497,16 @@ 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 { - return new CustomDimension(input, extensionRegistry); - } - }; + 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 { + return new CustomDimension(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1693,4 +1521,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index a7041dc5..d532d766 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomDimensionOrBuilder - extends +public interface CustomDimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomDimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -63,16 +40,11 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -83,17 +55,13 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + com.google.protobuf.ByteString + getParameterNameBytes(); /** - * - * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -103,13 +71,10 @@ public interface CustomDimensionOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -119,68 +84,51 @@ public interface CustomDimensionOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.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.
@@ -188,7 +136,6 @@ public interface CustomDimensionOrBuilder
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index 5d1e4a9d..f5b31e7d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ -public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomMetric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomMetric) CustomMetricOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -48,15 +30,16 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CustomMetric( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,85 +58,75 @@ private CustomMetric( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - parameterName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parameterName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); - measurementUnit_ = rawValue; - break; - } - case 48: - { - int rawValue = input.readEnum(); + measurementUnit_ = rawValue; + break; + } + case 48: { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + scope_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, - com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } /** - * - * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -162,10 +135,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit}
    */
-  public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MeasurementUnit
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * MeasurementUnit unspecified or missing.
      * 
@@ -174,8 +146,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** - * - * *
      * This metric uses default units.
      * 
@@ -184,8 +154,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ STANDARD(1), /** - * - * *
      * This metric measures a currency.
      * 
@@ -194,8 +162,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ CURRENCY(2), /** - * - * *
      * This metric measures feet.
      * 
@@ -204,8 +170,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ FEET(3), /** - * - * *
      * This metric measures meters.
      * 
@@ -214,8 +178,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ METERS(4), /** - * - * *
      * This metric measures kilometers.
      * 
@@ -224,8 +186,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ KILOMETERS(5), /** - * - * *
      * This metric measures miles.
      * 
@@ -234,8 +194,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILES(6), /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -244,8 +202,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILLISECONDS(7), /** - * - * *
      * This metric measures seconds.
      * 
@@ -254,8 +210,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ SECONDS(8), /** - * - * *
      * This metric measures minutes.
      * 
@@ -264,8 +218,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MINUTES(9), /** - * - * *
      * This metric measures hours.
      * 
@@ -277,8 +229,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -287,8 +237,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This metric uses default units.
      * 
@@ -297,8 +245,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STANDARD_VALUE = 1; /** - * - * *
      * This metric measures a currency.
      * 
@@ -307,8 +253,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CURRENCY_VALUE = 2; /** - * - * *
      * This metric measures feet.
      * 
@@ -317,8 +261,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEET_VALUE = 3; /** - * - * *
      * This metric measures meters.
      * 
@@ -327,8 +269,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METERS_VALUE = 4; /** - * - * *
      * This metric measures kilometers.
      * 
@@ -337,8 +277,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KILOMETERS_VALUE = 5; /** - * - * *
      * This metric measures miles.
      * 
@@ -347,8 +285,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILES_VALUE = 6; /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -357,8 +293,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILLISECONDS_VALUE = 7; /** - * - * *
      * This metric measures seconds.
      * 
@@ -367,8 +301,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECONDS_VALUE = 8; /** - * - * *
      * This metric measures minutes.
      * 
@@ -377,8 +309,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINUTES_VALUE = 9; /** - * - * *
      * This metric measures hours.
      * 
@@ -387,6 +317,7 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HOURS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -411,58 +342,47 @@ public static MeasurementUnit valueOf(int value) { */ public static MeasurementUnit forNumber(int value) { switch (value) { - case 0: - return MEASUREMENT_UNIT_UNSPECIFIED; - case 1: - return STANDARD; - case 2: - return CURRENCY; - case 3: - return FEET; - case 4: - return METERS; - case 5: - return KILOMETERS; - case 6: - return MILES; - case 7: - return MILLISECONDS; - case 8: - return SECONDS; - case 9: - return MINUTES; - case 10: - return HOURS; - default: - return null; + case 0: return MEASUREMENT_UNIT_UNSPECIFIED; + case 1: return STANDARD; + case 2: return CURRENCY; + case 3: return FEET; + case 4: return METERS; + case 5: return KILOMETERS; + case 6: return MILES; + case 7: return MILLISECONDS; + case 8: return SECONDS; + case 9: return MINUTES; + case 10: return HOURS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MeasurementUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MeasurementUnit findValueByNumber(int number) { + return MeasurementUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MeasurementUnit findValueByNumber(int number) { - return MeasurementUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(0); } @@ -471,7 +391,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MeasurementUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -489,18 +410,15 @@ private MeasurementUnit(int value) { } /** - * - * *
    * The scope of this metric.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MetricScope} */ - public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { + public enum MetricScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -509,8 +427,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ METRIC_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Metric scoped to an event.
      * 
@@ -522,8 +438,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -532,8 +446,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Metric scoped to an event.
      * 
@@ -542,6 +454,7 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -566,47 +479,48 @@ public static MetricScope valueOf(int value) { */ public static MetricScope forNumber(int value) { switch (value) { - case 0: - return METRIC_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - default: - return null; + case 0: return METRIC_SCOPE_UNSPECIFIED; + case 1: return EVENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MetricScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricScope findValueByNumber(int number) { + return MetricScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricScope findValueByNumber(int number) { - return MetricScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(1); } private static final MetricScope[] VALUES = values(); - public static MetricScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -626,15 +540,12 @@ private MetricScope(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -643,30 +554,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 { @@ -677,8 +588,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PARAMETER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object parameterName_; /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -687,10 +596,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -699,15 +605,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -716,18 +621,17 @@ public java.lang.String getParameterName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -738,8 +642,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -749,7 +651,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -758,15 +659,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -776,15 +676,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -795,15 +696,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -812,30 +710,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 { @@ -846,89 +744,58 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.valueOf(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.valueOf(measurementUnit_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.valueOf(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.valueOf(scope_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -940,7 +807,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -953,15 +821,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (measurementUnit_ - != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit - .MEASUREMENT_UNIT_UNSPECIFIED - .getNumber()) { + if (measurementUnit_ != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { output.writeEnum(5, measurementUnit_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } unknownFields.writeTo(output); @@ -985,16 +848,13 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1004,18 +864,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomMetric other = - (com.google.analytics.admin.v1alpha.CustomMetric) obj; + com.google.analytics.admin.v1alpha.CustomMetric other = (com.google.analytics.admin.v1alpha.CustomMetric) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (measurementUnit_ != other.measurementUnit_) return false; if (scope_ != other.scope_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1046,127 +909,118 @@ 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() @@ -1174,15 +1028,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1202,9 +1057,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 @@ -1223,8 +1078,7 @@ 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); result.name_ = name_; result.parameterName_ = parameterName_; result.displayName_ = displayName_; @@ -1239,39 +1093,38 @@ public com.google.analytics.admin.v1alpha.CustomMetric buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -1279,8 +1132,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomMetric other) { - if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1334,21 +1186,19 @@ public Builder mergeFrom( 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; @@ -1357,22 +1207,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1380,64 +1229,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1445,8 +1287,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1455,16 +1295,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1473,8 +1311,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1483,17 +1319,16 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1501,8 +1336,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1511,25 +1344,21 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { + public Builder setParameterName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parameterName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1538,21 +1367,16 @@ public Builder setParameterName(java.lang.String value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { - + parameterName_ = getDefaultInstance().getParameterName(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1561,19 +1385,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) { + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameterName_ = value; onChanged(); return this; @@ -1581,8 +1403,6 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1592,13 +1412,13 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1607,8 +1427,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1618,14 +1436,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1633,8 +1452,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1644,22 +1461,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1669,18 +1484,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1690,16 +1502,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1707,21 +1519,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1730,22 +1540,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1753,64 +1562,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1818,103 +1620,73 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int measurementUnit_ = 0; /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override - public int getMeasurementUnitValue() { + @java.lang.Override public int getMeasurementUnitValue() { return measurementUnit_; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for measurementUnit to set. * @return This builder for chaining. */ public Builder setMeasurementUnitValue(int value) { - + measurementUnit_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.valueOf(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.valueOf(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(); } - + measurementUnit_ = value.getNumber(); onChanged(); 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() { - + measurementUnit_ = 0; onChanged(); return this; @@ -1922,75 +1694,51 @@ 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. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.valueOf(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.valueOf(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. */ @@ -1998,33 +1746,28 @@ public Builder setScope(com.google.analytics.admin.v1alpha.CustomMetric.MetricSc if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); 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() { - + scope_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2034,12 +1777,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(); } @@ -2048,16 +1791,16 @@ 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 { - return new CustomMetric(input, extensionRegistry); - } - }; + 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 { + return new CustomMetric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2072,4 +1815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index d0a48396..41e73018 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomMetricOrBuilder - extends +public interface CustomMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomMetric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -61,16 +38,11 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -79,17 +51,13 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + com.google.protobuf.ByteString + getParameterNameBytes(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -99,13 +67,10 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -115,92 +80,67 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ int getMeasurementUnitValue(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java index 8022ad05..cca14e71 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ -public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataRetentionSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataRetentionSettings) DataRetentionSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -44,15 +26,16 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataRetentionSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,65 @@ private DataRetentionSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - eventDataRetention_ = rawValue; - break; - } - case 24: - { - resetUserDataOnNewActivity_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + eventDataRetention_ = rawValue; + break; + } + case 24: { + + resetUserDataOnNewActivity_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -145,8 +121,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ RETENTION_DURATION_UNSPECIFIED(0), /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -155,8 +129,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ TWO_MONTHS(1), /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -165,8 +137,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ FOURTEEN_MONTHS(3), /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -176,8 +146,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     TWENTY_SIX_MONTHS(4),
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -187,8 +155,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -201,8 +167,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -211,8 +175,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -221,8 +183,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int TWO_MONTHS_VALUE = 1; /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -231,8 +191,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOURTEEN_MONTHS_VALUE = 3; /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -242,8 +200,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int TWENTY_SIX_MONTHS_VALUE = 4;
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -253,8 +209,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int THIRTY_EIGHT_MONTHS_VALUE = 5;
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -264,6 +218,7 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -288,20 +243,13 @@ public static RetentionDuration valueOf(int value) {
      */
     public static RetentionDuration forNumber(int value) {
       switch (value) {
-        case 0:
-          return RETENTION_DURATION_UNSPECIFIED;
-        case 1:
-          return TWO_MONTHS;
-        case 3:
-          return FOURTEEN_MONTHS;
-        case 4:
-          return TWENTY_SIX_MONTHS;
-        case 5:
-          return THIRTY_EIGHT_MONTHS;
-        case 6:
-          return FIFTY_MONTHS;
-        default:
-          return null;
+        case 0: return RETENTION_DURATION_UNSPECIFIED;
+        case 1: return TWO_MONTHS;
+        case 3: return FOURTEEN_MONTHS;
+        case 4: return TWENTY_SIX_MONTHS;
+        case 5: return THIRTY_EIGHT_MONTHS;
+        case 6: return FIFTY_MONTHS;
+        default: return null;
       }
     }
 
@@ -309,31 +257,29 @@ public static RetentionDuration forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RetentionDuration> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RetentionDuration findValueByNumber(int number) {
+              return RetentionDuration.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RetentionDuration findValueByNumber(int number) {
-                return RetentionDuration.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RetentionDuration[] VALUES = values();
@@ -341,7 +287,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RetentionDuration valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -361,15 +308,12 @@ private RetentionDuration(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -378,30 +322,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 { @@ -412,59 +356,39 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf(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_; /** - * - * *
    * 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 @@ -473,7 +397,6 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -485,14 +408,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { + if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { @@ -510,14 +431,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventDataRetention_); + if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, resetUserDataOnNewActivity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, resetUserDataOnNewActivity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -527,17 +447,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataRetentionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataRetentionSettings other = - (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; + com.google.analytics.admin.v1alpha.DataRetentionSettings other = (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (eventDataRetention_ != other.eventDataRetention_) return false; - if (getResetUserDataOnNewActivity() != other.getResetUserDataOnNewActivity()) return false; + if (getResetUserDataOnNewActivity() + != other.getResetUserDataOnNewActivity()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,134 +475,125 @@ 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) + unknownFields.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() @@ -689,15 +601,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -711,9 +624,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 @@ -732,8 +645,7 @@ 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); + com.google.analytics.admin.v1alpha.DataRetentionSettings result = new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); result.name_ = name_; result.eventDataRetention_ = eventDataRetention_; result.resetUserDataOnNewActivity_ = resetUserDataOnNewActivity_; @@ -745,39 +657,38 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -785,8 +696,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataRetentionSettings other) { - if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -816,8 +726,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DataRetentionSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DataRetentionSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -829,21 +738,19 @@ public Builder mergeFrom( 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; @@ -852,22 +759,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -875,64 +781,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -940,121 +839,86 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int eventDataRetention_ = 0; /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override - public int getEventDataRetentionValue() { + @java.lang.Override public int getEventDataRetentionValue() { return eventDataRetention_; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @param value The enum numeric value on the wire for eventDataRetention to set. * @return This builder for chaining. */ public Builder setEventDataRetentionValue(int value) { - + eventDataRetention_ = value; onChanged(); 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() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf(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(); } - + eventDataRetention_ = value.getNumber(); onChanged(); 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() { - + eventDataRetention_ = 0; onChanged(); 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 @@ -1062,45 +926,39 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; onChanged(); return this; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { - + resetUserDataOnNewActivity_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1110,12 +968,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(); } @@ -1124,16 +982,16 @@ 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 { - return new DataRetentionSettings(input, extensionRegistry); - } - }; + 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 { + return new DataRetentionSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java similarity index 59% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java index b7b92511..a11cb1f6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java @@ -1,95 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataRetentionSettingsOrBuilder - extends +public interface DataRetentionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - getEventDataRetention(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention(); /** - * - * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java index 1cd7fad0..5ada75d6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
  */
-public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataSharingSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DataSharingSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,77 +54,72 @@ private DataSharingSettings(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              sharingWithGoogleSupportEnabled_ = input.readBool();
-              break;
-            }
-          case 24:
-            {
-              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-              break;
-            }
-          case 32:
-            {
-              sharingWithGoogleAnySalesEnabled_ = input.readBool();
-              break;
-            }
-          case 40:
-            {
-              sharingWithGoogleProductsEnabled_ = input.readBool();
-              break;
-            }
-          case 48:
-            {
-              sharingWithOthersEnabled_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          case 16: {
+
+            sharingWithGoogleSupportEnabled_ = input.readBool();
+            break;
+          }
+          case 24: {
+
+            sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+            break;
+          }
+          case 32: {
+
+            sharingWithGoogleAnySalesEnabled_ = input.readBool();
+            break;
+          }
+          case 40: {
+
+            sharingWithGoogleProductsEnabled_ = input.readBool();
+            break;
+          }
+          case 48: {
+
+            sharingWithOthersEnabled_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -149,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -158,15 +135,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -174,15 +150,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -193,15 +170,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; 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 @@ -212,8 +186,6 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; 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.
@@ -221,7 +193,6 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -232,15 +203,12 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; 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 @@ -251,14 +219,11 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; 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 @@ -269,14 +234,11 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; 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 @@ -285,7 +247,6 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -329,27 +291,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sharingWithGoogleSupportEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, sharingWithGoogleSupportEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, sharingWithGoogleSupportEnabled_); } if (sharingWithGoogleAssignedSalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, sharingWithGoogleAssignedSalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, sharingWithGoogleAssignedSalesEnabled_); } if (sharingWithGoogleAnySalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, sharingWithGoogleAnySalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, sharingWithGoogleAnySalesEnabled_); } if (sharingWithGoogleProductsEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, sharingWithGoogleProductsEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, sharingWithGoogleProductsEnabled_); } if (sharingWithOthersEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, sharingWithOthersEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, sharingWithOthersEnabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -359,24 +318,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataSharingSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataSharingSettings other = - (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; + com.google.analytics.admin.v1alpha.DataSharingSettings other = (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; - if (!getName().equals(other.getName())) return false; - if (getSharingWithGoogleSupportEnabled() != other.getSharingWithGoogleSupportEnabled()) - return false; + if (!getName() + .equals(other.getName())) return false; + if (getSharingWithGoogleSupportEnabled() + != other.getSharingWithGoogleSupportEnabled()) return false; if (getSharingWithGoogleAssignedSalesEnabled() != other.getSharingWithGoogleAssignedSalesEnabled()) return false; - if (getSharingWithGoogleAnySalesEnabled() != other.getSharingWithGoogleAnySalesEnabled()) - return false; - if (getSharingWithGoogleProductsEnabled() != other.getSharingWithGoogleProductsEnabled()) - return false; - if (getSharingWithOthersEnabled() != other.getSharingWithOthersEnabled()) return false; + if (getSharingWithGoogleAnySalesEnabled() + != other.getSharingWithGoogleAnySalesEnabled()) return false; + if (getSharingWithGoogleProductsEnabled() + != other.getSharingWithGoogleProductsEnabled()) return false; + if (getSharingWithOthersEnabled() + != other.getSharingWithOthersEnabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +351,116 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleSupportEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleSupportEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAssignedSalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAssignedSalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAnySalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAnySalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleProductsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleProductsEnabled()); hash = (37 * hash) + SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSharingWithOthersEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithOthersEnabled()); hash = (29 * hash) + unknownFields.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.
@@ -519,23 +468,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataSharingSettings)
       com.google.analytics.admin.v1alpha.DataSharingSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DataSharingSettings.class,
-              com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.DataSharingSettings.class, com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.DataSharingSettings.newBuilder()
@@ -543,15 +490,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -571,9 +519,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
@@ -592,8 +540,7 @@ 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);
+      com.google.analytics.admin.v1alpha.DataSharingSettings result = new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
       result.name_ = name_;
       result.sharingWithGoogleSupportEnabled_ = sharingWithGoogleSupportEnabled_;
       result.sharingWithGoogleAssignedSalesEnabled_ = sharingWithGoogleAssignedSalesEnabled_;
@@ -608,39 +555,38 @@ public com.google.analytics.admin.v1alpha.DataSharingSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       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;
@@ -648,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataSharingSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -688,8 +633,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.admin.v1alpha.DataSharingSettings) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.admin.v1alpha.DataSharingSettings) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -701,8 +645,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -710,13 +652,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; @@ -725,8 +667,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -734,14 +674,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -749,8 +690,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -758,22 +697,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -781,18 +718,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -800,32 +734,29 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -833,47 +764,39 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; onChanged(); return this; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { - + sharingWithGoogleSupportEnabled_ = false; onChanged(); 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.
@@ -881,7 +804,6 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -889,8 +811,6 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { return sharingWithGoogleAssignedSalesEnabled_; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -898,19 +818,16 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; onChanged(); return this; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -918,27 +835,23 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { - + sharingWithGoogleAssignedSalesEnabled_ = false; onChanged(); 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 @@ -946,53 +859,44 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; onChanged(); return this; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { - + sharingWithGoogleAnySalesEnabled_ = false; onChanged(); 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 @@ -1000,51 +904,42 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; onChanged(); return this; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { - + sharingWithGoogleProductsEnabled_ = false; onChanged(); 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 @@ -1052,43 +947,37 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; onChanged(); return this; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { - + sharingWithOthersEnabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +987,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(); } @@ -1112,16 +1001,16 @@ 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 { - return new DataSharingSettings(input, extensionRegistry); - } - }; + 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 { + return new DataSharingSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java index d7a115e8..689f305c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataSharingSettingsOrBuilder - extends +public interface DataSharingSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -33,13 +15,10 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -47,28 +26,23 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** - * - * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -76,47 +50,37 @@ public interface DataSharingSettingsOrBuilder
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** - * - * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** - * - * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** - * - * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java new file mode 100644 index 00000000..700f9270 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java @@ -0,0 +1,5079 @@ +// 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream) + DataStreamOrBuilder { +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; + displayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DataStream(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DataStream( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder subBuilder = null; + if (streamDataCase_ == 6) { + subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_).toBuilder(); + } + streamData_ = + input.readMessage(com.google.analytics.admin.v1alpha.DataStream.WebStreamData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 6; + break; + } + case 58: { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder subBuilder = null; + if (streamDataCase_ == 7) { + subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_).toBuilder(); + } + streamData_ = + input.readMessage(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 7; + break; + } + case 66: { + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder subBuilder = null; + if (streamDataCase_ == 8) { + subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_).toBuilder(); + } + streamData_ = + input.readMessage(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 8; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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 { + /** + *
+     * Type unknown or not specified.
+     * 
+ * + * DATA_STREAM_TYPE_UNSPECIFIED = 0; + */ + DATA_STREAM_TYPE_UNSPECIFIED(0), + /** + *
+     * Web data stream.
+     * 
+ * + * WEB_DATA_STREAM = 1; + */ + WEB_DATA_STREAM(1), + /** + *
+     * Android app data stream.
+     * 
+ * + * ANDROID_APP_DATA_STREAM = 2; + */ + ANDROID_APP_DATA_STREAM(2), + /** + *
+     * iOS app data stream.
+     * 
+ * + * IOS_APP_DATA_STREAM = 3; + */ + IOS_APP_DATA_STREAM(3), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Type unknown or not specified.
+     * 
+ * + * DATA_STREAM_TYPE_UNSPECIFIED = 0; + */ + public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+     * Web data stream.
+     * 
+ * + * WEB_DATA_STREAM = 1; + */ + public static final int WEB_DATA_STREAM_VALUE = 1; + /** + *
+     * Android app data stream.
+     * 
+ * + * ANDROID_APP_DATA_STREAM = 2; + */ + public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; + /** + *
+     * iOS app data stream.
+     * 
+ * + * IOS_APP_DATA_STREAM = 3; + */ + public static final int IOS_APP_DATA_STREAM_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DataStreamType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static 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; + } + } + + 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() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.DataStream.getDescriptor().getEnumTypes().get(0); + } + + private static final DataStreamType[] VALUES = values(); + + 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."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private DataStreamType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.DataStream.DataStreamType) + } + + public interface WebStreamDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.WebStreamData) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Output only. Analytics "Measurement ID", without the "G-" prefix.
+     * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+     * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The measurementId. + */ + java.lang.String getMeasurementId(); + /** + *
+     * Output only. Analytics "Measurement ID", without the "G-" prefix.
+     * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+     * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for measurementId. + */ + com.google.protobuf.ByteString + getMeasurementIdBytes(); + + /** + *
+     * 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(); + + /** + *
+     * Immutable. Domain name of the web app being measured, or empty.
+     * Example: "http://www.google.com", "https://www.google.com"
+     * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The defaultUri. + */ + java.lang.String getDefaultUri(); + /** + *
+     * Immutable. Domain name of the web app being measured, or empty.
+     * Example: "http://www.google.com", "https://www.google.com"
+     * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for defaultUri. + */ + com.google.protobuf.ByteString + getDefaultUriBytes(); + } + /** + *
+   * 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) + WebStreamDataOrBuilder { + 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_ = ""; + defaultUri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WebStreamData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WebStreamData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + measurementId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + firebaseAppId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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; + private volatile java.lang.Object measurementId_; + /** + *
+     * Output only. Analytics "Measurement ID", without the "G-" prefix.
+     * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+     * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The measurementId. + */ + @java.lang.Override + public java.lang.String getMeasurementId() { + java.lang.Object ref = measurementId_; + 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(); + measurementId_ = s; + return s; + } + } + /** + *
+     * Output only. Analytics "Measurement ID", without the "G-" prefix.
+     * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+     * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for measurementId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMeasurementIdBytes() { + 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); + measurementId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; + 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 + public java.lang.String getFirebaseAppId() { + java.lang.Object ref = firebaseAppId_; + 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(); + 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() { + 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); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULT_URI_FIELD_NUMBER = 3; + private volatile java.lang.Object defaultUri_; + /** + *
+     * Immutable. Domain name of the web app being measured, or empty.
+     * Example: "http://www.google.com", "https://www.google.com"
+     * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The defaultUri. + */ + @java.lang.Override + public java.lang.String getDefaultUri() { + java.lang.Object ref = defaultUri_; + 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(); + defaultUri_ = s; + return s; + } + } + /** + *
+     * Immutable. Domain name of the web app being measured, or empty.
+     * Example: "http://www.google.com", "https://www.google.com"
+     * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for defaultUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultUriBytes() { + 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); + defaultUri_ = 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(measurementId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, measurementId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultUri_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(measurementId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, measurementId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultUri_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.WebStreamData)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MEASUREMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getMeasurementId().hashCode(); + hash = (37 * hash) + FIREBASE_APP_ID_FIELD_NUMBER; + hash = (53 * hash) + getFirebaseAppId().hashCode(); + hash = (37 * hash) + DEFAULT_URI_FIELD_NUMBER; + hash = (53 * hash) + getDefaultUri().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.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.WebStreamData 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.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); + } + + @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.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); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + 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 + // @@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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + measurementId_ = ""; + + firebaseAppId_ = ""; + + defaultUri_ = ""; + + 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_DataStream_WebStreamData_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.WebStreamData build() { + com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.measurementId_ = measurementId_; + result.firebaseAppId_ = firebaseAppId_; + result.defaultUri_ = defaultUri_; + 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.DataStream.WebStreamData) { + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + 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.getMeasurementId().isEmpty()) { + measurementId_ = other.measurementId_; + onChanged(); + } + if (!other.getFirebaseAppId().isEmpty()) { + firebaseAppId_ = other.firebaseAppId_; + onChanged(); + } + if (!other.getDefaultUri().isEmpty()) { + defaultUri_ = other.defaultUri_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DataStream.WebStreamData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object measurementId_ = ""; + /** + *
+       * Output only. Analytics "Measurement ID", without the "G-" prefix.
+       * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+       * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The measurementId. + */ + public java.lang.String getMeasurementId() { + java.lang.Object ref = measurementId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + measurementId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output only. Analytics "Measurement ID", without the "G-" prefix.
+       * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+       * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for measurementId. + */ + public com.google.protobuf.ByteString + getMeasurementIdBytes() { + java.lang.Object ref = measurementId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + measurementId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output only. Analytics "Measurement ID", without the "G-" prefix.
+       * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+       * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The measurementId to set. + * @return This builder for chaining. + */ + public Builder setMeasurementId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + measurementId_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. Analytics "Measurement ID", without the "G-" prefix.
+       * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+       * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearMeasurementId() { + + measurementId_ = getDefaultInstance().getMeasurementId(); + onChanged(); + return this; + } + /** + *
+       * Output only. Analytics "Measurement ID", without the "G-" prefix.
+       * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
+       * 
+ * + * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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(); + } + checkByteStringIsUtf8(value); + + measurementId_ = value; + onChanged(); + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + firebaseAppId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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() { + java.lang.Object ref = firebaseAppId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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(); + } + + firebaseAppId_ = value; + 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() { + + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); + 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]; + * @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(); + } + checkByteStringIsUtf8(value); + + firebaseAppId_ = value; + onChanged(); + return this; + } + + private java.lang.Object defaultUri_ = ""; + /** + *
+       * Immutable. Domain name of the web app being measured, or empty.
+       * Example: "http://www.google.com", "https://www.google.com"
+       * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The defaultUri. + */ + public java.lang.String getDefaultUri() { + java.lang.Object ref = defaultUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Immutable. Domain name of the web app being measured, or empty.
+       * Example: "http://www.google.com", "https://www.google.com"
+       * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for defaultUri. + */ + public com.google.protobuf.ByteString + getDefaultUriBytes() { + java.lang.Object ref = defaultUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Immutable. Domain name of the web app being measured, or empty.
+       * Example: "http://www.google.com", "https://www.google.com"
+       * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The defaultUri to set. + * @return This builder for chaining. + */ + public Builder setDefaultUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + defaultUri_ = value; + onChanged(); + return this; + } + /** + *
+       * Immutable. Domain name of the web app being measured, or empty.
+       * Example: "http://www.google.com", "https://www.google.com"
+       * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearDefaultUri() { + + defaultUri_ = getDefaultInstance().getDefaultUri(); + onChanged(); + return this; + } + /** + *
+       * Immutable. Domain name of the web app being measured, or empty.
+       * Example: "http://www.google.com", "https://www.google.com"
+       * 
+ * + * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @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(); + } + checkByteStringIsUtf8(value); + + defaultUri_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.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; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(); + } + + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstance() { + 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 { + return new WebStreamData(input, extensionRegistry); + } + }; + + 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.DataStream.WebStreamData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + 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(); + + /** + *
+     * 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(); + } + /** + *
+   * 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) + AndroidAppStreamDataOrBuilder { + 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_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AndroidAppStreamData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AndroidAppStreamData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + firebaseAppId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + packageName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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; + 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 + public java.lang.String getFirebaseAppId() { + java.lang.Object ref = firebaseAppId_; + 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(); + 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() { + 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); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PACKAGE_NAME_FIELD_NUMBER = 2; + 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 + public java.lang.String getPackageName() { + java.lang.Object ref = packageName_; + 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(); + 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() { + 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); + packageName_ = 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(firebaseAppId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FIREBASE_APP_ID_FIELD_NUMBER; + hash = (53 * hash) + getFirebaseAppId().hashCode(); + hash = (37 * hash) + PACKAGE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPackageName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( + 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) + 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 { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData 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.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) + throws java.io.IOException { + 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, + com.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); + } + 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); + } + + @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.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); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + 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 + // @@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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + firebaseAppId_ = ""; + + packageName_ = ""; + + 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_DataStream_AndroidAppStreamData_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData build() { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.firebaseAppId_ = firebaseAppId_; + result.packageName_ = packageName_; + 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.DataStream.AndroidAppStreamData) { + 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; + if (!other.getFirebaseAppId().isEmpty()) { + firebaseAppId_ = other.firebaseAppId_; + onChanged(); + } + if (!other.getPackageName().isEmpty()) { + packageName_ = other.packageName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + firebaseAppId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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() { + java.lang.Object ref = firebaseAppId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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(); + } + + firebaseAppId_ = value; + 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() { + + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); + 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]; + * @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(); + } + checkByteStringIsUtf8(value); + + firebaseAppId_ = value; + onChanged(); + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + packageName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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() { + java.lang.Object ref = packageName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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(); + } + + packageName_ = value; + 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() { + + packageName_ = getDefaultInstance().getPackageName(); + 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]; + * @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(); + } + checkByteStringIsUtf8(value); + + packageName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.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; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(); + } + + 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 { + return new AndroidAppStreamData(input, extensionRegistry); + } + }; + + 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.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + 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(); + + /** + *
+     * 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]; + * @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]; + * @return The bytes for bundleId. + */ + 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) + IosAppStreamDataOrBuilder { + 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_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IosAppStreamData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IosAppStreamData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + firebaseAppId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + bundleId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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; + 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 + public java.lang.String getFirebaseAppId() { + java.lang.Object ref = firebaseAppId_; + 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(); + 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() { + 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); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUNDLE_ID_FIELD_NUMBER = 2; + 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]; + * @return The bundleId. + */ + @java.lang.Override + public java.lang.String getBundleId() { + java.lang.Object ref = bundleId_; + 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(); + 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]; + * @return The bytes for bundleId. + */ + @java.lang.Override + 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); + bundleId_ = 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(firebaseAppId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bundleId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bundleId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, firebaseAppId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bundleId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bundleId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FIREBASE_APP_ID_FIELD_NUMBER; + hash = (53 * hash) + getFirebaseAppId().hashCode(); + hash = (37 * hash) + BUNDLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getBundleId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( + 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) + 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 { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData 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.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) + throws java.io.IOException { + 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, + com.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.IosAppStreamData 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.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); + } + + @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.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); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + 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 + // @@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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + firebaseAppId_ = ""; + + bundleId_ = ""; + + 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_DataStream_IosAppStreamData_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData build() { + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.firebaseAppId_ = firebaseAppId_; + result.bundleId_ = bundleId_; + 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.DataStream.IosAppStreamData) { + 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; + if (!other.getFirebaseAppId().isEmpty()) { + firebaseAppId_ = other.firebaseAppId_; + onChanged(); + } + if (!other.getBundleId().isEmpty()) { + bundleId_ = other.bundleId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + firebaseAppId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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() { + java.lang.Object ref = firebaseAppId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + firebaseAppId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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(); + } + + firebaseAppId_ = value; + 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() { + + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); + 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]; + * @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(); + } + checkByteStringIsUtf8(value); + + firebaseAppId_ = value; + onChanged(); + return this; + } + + 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]; + * @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; + java.lang.String s = bs.toStringUtf8(); + bundleId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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]; + * @return The bytes for bundleId. + */ + 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); + bundleId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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]; + * @param value The bundleId to set. + * @return This builder for chaining. + */ + public Builder setBundleId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bundleId_ = value; + 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]; + * @return This builder for chaining. + */ + public Builder clearBundleId() { + + bundleId_ = getDefaultInstance().getBundleId(); + 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]; + * @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(); + } + checkByteStringIsUtf8(value); + + bundleId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.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; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(); + } + + 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 { + return new IosAppStreamData(input, extensionRegistry); + } + }; + + 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.DataStream.IosAppStreamData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int streamDataCase_ = 0; + private java.lang.Object streamData_; + public enum StreamDataCase + 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; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static StreamDataCase valueOf(int value) { + return forNumber(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; + } + } + public int getNumber() { + return this.value; + } + }; + + 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 + 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.getDefaultInstance(); + } + /** + *
+   * Data specific to web streams. Must be populated if type is
+   * WEB_DATA_STREAM.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + @java.lang.Override + 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.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; + * @return Whether the androidAppStreamData field is set. + */ + @java.lang.Override + 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; + * @return The androidAppStreamData. + */ + @java.lang.Override + 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.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; + */ + @java.lang.Override + 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.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; + * @return Whether the iosAppStreamData field is set. + */ + @java.lang.Override + 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; + * @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.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; + */ + @java.lang.Override + 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.getDefaultInstance(); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. Resource name of this Data Stream.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: "properties/1000/dataStreams/2000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. Resource name of this Data Stream.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: "properties/1000/dataStreams/2000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 2; + private int 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]; + * @return The enum numeric value on the wire for type. + */ + @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]; + * @return The type. + */ + @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { + @SuppressWarnings("deprecation") + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.valueOf(type_); + return result == null ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED : result; + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object displayName_; + /** + *
+   * Human-readable display name for the Data Stream.
+   * Required for web data streams.
+   * The max allowed display name length is 255 UTF-16 code units.
+   * 
+ * + * string display_name = 3; + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + *
+   * Human-readable display name for the Data Stream.
+   * Required for web data streams.
+   * The max allowed display name length is 255 UTF-16 code units.
+   * 
+ * + * string display_name = 3; + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int 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]; + * @return Whether the createTime field is set. + */ + @java.lang.Override + 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]; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + *
+   * Output only. Time when this stream was originally created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + 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]; + * @return Whether the updateTime field is set. + */ + @java.lang.Override + 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]; + * @return The updateTime. + */ + @java.lang.Override + 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]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (type_ != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_); + } + if (createTime_ != null) { + output.writeMessage(4, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(5, getUpdateTime()); + } + if (streamDataCase_ == 6) { + 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_); + } + if (streamDataCase_ == 8) { + output.writeMessage(8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(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 (!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()); + } + if (updateTime_ != null) { + 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_); + } + if (streamDataCase_ == 7) { + 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 += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.DataStream other = (com.google.analytics.admin.v1alpha.DataStream) obj; + + if (!getName() + .equals(other.getName())) return false; + if (type_ != other.type_) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + 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; + break; + case 7: + if (!getAndroidAppStreamData() + .equals(other.getAndroidAppStreamData())) return false; + break; + case 8: + if (!getIosAppStreamData() + .equals(other.getIosAppStreamData())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + switch (streamDataCase_) { + case 6: + hash = (37 * hash) + WEB_STREAM_DATA_FIELD_NUMBER; + hash = (53 * hash) + getWebStreamData().hashCode(); + break; + case 7: + hash = (37 * hash) + ANDROID_APP_STREAM_DATA_FIELD_NUMBER; + hash = (53 * hash) + getAndroidAppStreamData().hashCode(); + break; + case 8: + hash = (37 * hash) + IOS_APP_STREAM_DATA_FIELD_NUMBER; + hash = (53 * hash) + getIosAppStreamData().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + 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) + 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) + 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); + } + public static com.google.analytics.admin.v1alpha.DataStream 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @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.DataStream prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * A resource message representing a data stream.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + type_ = 0; + + displayName_ = ""; + + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + streamDataCase_ = 0; + streamData_ = 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_DataStream_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream build() { + com.google.analytics.admin.v1alpha.DataStream result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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 (streamDataCase_ == 6) { + if (webStreamDataBuilder_ == null) { + result.streamData_ = streamData_; + } else { + result.streamData_ = webStreamDataBuilder_.build(); + } + } + if (streamDataCase_ == 7) { + if (androidAppStreamDataBuilder_ == null) { + result.streamData_ = streamData_; + } else { + result.streamData_ = androidAppStreamDataBuilder_.build(); + } + } + if (streamDataCase_ == 8) { + if (iosAppStreamDataBuilder_ == null) { + result.streamData_ = streamData_; + } else { + result.streamData_ = iosAppStreamDataBuilder_.build(); + } + } + result.name_ = name_; + result.type_ = type_; + result.displayName_ = displayName_; + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + result.streamDataCase_ = streamDataCase_; + 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.DataStream) { + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream other) { + if (other == com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + 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; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DataStream parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DataStream) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int streamDataCase_ = 0; + private java.lang.Object streamData_; + public StreamDataCase + getStreamDataCase() { + return StreamDataCase.forNumber( + streamDataCase_); + } + + public Builder clearStreamData() { + streamDataCase_ = 0; + streamData_ = null; + onChanged(); + return this; + } + + + 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_; + /** + *
+     * 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 + 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 (webStreamDataBuilder_ == null) { + if (streamDataCase_ == 6) { + return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_; + } + return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); + } else { + if (streamDataCase_ == 6) { + return webStreamDataBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); + } + } + /** + *
+     * Data specific to web streams. Must be populated if type is
+     * WEB_DATA_STREAM.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + public Builder setWebStreamData(com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) { + if (webStreamDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + streamData_ = value; + onChanged(); + } else { + webStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 6; + return this; + } + /** + *
+     * Data specific to web streams. Must be populated if type is
+     * WEB_DATA_STREAM.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + public Builder setWebStreamData( + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder builderForValue) { + if (webStreamDataBuilder_ == null) { + streamData_ = builderForValue.build(); + onChanged(); + } else { + webStreamDataBuilder_.setMessage(builderForValue.build()); + } + streamDataCase_ = 6; + return this; + } + /** + *
+     * Data specific to web streams. Must be populated if type is
+     * WEB_DATA_STREAM.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + 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(); + } else { + streamData_ = value; + } + onChanged(); + } else { + if (streamDataCase_ == 6) { + webStreamDataBuilder_.mergeFrom(value); + } + webStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 6; + return this; + } + /** + *
+     * Data specific to web streams. Must be populated if type is
+     * WEB_DATA_STREAM.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + public Builder clearWebStreamData() { + if (webStreamDataBuilder_ == null) { + if (streamDataCase_ == 6) { + streamDataCase_ = 0; + streamData_ = null; + onChanged(); + } + } else { + if (streamDataCase_ == 6) { + streamDataCase_ = 0; + streamData_ = null; + } + webStreamDataBuilder_.clear(); + } + return this; + } + /** + *
+     * Data specific to web streams. Must be populated if type is
+     * WEB_DATA_STREAM.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + 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.
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() { + if ((streamDataCase_ == 6) && (webStreamDataBuilder_ != null)) { + return webStreamDataBuilder_.getMessageOrBuilder(); + } else { + if (streamDataCase_ == 6) { + 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.
+     * 
+ * + * .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> + getWebStreamDataFieldBuilder() { + if (webStreamDataBuilder_ == null) { + if (!(streamDataCase_ == 6)) { + 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>( + (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_, + getParentForChildren(), + isClean()); + streamData_ = null; + } + streamDataCase_ = 6; + onChanged();; + return webStreamDataBuilder_; + } + + 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_; + /** + *
+     * 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; + * @return Whether the androidAppStreamData field is set. + */ + @java.lang.Override + 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; + * @return The androidAppStreamData. + */ + @java.lang.Override + 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(); + } else { + if (streamDataCase_ == 7) { + return androidAppStreamDataBuilder_.getMessage(); + } + 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; + */ + public Builder setAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { + if (androidAppStreamDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + streamData_ = value; + onChanged(); + } else { + androidAppStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 7; + 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; + */ + public Builder setAndroidAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder builderForValue) { + if (androidAppStreamDataBuilder_ == null) { + streamData_ = builderForValue.build(); + onChanged(); + } else { + androidAppStreamDataBuilder_.setMessage(builderForValue.build()); + } + streamDataCase_ = 7; + 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; + */ + 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(); + } else { + streamData_ = value; + } + onChanged(); + } else { + if (streamDataCase_ == 7) { + androidAppStreamDataBuilder_.mergeFrom(value); + } + androidAppStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 7; + 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; + */ + public Builder clearAndroidAppStreamData() { + if (androidAppStreamDataBuilder_ == null) { + if (streamDataCase_ == 7) { + streamDataCase_ = 0; + streamData_ = null; + onChanged(); + } + } else { + if (streamDataCase_ == 7) { + streamDataCase_ = 0; + streamData_ = null; + } + androidAppStreamDataBuilder_.clear(); + } + 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; + */ + 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; + */ + @java.lang.Override + 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(); + } + } + /** + *
+     * 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; + */ + 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> + getAndroidAppStreamDataFieldBuilder() { + if (androidAppStreamDataBuilder_ == null) { + if (!(streamDataCase_ == 7)) { + 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>( + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_, + getParentForChildren(), + isClean()); + streamData_ = null; + } + streamDataCase_ = 7; + onChanged();; + return androidAppStreamDataBuilder_; + } + + 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_; + /** + *
+     * 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; + * @return Whether the iosAppStreamData field is set. + */ + @java.lang.Override + 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; + * @return The iosAppStreamData. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData() { + if (iosAppStreamDataBuilder_ == null) { + if (streamDataCase_ == 8) { + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + } + return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); + } else { + if (streamDataCase_ == 8) { + return iosAppStreamDataBuilder_.getMessage(); + } + 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; + */ + public Builder setIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { + if (iosAppStreamDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + streamData_ = value; + onChanged(); + } else { + iosAppStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 8; + 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; + */ + public Builder setIosAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder builderForValue) { + if (iosAppStreamDataBuilder_ == null) { + streamData_ = builderForValue.build(); + onChanged(); + } else { + iosAppStreamDataBuilder_.setMessage(builderForValue.build()); + } + streamDataCase_ = 8; + 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; + */ + 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(); + } else { + streamData_ = value; + } + onChanged(); + } else { + if (streamDataCase_ == 8) { + iosAppStreamDataBuilder_.mergeFrom(value); + } + iosAppStreamDataBuilder_.setMessage(value); + } + streamDataCase_ = 8; + 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; + */ + public Builder clearIosAppStreamData() { + if (iosAppStreamDataBuilder_ == null) { + if (streamDataCase_ == 8) { + streamDataCase_ = 0; + streamData_ = null; + onChanged(); + } + } else { + if (streamDataCase_ == 8) { + streamDataCase_ = 0; + streamData_ = null; + } + iosAppStreamDataBuilder_.clear(); + } + 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; + */ + 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; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + if ((streamDataCase_ == 8) && (iosAppStreamDataBuilder_ != null)) { + return iosAppStreamDataBuilder_.getMessageOrBuilder(); + } else { + if (streamDataCase_ == 8) { + 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; + */ + 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> + getIosAppStreamDataFieldBuilder() { + if (iosAppStreamDataBuilder_ == null) { + if (!(streamDataCase_ == 8)) { + 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>( + (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_, + getParentForChildren(), + isClean()); + streamData_ = null; + } + streamDataCase_ = 8; + onChanged();; + return iosAppStreamDataBuilder_; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. Resource name of this Data Stream.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: "properties/1000/dataStreams/2000"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Resource name of this Data Stream.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: "properties/1000/dataStreams/2000"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Resource name of this Data Stream.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: "properties/1000/dataStreams/2000"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. Resource name of this Data Stream.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: "properties/1000/dataStreams/2000"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. Resource name of this Data Stream.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: "properties/1000/dataStreams/2000"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + 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]; + * @return The enum numeric value on the wire for type. + */ + @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]; + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + + type_ = value; + onChanged(); + 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]; + * @return The type. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { + @SuppressWarnings("deprecation") + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.valueOf(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]; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.analytics.admin.v1alpha.DataStream.DataStreamType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + 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]; + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + *
+     * Human-readable display name for the Data Stream.
+     * Required for web data streams.
+     * The max allowed display name length is 255 UTF-16 code units.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Human-readable display name for the Data Stream.
+     * Required for web data streams.
+     * The max allowed display name length is 255 UTF-16 code units.
+     * 
+ * + * string display_name = 3; + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Human-readable display name for the Data Stream.
+     * Required for web data streams.
+     * The max allowed display name length is 255 UTF-16 code units.
+     * 
+ * + * 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(); + } + + displayName_ = value; + onChanged(); + return this; + } + /** + *
+     * Human-readable display name for the Data Stream.
+     * Required for web data streams.
+     * The max allowed display name length is 255 UTF-16 code units.
+     * 
+ * + * string display_name = 3; + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + + displayName_ = getDefaultInstance().getDisplayName(); + onChanged(); + return this; + } + /** + *
+     * Human-readable display name for the Data Stream.
+     * Required for web data streams.
+     * The max allowed display name length is 255 UTF-16 code units.
+     * 
+ * + * 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(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .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_; + } 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]; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .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_; + } + } + /** + *
+     * Output only. Time when this stream was originally created.
+     * 
+ * + * .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> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + 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]; + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + *
+     * Output only. Time when stream payload fields were last updated.
+     * 
+ * + * .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_; + } 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]; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(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]; + */ + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. Time when stream payload fields were last updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(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]; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. Time when stream payload fields were last updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + 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]; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + 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]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + @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.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(); + } + + 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 { + return new DataStream(input, extensionRegistry); + } + }; + + 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.DataStream getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java similarity index 54% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java index 41d9b7a3..21dcee6c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java @@ -28,31 +28,30 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. @Generated("by gapic-generator-java") -public class EnhancedMeasurementSettingsName implements ResourceName { - private static final PathTemplate PROPERTY_WEB_DATA_STREAM = - PathTemplate.createWithoutUrlEncoding( - "properties/{property}/webDataStreams/{web_data_stream}/enhancedMeasurementSettings"); +public class DataStreamName implements ResourceName { + private static final PathTemplate PROPERTY_DATA_STREAM = + PathTemplate.createWithoutUrlEncoding("properties/{property}/dataStreams/{data_stream}"); private volatile Map fieldValuesMap; private final String property; - private final String webDataStream; + private final String dataStream; @Deprecated - protected EnhancedMeasurementSettingsName() { + protected DataStreamName() { property = null; - webDataStream = null; + dataStream = null; } - private EnhancedMeasurementSettingsName(Builder builder) { + private DataStreamName(Builder builder) { property = Preconditions.checkNotNull(builder.getProperty()); - webDataStream = Preconditions.checkNotNull(builder.getWebDataStream()); + dataStream = Preconditions.checkNotNull(builder.getDataStream()); } public String getProperty() { return property; } - public String getWebDataStream() { - return webDataStream; + public String getDataStream() { + return dataStream; } public static Builder newBuilder() { @@ -63,36 +62,35 @@ public Builder toBuilder() { return new Builder(this); } - public static EnhancedMeasurementSettingsName of(String property, String webDataStream) { - return newBuilder().setProperty(property).setWebDataStream(webDataStream).build(); + public static DataStreamName of(String property, String dataStream) { + return newBuilder().setProperty(property).setDataStream(dataStream).build(); } - public static String format(String property, String webDataStream) { - return newBuilder().setProperty(property).setWebDataStream(webDataStream).build().toString(); + public static String format(String property, String dataStream) { + return newBuilder().setProperty(property).setDataStream(dataStream).build().toString(); } - public static EnhancedMeasurementSettingsName parse(String formattedString) { + public static DataStreamName parse(String formattedString) { if (formattedString.isEmpty()) { return null; } Map matchMap = - PROPERTY_WEB_DATA_STREAM.validatedMatch( - formattedString, - "EnhancedMeasurementSettingsName.parse: formattedString not in valid format"); - return of(matchMap.get("property"), matchMap.get("web_data_stream")); + PROPERTY_DATA_STREAM.validatedMatch( + formattedString, "DataStreamName.parse: formattedString not in valid format"); + return of(matchMap.get("property"), matchMap.get("data_stream")); } - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); for (String formattedString : formattedStrings) { list.add(parse(formattedString)); } return list; } - public static List toStringList(List values) { + public static List toStringList(List values) { List list = new ArrayList<>(values.size()); - for (EnhancedMeasurementSettingsName value : values) { + for (DataStreamName value : values) { if (value == null) { list.add(""); } else { @@ -103,7 +101,7 @@ public static List toStringList(List va } public static boolean isParsableFrom(String formattedString) { - return PROPERTY_WEB_DATA_STREAM.matches(formattedString); + return PROPERTY_DATA_STREAM.matches(formattedString); } @Override @@ -115,8 +113,8 @@ public Map getFieldValuesMap() { if (property != null) { fieldMapBuilder.put("property", property); } - if (webDataStream != null) { - fieldMapBuilder.put("web_data_stream", webDataStream); + if (dataStream != null) { + fieldMapBuilder.put("data_stream", dataStream); } fieldValuesMap = fieldMapBuilder.build(); } @@ -131,8 +129,7 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PROPERTY_WEB_DATA_STREAM.instantiate( - "property", property, "web_data_stream", webDataStream); + return PROPERTY_DATA_STREAM.instantiate("property", property, "data_stream", dataStream); } @Override @@ -141,9 +138,9 @@ public boolean equals(Object o) { return true; } if (o != null || getClass() == o.getClass()) { - EnhancedMeasurementSettingsName that = ((EnhancedMeasurementSettingsName) o); + DataStreamName that = ((DataStreamName) o); return Objects.equals(this.property, that.property) - && Objects.equals(this.webDataStream, that.webDataStream); + && Objects.equals(this.dataStream, that.dataStream); } return false; } @@ -154,16 +151,14 @@ public int hashCode() { h *= 1000003; h ^= Objects.hashCode(property); h *= 1000003; - h ^= Objects.hashCode(webDataStream); + h ^= Objects.hashCode(dataStream); return h; } - /** - * Builder for properties/{property}/webDataStreams/{web_data_stream}/enhancedMeasurementSettings. - */ + /** Builder for properties/{property}/dataStreams/{data_stream}. */ public static class Builder { private String property; - private String webDataStream; + private String dataStream; protected Builder() {} @@ -171,8 +166,8 @@ public String getProperty() { return property; } - public String getWebDataStream() { - return webDataStream; + public String getDataStream() { + return dataStream; } public Builder setProperty(String property) { @@ -180,18 +175,18 @@ public Builder setProperty(String property) { return this; } - public Builder setWebDataStream(String webDataStream) { - this.webDataStream = webDataStream; + public Builder setDataStream(String dataStream) { + this.dataStream = dataStream; return this; } - private Builder(EnhancedMeasurementSettingsName enhancedMeasurementSettingsName) { - this.property = enhancedMeasurementSettingsName.property; - this.webDataStream = enhancedMeasurementSettingsName.webDataStream; + private Builder(DataStreamName dataStreamName) { + this.property = dataStreamName.property; + this.dataStream = dataStreamName.dataStream; } - public EnhancedMeasurementSettingsName build() { - return new EnhancedMeasurementSettingsName(this); + public DataStreamName build() { + return new DataStreamName(this); } } } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java new file mode 100644 index 00000000..c3fa020f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java @@ -0,0 +1,222 @@ +// 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 + // @@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.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + */ + 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; + * @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; + * @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; + */ + 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; + * @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; + * @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; + */ + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); + + /** + *
+   * Output only. Resource name of this Data Stream.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: "properties/1000/dataStreams/2000"
+   * 
+ * + * 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}
+   * Example: "properties/1000/dataStreams/2000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + 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]; + * @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]; + * @return The type. + */ + com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType(); + + /** + *
+   * Human-readable display name for the Data Stream.
+   * Required for web data streams.
+   * The max allowed display name length is 255 UTF-16 code units.
+   * 
+ * + * string display_name = 3; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + *
+   * Human-readable display name for the Data Stream.
+   * Required for web data streams.
+   * The max allowed display name length is 255 UTF-16 code units.
+   * 
+ * + * string display_name = 3; + * @return The bytes for displayName. + */ + 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]; + * @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]; + * @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]; + */ + 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]; + * @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]; + * @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]; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + public com.google.analytics.admin.v1alpha.DataStream.StreamDataCase getStreamDataCase(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java index a4d78652..177613cc 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) DeleteAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteAccountRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,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 @@ -400,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.DeleteAccountRequest result = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.analytics.admin.v1alpha.DeleteAccountRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteAccountRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,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(); } @@ -638,16 +578,16 @@ 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 { - return new DeleteAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java new file mode 100644 index 00000000..2ced5a1f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java index 694def81..8f6fdf3d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest} */ -public final class DeleteAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAndroidAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) DeleteAndroidAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAndroidAppDataStreamRequest.newBuilder() to construct. - private DeleteAndroidAppDataStreamRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAndroidAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,62 +53,54 @@ private DeleteAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the android app data stream to delete.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 @@ -135,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the android app data stream to delete.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,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.DeleteAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.newBuilder() + // Construct using com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,16 +343,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_DeleteAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance(); } @java.lang.Override @@ -405,8 +364,7 @@ public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buil @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -416,51 +374,46 @@ public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -484,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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; @@ -524,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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 { @@ -550,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,32 +564,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,8 +599,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..f7e3531b --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteAndroidAppDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the android app data stream to delete.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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 android app data stream to delete.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java index 6bade7e9..3f776995 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteConversionEventRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +374,46 @@ public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,24 +449,20 @@ public Builder mergeFrom( 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; @@ -519,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -545,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,32 +564,30 @@ 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 { - return new DeleteConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +599,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..8faa9524 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java new file mode 100644 index 00000000..edd9bd4a --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java @@ -0,0 +1,600 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) + DeleteDataStreamRequestOrBuilder { +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) { + return new DeleteDataStreamRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteDataStreamRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + 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) = { ... } + * @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 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. + */ + @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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.DeleteDataStreamRequest 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 DeleteDataStream RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + 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_DeleteDataStreamRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest build() { + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.name_ = name_; + 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.DeleteDataStreamRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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) = { ... } + * @return The name. + */ + public java.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 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. + */ + public com.google.protobuf.ByteString + 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 DataStream to delete.
+     * Example format: properties/1234/dataStreams/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; + 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) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + 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) = { ... } + * @param value The 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; + 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.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(); + } + + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefaultInstance() { + 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 { + return new DeleteDataStreamRequest(input, extensionRegistry); + } + }; + + 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.DeleteDataStreamRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..ad5a87cc --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..0750c554 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,600 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + *
+ * Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private DeleteDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; + + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..076306d3 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java index bdc7210e..231fad46 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ -public final class DeleteDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,62 +53,53 @@ private DeleteDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -136,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to delete.
    * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,16 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,152 +203,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -412,10 +361,8 @@ 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); + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -425,53 +372,46 @@ public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -491,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -510,23 +447,19 @@ public Builder mergeFrom( 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; @@ -535,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -560,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,34 +557,30 @@ 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 { - return new DeleteDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,8 +592,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..13d21b2d --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java index 4fa7018f..c9c5a32f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteFirebaseLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private DeleteFirebaseLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +447,19 @@ public Builder mergeFrom( 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; @@ -514,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,13 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(); } @@ -634,16 +571,16 @@ 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 { - return new DeleteFirebaseLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteFirebaseLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 00000000..ea671afc --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java index aa3ea6b0..938c0e38 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private DeleteGoogleAdsLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,127 +202,117 @@ 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() @@ -357,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +339,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance(); } @@ -397,8 +360,7 @@ 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); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +370,38 @@ public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -448,9 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,9 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,22 +445,18 @@ public Builder mergeFrom( 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; @@ -512,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,13 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(); } @@ -628,16 +564,16 @@ 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 { - return new DeleteGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 00000000..3f29cf86 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java index 6e970781..04c5eaa5 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest} */ -public final class DeleteIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIosAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) DeleteIosAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIosAppDataStreamRequest.newBuilder() to construct. private DeleteIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIosAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteIosAppDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the iOS app data stream to delete.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the iOS app data stream to delete.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.DeleteIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +374,46 @@ public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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; @@ -519,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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 { @@ -545,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,32 +564,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +599,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..1fcd3e9f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteIosAppDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the iOS app data stream to delete.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to delete.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java index 4068c918..8ee0a733 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,53 +53,47 @@ private DeleteMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
@@ -127,10 +102,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.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 @@ -139,15 +111,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
@@ -156,18 +127,17 @@ public java.lang.String getName() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -176,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -212,16 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -241,146 +210,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,22 +347,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -413,10 +367,8 @@ 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); + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); result.name_ = name_; onBuilt(); return result; @@ -426,52 +378,46 @@ public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -491,14 +437,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -510,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -520,16 +461,14 @@ public Builder mergeFrom(
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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; @@ -538,8 +477,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -548,17 +485,16 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -566,8 +502,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -576,25 +510,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -603,21 +533,16 @@ public Builder setName(java.lang.String value) {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -626,26 +551,24 @@ public Builder clearName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -655,33 +578,30 @@ 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 { - return new DeleteMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,8 +613,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java index 6c426fb7..09287adc 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface DeleteMeasurementProtocolSecretRequestOrBuilder - extends +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:
@@ -34,16 +16,11 @@ public interface DeleteMeasurementProtocolSecretRequestOrBuilder
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.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 MeasurementProtocolSecret to delete.
    * Format:
@@ -52,11 +29,9 @@ public interface DeleteMeasurementProtocolSecretRequestOrBuilder
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.google.api.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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java index 095a586c..09e4956f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) DeletePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeletePropertyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,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 @@ -400,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.DeletePropertyRequest result = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.analytics.admin.v1alpha.DeletePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeletePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeletePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeletePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,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(); } @@ -638,16 +578,16 @@ 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 { - return new DeletePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java new file mode 100644 index 00000000..f1db0fd4 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeletePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java index 0bbcd00f..0c3b6ead 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ -public final class DeleteUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) DeleteUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserLinkRequest.newBuilder() to construct. private DeleteUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private DeleteUserLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,127 +202,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.newBuilder() @@ -357,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override @@ -396,8 +360,7 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = - new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -407,39 +370,38 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -447,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) private static final com.google.analytics.admin.v1alpha.DeleteUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(); } @@ -624,16 +564,16 @@ public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..6443a0a2 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java index 674dea5f..b29b32c4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteWebDataStreamRequest} */ -public final class DeleteWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteWebDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) DeleteWebDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteWebDataStreamRequest.newBuilder() to construct. private DeleteWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteWebDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteWebDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the web data stream to delete.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the web data stream to delete.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.DeleteWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other = - (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteWebDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest result = - new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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; @@ -518,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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 { @@ -544,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -627,13 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(); } @@ -642,16 +578,16 @@ public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..a073c4e4 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteWebDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the web data stream to delete.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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 web data stream to delete.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index d5319033..eefe3eb4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A link between a GA4 property and a Display & Video 360 advertiser.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ -public final class DisplayVideo360AdvertiserLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DisplayVideo360AdvertiserLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) DisplayVideo360AdvertiserLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DisplayVideo360AdvertiserLink.newBuilder() to construct. private DisplayVideo360AdvertiserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DisplayVideo360AdvertiserLink() { name_ = ""; advertiserId_ = ""; @@ -45,15 +27,16 @@ private DisplayVideo360AdvertiserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DisplayVideo360AdvertiserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DisplayVideo360AdvertiserLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,111 +55,98 @@ private DisplayVideo360AdvertiserLink( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + advertiserId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - advertiserId_ = s; - break; + advertiserDisplayName_ = s; + break; + } + case 34: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (adsPersonalizationEnabled_ != null) { + subBuilder = adsPersonalizationEnabled_.toBuilder(); + } + adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adsPersonalizationEnabled_); + adsPersonalizationEnabled_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - advertiserDisplayName_ = s; - break; + break; + } + case 42: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (campaignDataSharingEnabled_ != null) { + subBuilder = campaignDataSharingEnabled_.toBuilder(); } - case 34: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (adsPersonalizationEnabled_ != null) { - subBuilder = adsPersonalizationEnabled_.toBuilder(); - } - adsPersonalizationEnabled_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adsPersonalizationEnabled_); - adsPersonalizationEnabled_ = subBuilder.buildPartial(); - } - - break; + campaignDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(campaignDataSharingEnabled_); + campaignDataSharingEnabled_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (campaignDataSharingEnabled_ != null) { - subBuilder = campaignDataSharingEnabled_.toBuilder(); - } - campaignDataSharingEnabled_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(campaignDataSharingEnabled_); - campaignDataSharingEnabled_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (costDataSharingEnabled_ != null) { + subBuilder = costDataSharingEnabled_.toBuilder(); } - case 50: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (costDataSharingEnabled_ != null) { - subBuilder = costDataSharingEnabled_.toBuilder(); - } - costDataSharingEnabled_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(costDataSharingEnabled_); - costDataSharingEnabled_ = subBuilder.buildPartial(); - } - - break; + costDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(costDataSharingEnabled_); + costDataSharingEnabled_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -184,7 +154,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -193,15 +162,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -209,15 +177,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -228,14 +197,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ADVERTISER_ID_FIELD_NUMBER = 2; 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 @@ -244,29 +210,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 { @@ -277,14 +243,11 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -293,29 +256,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 { @@ -326,15 +289,12 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 4; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -342,26 +302,19 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -377,8 +330,6 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
   public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 5;
   private com.google.protobuf.BoolValue campaignDataSharingEnabled_;
   /**
-   *
-   *
    * 
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -386,10 +337,7 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -397,8 +345,6 @@ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabled_ != null; } /** - * - * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -406,21 +352,14 @@ public boolean hasCampaignDataSharingEnabled() {
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The campaignDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } /** - * - * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -428,9 +367,7 @@ 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 = 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() { @@ -440,20 +377,15 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -461,42 +393,31 @@ 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_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The costDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCostDataSharingEnabled() { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } /** - * - * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { @@ -504,7 +425,6 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -516,7 +436,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -554,18 +475,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, advertiserDisplayName_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getCampaignDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCostDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCostDataSharingEnabled()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -575,30 +494,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; - if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAdvertiserId() + .equals(other.getAdvertiserId())) return false; + if (!getAdvertiserDisplayName() + .equals(other.getAdvertiserDisplayName())) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) - return false; + if (!getCampaignDataSharingEnabled() + .equals(other.getCampaignDataSharingEnabled())) return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled() + .equals(other.getCostDataSharingEnabled())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -635,127 +557,117 @@ 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() @@ -763,15 +675,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -803,14 +716,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } @@ -825,8 +737,7 @@ 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); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); result.name_ = name_; result.advertiserId_ = advertiserId_; result.advertiserDisplayName_ = advertiserDisplayName_; @@ -853,50 +764,46 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -937,9 +844,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -951,8 +856,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -960,13 +863,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; @@ -975,8 +878,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -984,14 +885,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -999,8 +901,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -1008,22 +908,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -1031,18 +929,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -1050,16 +945,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1067,20 +962,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserId_ = ""; /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ public java.lang.String getAdvertiserId() { java.lang.Object ref = advertiserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1089,21 +982,20 @@ public java.lang.String getAdvertiserId() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + public com.google.protobuf.ByteString + getAdvertiserIdBytes() { java.lang.Object ref = advertiserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1111,61 +1003,54 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The advertiserId to set. * @return This builder for chaining. */ - public Builder setAdvertiserId(java.lang.String value) { + public Builder setAdvertiserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserId_ = value; 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() { - + advertiserId_ = getDefaultInstance().getAdvertiserId(); onChanged(); 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) { + public Builder setAdvertiserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserId_ = value; onChanged(); return this; @@ -1173,20 +1058,18 @@ public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ public java.lang.String getAdvertiserDisplayName() { java.lang.Object ref = advertiserDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1195,21 +1078,20 @@ public java.lang.String getAdvertiserDisplayName() { } } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + public com.google.protobuf.ByteString + getAdvertiserDisplayNameBytes() { java.lang.Object ref = advertiserDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1217,61 +1099,54 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayName(java.lang.String value) { + public Builder setAdvertiserDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserDisplayName_ = value; 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() { - + advertiserDisplayName_ = getDefaultInstance().getAdvertiserDisplayName(); 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]; - * * @param value The bytes for advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setAdvertiserDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserDisplayName_ = value; onChanged(); return this; @@ -1279,49 +1154,36 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu private com.google.protobuf.BoolValue adsPersonalizationEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - adsPersonalizationEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabledBuilder_ != null || 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. */ 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.
@@ -1343,8 +1205,6 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1364,8 +1224,6 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1377,9 +1235,7 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       if (adsPersonalizationEnabledBuilder_ == null) {
         if (adsPersonalizationEnabled_ != null) {
           adsPersonalizationEnabled_ =
-              com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial();
         } else {
           adsPersonalizationEnabled_ = value;
         }
@@ -1391,8 +1247,6 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1412,8 +1266,6 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1422,13 +1274,11 @@ public Builder clearAdsPersonalizationEnabled() {
      * .google.protobuf.BoolValue ads_personalization_enabled = 4;
      */
     public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() {
-
+      
       onChanged();
       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.
@@ -1440,14 +1290,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1456,17 +1303,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getAdsPersonalizationEnabledFieldBuilder() {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        adsPersonalizationEnabledBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getAdsPersonalizationEnabled(), getParentForChildren(), isClean());
+        adsPersonalizationEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getAdsPersonalizationEnabled(),
+                getParentForChildren(),
+                isClean());
         adsPersonalizationEnabled_ = null;
       }
       return adsPersonalizationEnabledBuilder_;
@@ -1474,13 +1318,8 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     private com.google.protobuf.BoolValue campaignDataSharingEnabled_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
-        campaignDataSharingEnabledBuilder_;
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> campaignDataSharingEnabledBuilder_;
     /**
-     *
-     *
      * 
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1488,18 +1327,13 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabledBuilder_ != null || campaignDataSharingEnabled_ != null; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1507,24 +1341,17 @@ public boolean hasCampaignDataSharingEnabled() {
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The campaignDataSharingEnabled. */ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1532,9 +1359,7 @@ 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 = 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) { @@ -1550,8 +1375,6 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1559,9 +1382,7 @@ 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 = 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) { @@ -1575,8 +1396,6 @@ public Builder setCampaignDataSharingEnabled( return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1584,17 +1403,13 @@ public Builder setCampaignDataSharingEnabled(
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { if (campaignDataSharingEnabled_ != null) { campaignDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_).mergeFrom(value).buildPartial(); } else { campaignDataSharingEnabled_ = value; } @@ -1606,8 +1421,6 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1615,9 +1428,7 @@ 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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1631,8 +1442,6 @@ public Builder clearCampaignDataSharingEnabled() { return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1640,18 +1449,14 @@ public Builder clearCampaignDataSharingEnabled() {
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { - + onChanged(); return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1659,22 +1464,17 @@ 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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { if (campaignDataSharingEnabledBuilder_ != null) { return campaignDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1682,22 +1482,17 @@ 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 = 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_; @@ -1705,70 +1500,51 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui private com.google.protobuf.BoolValue costDataSharingEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - costDataSharingEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> costDataSharingEnabledBuilder_; /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ public boolean hasCostDataSharingEnabled() { return costDataSharingEnabledBuilder_ != null || 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_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The costDataSharingEnabled. */ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -1784,19 +1560,15 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1810,27 +1582,21 @@ public Builder setCostDataSharingEnabled( return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { if (costDataSharingEnabled_ != null) { costDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_).mergeFrom(value).buildPartial(); } else { costDataSharingEnabled_ = value; } @@ -1842,19 +1608,15 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { @@ -1868,83 +1630,67 @@ 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_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { - + onChanged(); 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_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { if (costDataSharingEnabledBuilder_ != null) { return costDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_import_enabled is
+     * property. This can only be enabled if campaign_data_sharing_enabled is
      * enabled. After link creation, this can only be updated from the Display &
      * Video 360 product.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getCostDataSharingEnabledFieldBuilder() { if (costDataSharingEnabledBuilder_ == null) { - costDataSharingEnabledBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder>( - getCostDataSharingEnabled(), getParentForChildren(), isClean()); + costDataSharingEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( + getCostDataSharingEnabled(), + getParentForChildren(), + isClean()); costDataSharingEnabled_ = null; } return costDataSharingEnabledBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1954,32 +1700,30 @@ 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 { - return new DisplayVideo360AdvertiserLink(input, extensionRegistry); - } - }; + 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 { + return new DisplayVideo360AdvertiserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,8 +1735,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index a8b0748b..ad4af092 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkOrBuilder - extends +public interface DisplayVideo360AdvertiserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -33,13 +15,10 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -47,90 +26,72 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString getAdvertiserIdBytes(); + com.google.protobuf.ByteString + getAdvertiserIdBytes(); /** - * - * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** - * - * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); + com.google.protobuf.ByteString + getAdvertiserDisplayNameBytes(); /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -141,8 +102,6 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -150,16 +109,11 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ boolean hasCampaignDataSharingEnabled(); /** - * - * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -167,16 +121,11 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The campaignDataSharingEnabled. */ com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); /** - * - * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -184,62 +133,46 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** - * - * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ boolean hasCostDataSharingEnabled(); /** - * - * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The costDataSharingEnabled. */ com.google.protobuf.BoolValue getCostDataSharingEnabled(); /** - * - * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_import_enabled is
+   * property. This can only be enabled if campaign_data_sharing_enabled is
    * enabled. After link creation, this can only be updated from the Display &
    * Video 360 product.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index 9074737a..79a38414 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java @@ -1,28 +1,11 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 an GA4 property and a Display & Video 360
+ * A proposal for a link between a GA4 property and a Display & Video 360
  * advertiser.
  * A proposal is converted to a DisplayVideo360AdvertiserLink once approved.
  * Google Analytics admins approve inbound proposals while Display & Video 360
@@ -31,18 +14,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
  */
-public final class DisplayVideo360AdvertiserLinkProposal
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DisplayVideo360AdvertiserLinkProposal extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
     DisplayVideo360AdvertiserLinkProposalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DisplayVideo360AdvertiserLinkProposal.newBuilder() to construct.
-  private DisplayVideo360AdvertiserLinkProposal(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DisplayVideo360AdvertiserLinkProposal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DisplayVideo360AdvertiserLinkProposal() {
     name_ = "";
     advertiserId_ = "";
@@ -52,15 +32,16 @@ private DisplayVideo360AdvertiserLinkProposal() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DisplayVideo360AdvertiserLinkProposal();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DisplayVideo360AdvertiserLinkProposal(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,136 +60,117 @@ private DisplayVideo360AdvertiserLinkProposal(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              advertiserId_ = s;
-              break;
+            advertiserId_ = s;
+            break;
+          }
+          case 26: {
+            com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder subBuilder = null;
+            if (linkProposalStatusDetails_ != null) {
+              subBuilder = linkProposalStatusDetails_.toBuilder();
             }
-          case 26:
-            {
-              com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder subBuilder =
-                  null;
-              if (linkProposalStatusDetails_ != null) {
-                subBuilder = linkProposalStatusDetails_.toBuilder();
-              }
-              linkProposalStatusDetails_ =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(linkProposalStatusDetails_);
-                linkProposalStatusDetails_ = subBuilder.buildPartial();
-              }
-
-              break;
+            linkProposalStatusDetails_ = input.readMessage(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(linkProposalStatusDetails_);
+              linkProposalStatusDetails_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              advertiserDisplayName_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            advertiserDisplayName_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            validationEmail_ = s;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.BoolValue.Builder subBuilder = null;
+            if (adsPersonalizationEnabled_ != null) {
+              subBuilder = adsPersonalizationEnabled_.toBuilder();
+            }
+            adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(adsPersonalizationEnabled_);
+              adsPersonalizationEnabled_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              validationEmail_ = s;
-              break;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.BoolValue.Builder subBuilder = null;
+            if (campaignDataSharingEnabled_ != null) {
+              subBuilder = campaignDataSharingEnabled_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.BoolValue.Builder subBuilder = null;
-              if (adsPersonalizationEnabled_ != null) {
-                subBuilder = adsPersonalizationEnabled_.toBuilder();
-              }
-              adsPersonalizationEnabled_ =
-                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(adsPersonalizationEnabled_);
-                adsPersonalizationEnabled_ = subBuilder.buildPartial();
-              }
-
-              break;
+            campaignDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(campaignDataSharingEnabled_);
+              campaignDataSharingEnabled_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.BoolValue.Builder subBuilder = null;
-              if (campaignDataSharingEnabled_ != null) {
-                subBuilder = campaignDataSharingEnabled_.toBuilder();
-              }
-              campaignDataSharingEnabled_ =
-                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(campaignDataSharingEnabled_);
-                campaignDataSharingEnabled_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.BoolValue.Builder subBuilder = null;
+            if (costDataSharingEnabled_ != null) {
+              subBuilder = costDataSharingEnabled_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.BoolValue.Builder subBuilder = null;
-              if (costDataSharingEnabled_ != null) {
-                subBuilder = costDataSharingEnabled_.toBuilder();
-              }
-              costDataSharingEnabled_ =
-                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(costDataSharingEnabled_);
-                costDataSharingEnabled_ = subBuilder.buildPartial();
-              }
-
-              break;
+            costDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(costDataSharingEnabled_);
+              costDataSharingEnabled_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
    * Format:
@@ -217,7 +179,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -226,15 +187,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
    * Format:
@@ -243,15 +203,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -262,14 +223,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ADVERTISER_ID_FIELD_NUMBER = 2; 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 @@ -278,29 +236,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 { @@ -311,16 +269,11 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { public static final int LINK_PROPOSAL_STATUS_DETAILS_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ @java.lang.Override @@ -328,54 +281,38 @@ 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() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder() { return getLinkProposalStatusDetails(); } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 4; 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 @@ -384,30 +321,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 { @@ -418,8 +355,6 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { public static final int VALIDATION_EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object validationEmail_; /** - * - * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -430,7 +365,6 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() {
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The validationEmail. */ @java.lang.Override @@ -439,15 +373,14 @@ public java.lang.String getValidationEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationEmail_ = s; return s; } } /** - * - * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -458,15 +391,16 @@ 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 { @@ -477,17 +411,12 @@ public com.google.protobuf.ByteString getValidationEmailBytes() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * Immutable. Enables personalized advertising features with this integration.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -495,36 +424,25 @@ 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() { @@ -534,17 +452,12 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil 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 @@ -552,36 +465,25 @@ 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() { @@ -591,18 +493,13 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_import_enabled is enabled.
+   * 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 @@ -610,38 +507,27 @@ 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_import_enabled is enabled.
+   * 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_import_enabled is enabled.
+   * 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() { @@ -649,7 +535,6 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -661,7 +546,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -702,9 +588,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, advertiserId_); } if (linkProposalStatusDetails_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getLinkProposalStatusDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLinkProposalStatusDetails()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, advertiserDisplayName_); @@ -713,18 +598,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, validationEmail_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, getCampaignDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCostDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCostDataSharingEnabled()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -734,37 +617,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; - if (!getName().equals(other.getName())) return false; - if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAdvertiserId() + .equals(other.getAdvertiserId())) return false; if (hasLinkProposalStatusDetails() != other.hasLinkProposalStatusDetails()) return false; if (hasLinkProposalStatusDetails()) { - if (!getLinkProposalStatusDetails().equals(other.getLinkProposalStatusDetails())) - return false; + if (!getLinkProposalStatusDetails() + .equals(other.getLinkProposalStatusDetails())) return false; } - if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; - if (!getValidationEmail().equals(other.getValidationEmail())) return false; + if (!getAdvertiserDisplayName() + .equals(other.getAdvertiserDisplayName())) return false; + if (!getValidationEmail() + .equals(other.getValidationEmail())) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) - return false; + if (!getCampaignDataSharingEnabled() + .equals(other.getCampaignDataSharingEnabled())) return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled() + .equals(other.getCostDataSharingEnabled())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -807,107 +693,98 @@ 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 an GA4 property and a Display & Video 360
+   * A proposal for a link between a GA4 property and a Display & Video 360
    * advertiser.
    * A proposal is converted to a DisplayVideo360AdvertiserLink once approved.
    * Google Analytics admins approve inbound proposals while Display & Video 360
@@ -916,41 +793,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
       com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class,
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder
-                  .class);
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder.class);
     }
 
-    // Construct using
-    // com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
+    // Construct using com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -990,22 +864,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-        getDefaultInstanceForType() {
-      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-          .getDefaultInstance();
+    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() {
+      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal build() {
-      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
-          buildPartial();
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -1014,8 +885,7 @@ 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);
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
       result.name_ = name_;
       result.advertiserId_ = advertiserId_;
       if (linkProposalStatusDetailsBuilder_ == null) {
@@ -1048,52 +918,46 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       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_;
         onChanged();
@@ -1141,9 +1005,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1155,8 +1017,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1165,13 +1025,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; @@ -1180,8 +1040,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1190,14 +1048,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1205,8 +1064,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1215,22 +1072,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1239,18 +1094,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1259,16 +1111,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1276,20 +1128,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserId_ = ""; /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ public java.lang.String getAdvertiserId() { java.lang.Object ref = advertiserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1298,21 +1148,20 @@ public java.lang.String getAdvertiserId() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + public com.google.protobuf.ByteString + getAdvertiserIdBytes() { java.lang.Object ref = advertiserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1320,61 +1169,54 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The advertiserId to set. * @return This builder for chaining. */ - public Builder setAdvertiserId(java.lang.String value) { + public Builder setAdvertiserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserId_ = value; 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() { - + advertiserId_ = getDefaultInstance().getAdvertiserId(); onChanged(); 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) { + public Builder setAdvertiserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserId_ = value; onChanged(); return this; @@ -1382,62 +1224,41 @@ public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> - linkProposalStatusDetailsBuilder_; + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> linkProposalStatusDetailsBuilder_; /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ public boolean hasLinkProposalStatusDetails() { return linkProposalStatusDetailsBuilder_ != null || 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. */ - 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(); @@ -1451,15 +1272,11 @@ public Builder setLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLinkProposalStatusDetails( com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder builderForValue) { @@ -1473,25 +1290,17 @@ public Builder setLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeLinkProposalStatusDetails( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { + public Builder mergeLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { if (linkProposalStatusDetailsBuilder_ == null) { if (linkProposalStatusDetails_ != null) { linkProposalStatusDetails_ = - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder( - linkProposalStatusDetails_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder(linkProposalStatusDetails_).mergeFrom(value).buildPartial(); } else { linkProposalStatusDetails_ = value; } @@ -1503,15 +1312,11 @@ public Builder mergeLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLinkProposalStatusDetails() { if (linkProposalStatusDetailsBuilder_ == null) { @@ -1525,66 +1330,48 @@ public Builder clearLinkProposalStatusDetails() { return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder - getLinkProposalStatusDetailsBuilder() { - + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder getLinkProposalStatusDetailsBuilder() { + 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_; @@ -1592,21 +1379,19 @@ public Builder clearLinkProposalStatusDetails() { private java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
      * Output only. The display name of the Display & Video Advertiser.
      * Only populated for proposals that originated from Display & Video 360.
      * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ public java.lang.String getAdvertiserDisplayName() { java.lang.Object ref = advertiserDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1615,22 +1400,21 @@ public java.lang.String getAdvertiserDisplayName() { } } /** - * - * *
      * Output only. The display name of the Display & Video Advertiser.
      * Only populated for proposals that originated from Display & Video 360.
      * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + public com.google.protobuf.ByteString + getAdvertiserDisplayNameBytes() { java.lang.Object ref = advertiserDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1638,64 +1422,57 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of the Display & Video Advertiser.
      * Only populated for proposals that originated from Display & Video 360.
      * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayName(java.lang.String value) { + public Builder setAdvertiserDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserDisplayName_ = value; 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() { - + advertiserDisplayName_ = getDefaultInstance().getAdvertiserDisplayName(); 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]; - * * @param value The bytes for advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setAdvertiserDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserDisplayName_ = value; onChanged(); return this; @@ -1703,8 +1480,6 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu private java.lang.Object validationEmail_ = ""; /** - * - * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1715,13 +1490,13 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu
      * 
* * 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; @@ -1730,8 +1505,6 @@ public java.lang.String getValidationEmail() { } } /** - * - * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1742,14 +1515,15 @@ 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 { @@ -1757,8 +1531,6 @@ public com.google.protobuf.ByteString getValidationEmailBytes() { } } /** - * - * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1769,22 +1541,20 @@ public com.google.protobuf.ByteString getValidationEmailBytes() {
      * 
* * 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) { + public Builder setValidationEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + validationEmail_ = value; onChanged(); return this; } /** - * - * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1795,18 +1565,15 @@ public Builder setValidationEmail(java.lang.String value) {
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearValidationEmail() { - + validationEmail_ = getDefaultInstance().getValidationEmail(); onChanged(); return this; } /** - * - * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1817,16 +1584,16 @@ 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) { + public Builder setValidationEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + validationEmail_ = value; onChanged(); return this; @@ -1834,61 +1601,42 @@ public Builder setValidationEmailBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.BoolValue adsPersonalizationEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - adsPersonalizationEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * Immutable. Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabledBuilder_ != null || 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. */ 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) { @@ -1904,16 +1652,12 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
      * Immutable. Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setAdsPersonalizationEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1927,24 +1671,18 @@ public Builder setAdsPersonalizationEnabled( return this; } /** - * - * *
      * Immutable. Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { if (adsPersonalizationEnabledBuilder_ == null) { if (adsPersonalizationEnabled_ != null) { adsPersonalizationEnabled_ = - com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial(); } else { adsPersonalizationEnabled_ = value; } @@ -1956,16 +1694,12 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu return this; } /** - * - * *
      * Immutable. Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { @@ -1979,67 +1713,51 @@ 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() { - + onChanged(); 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_; @@ -2047,61 +1765,42 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil private com.google.protobuf.BoolValue campaignDataSharingEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - campaignDataSharingEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> campaignDataSharingEnabledBuilder_; /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabledBuilder_ != null || 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. */ 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) { @@ -2117,16 +1816,12 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -2140,24 +1835,18 @@ public Builder setCampaignDataSharingEnabled( return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { if (campaignDataSharingEnabled_ != null) { campaignDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_).mergeFrom(value).buildPartial(); } else { campaignDataSharingEnabled_ = value; } @@ -2169,16 +1858,12 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** - * - * *
      * Immutable. Enables the import of campaign data from Display & Video 360.
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { @@ -2192,67 +1877,51 @@ 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() { - + onChanged(); 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_; @@ -2260,64 +1929,45 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui private com.google.protobuf.BoolValue costDataSharingEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - costDataSharingEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> costDataSharingEnabledBuilder_; /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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 costDataSharingEnabledBuilder_ != null || costDataSharingEnabled_ != null; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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_import_enabled is enabled.
+     * 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) { @@ -2333,17 +1983,13 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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) { @@ -2357,25 +2003,19 @@ public Builder setCostDataSharingEnabled( return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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 (costDataSharingEnabled_ != null) { costDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_).mergeFrom(value).buildPartial(); } else { costDataSharingEnabled_ = value; } @@ -2387,17 +2027,13 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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() { if (costDataSharingEnabledBuilder_ == null) { @@ -2411,77 +2047,61 @@ public Builder clearCostDataSharingEnabled() { return this; } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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() { - + onChanged(); return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. Enables the import of cost data from Display & Video 360.
-     * This can only be enabled if campaign_data_import_enabled is enabled.
+     * 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_import_enabled is enabled.
+     * 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); } @@ -2491,33 +2111,30 @@ 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 { - return new DisplayVideo360AdvertiserLinkProposal(input, extensionRegistry); - } - }; + 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 { + return new DisplayVideo360AdvertiserLinkProposal(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2529,8 +2146,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index f49feed7..1c711230 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface 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:
@@ -34,13 +16,10 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder
    * 
* * 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:
@@ -49,108 +28,81 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString getAdvertiserIdBytes(); + com.google.protobuf.ByteString + getAdvertiserIdBytes(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ boolean hasLinkProposalStatusDetails(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalStatusDetails. */ com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder - getLinkProposalStatusDetailsOrBuilder(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder(); /** - * - * *
    * Output only. The display name of the Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** - * - * *
    * Output only. The display name of the Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); + com.google.protobuf.ByteString + getAdvertiserDisplayNameBytes(); /** - * - * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -161,13 +113,10 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The validationEmail. */ java.lang.String getValidationEmail(); /** - * - * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -178,143 +127,101 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder
    * 
* * 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_import_enabled is enabled.
+   * 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_import_enabled is enabled.
+   * 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_import_enabled is enabled.
+   * 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index e5d1e1fa..13967dee 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
- * A link between an GA4 property and a Firebase project.
+ * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ -public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FirebaseLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FirebaseLink) FirebaseLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FirebaseLink() { name_ = ""; project_ = ""; @@ -44,15 +26,16 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FirebaseLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,80 +54,71 @@ private FirebaseLink( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; + project_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -153,29 +127,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 { @@ -186,8 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -198,7 +170,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ @java.lang.Override @@ -207,15 +178,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -226,15 +196,16 @@ public java.lang.String getProject() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -245,15 +216,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -261,15 +228,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -277,14 +240,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -292,7 +252,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -330,7 +290,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -340,19 +301,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.FirebaseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.FirebaseLink other = - (com.google.analytics.admin.v1alpha.FirebaseLink) obj; + com.google.analytics.admin.v1alpha.FirebaseLink other = (com.google.analytics.admin.v1alpha.FirebaseLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getProject().equals(other.getProject())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getProject() + .equals(other.getProject())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -378,127 +341,118 @@ 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 an GA4 property and a Firebase project.
+   * 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() @@ -506,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,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_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 @@ -553,8 +508,7 @@ 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); + com.google.analytics.admin.v1alpha.FirebaseLink result = new com.google.analytics.admin.v1alpha.FirebaseLink(this); result.name_ = name_; result.project_ = project_; if (createTimeBuilder_ == null) { @@ -570,39 +524,38 @@ public com.google.analytics.admin.v1alpha.FirebaseLink buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -610,8 +563,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.FirebaseLink other) { - if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -654,20 +606,18 @@ public Builder mergeFrom( 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; @@ -676,21 +626,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -698,61 +647,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -760,8 +702,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -772,13 +712,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -787,8 +727,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -799,14 +737,15 @@ public java.lang.String getProject() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -814,8 +753,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -826,22 +763,20 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -852,18 +787,15 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -874,16 +806,16 @@ 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) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -891,58 +823,39 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this FirebaseLink was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || 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. */ 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) { @@ -958,17 +871,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this FirebaseLink was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -979,21 +889,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this FirebaseLink was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1005,15 +911,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this FirebaseLink was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1027,71 +929,55 @@ 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() { - + onChanged(); 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); } @@ -1101,12 +987,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(); } @@ -1115,16 +1001,16 @@ 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 { - return new FirebaseLink(input, extensionRegistry); - } - }; + 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 { + return new FirebaseLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java index 95769d4a..269e6e03 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface FirebaseLinkOrBuilder - extends +public interface FirebaseLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -61,13 +38,10 @@ public interface FirebaseLinkOrBuilder
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -78,46 +52,35 @@ public interface FirebaseLinkOrBuilder
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java index 7925a515..c5d93a14 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ -public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAccountRequest) GetAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetAccountRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ 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() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,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 @@ -399,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.GetAccountRequest result = new com.google.analytics.admin.v1alpha.GetAccountRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.analytics.admin.v1alpha.GetAccountRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetAccountRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,24 +449,20 @@ public Builder mergeFrom( 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; @@ -514,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -540,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +564,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(); } @@ -637,16 +578,16 @@ 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 { - return new GetAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java new file mode 100644 index 00000000..65eda19d --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java index ec3f61f0..8268d153 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest} */ -public final class GetAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAndroidAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) GetAndroidAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAndroidAppDataStreamRequest.newBuilder() to construct. - private GetAndroidAppDataStreamRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAndroidAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,62 +53,54 @@ private GetAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the android app data stream to lookup.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 @@ -135,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the android app data stream to lookup.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,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.GetAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.newBuilder() + // Construct using com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance(); } @@ -404,8 +364,7 @@ public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -415,50 +374,46 @@ public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest 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.GetAndroidAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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; @@ -522,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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 { @@ -548,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -631,32 +564,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,8 +599,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..e961bc84 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetAndroidAppDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the android app data stream to lookup.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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 android app data stream to lookup.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java index 95cad9ee..3ea31957 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) GetConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetConversionEventRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.GetConversionEventRequest result = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.analytics.admin.v1alpha.GetConversionEventRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetConversionEventRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetConversionEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,24 +449,20 @@ public Builder mergeFrom( 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; @@ -517,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -543,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,13 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(); } @@ -641,16 +578,16 @@ 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 { - return new GetConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..1fe2ec1d --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java index 0d0a6bc2..9a79dd82 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetCustomDimensionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +447,19 @@ public Builder mergeFrom( 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; @@ -514,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,13 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(); } @@ -634,16 +571,16 @@ 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 { - return new GetCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..1f3349e8 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java index 87902d28..c481bb5d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetCustomMetricRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.analytics.admin.v1alpha.GetCustomMetricRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,23 +447,19 @@ public Builder mergeFrom( 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; @@ -512,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +557,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(); } @@ -631,16 +571,16 @@ 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 { - return new GetCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..d22f4b1f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java index e0d4fd7f..e61901e4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDataRetentionSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,52 +53,47 @@ private GetDataRetentionSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -124,10 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,15 +110,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -152,18 +125,17 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -172,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -208,15 +180,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,145 +208,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -384,16 +345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -407,8 +366,7 @@ 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); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -418,51 +376,46 @@ public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -486,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -509,16 +458,14 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -527,8 +474,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -536,17 +481,16 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -554,8 +498,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -563,25 +505,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -589,21 +527,16 @@ public Builder setName(java.lang.String value) {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -611,26 +544,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,32 +571,30 @@ 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 { - return new GetDataRetentionSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDataRetentionSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,8 +606,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 00000000..420e9134 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataRetentionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java index 1166bac5..f88524e6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataSharingSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDataSharingSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetDataSharingSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +374,46 @@ public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,24 +449,20 @@ public Builder mergeFrom( 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; @@ -519,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -545,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,32 +564,30 @@ 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 { - return new GetDataSharingSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDataSharingSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +599,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 00000000..800d242e --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataSharingSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java new file mode 100644 index 00000000..e8b55806 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java @@ -0,0 +1,600 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) + GetDataStreamRequestOrBuilder { +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) { + return new GetDataStreamRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetDataStreamRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + 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) = { ... } + * @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 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. + */ + @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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataStreamRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.GetDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetDataStreamRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.GetDataStreamRequest 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 GetDataStream RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + 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_GetDataStreamRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetDataStreamRequest build() { + com.google.analytics.admin.v1alpha.GetDataStreamRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.name_ = name_; + 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.GetDataStreamRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataStreamRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.GetDataStreamRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.GetDataStreamRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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) = { ... } + * @return The name. + */ + public java.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 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. + */ + public com.google.protobuf.ByteString + 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 DataStream to get.
+     * Example format: properties/1234/dataStreams/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; + 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) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + 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) = { ... } + * @param value The 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; + 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.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(); + } + + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefaultInstance() { + 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 { + return new GetDataStreamRequest(input, extensionRegistry); + } + }; + + 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.GetDataStreamRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..a36c24d5 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java similarity index 53% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java index 7639e5a3..9f7bb85f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java @@ -1,60 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ -public final class GetDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDisplayVideo360AdvertiserLinkProposalRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkProposalRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDisplayVideo360AdvertiserLinkProposalRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,63 +53,53 @@ private GetDisplayVideo360AdvertiserLinkProposalRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -138,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
    * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -172,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -208,17 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,155 +203,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -395,23 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = - buildPartial(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -419,11 +361,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest( - this); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(this); result.name_ = name_; onBuilt(); return result; @@ -433,54 +372,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -500,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - parsedMessage = null; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,23 +447,19 @@ public Builder mergeFrom( 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; @@ -544,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -569,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -649,51 +557,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser< - GetDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public GetDisplayVideo360AdvertiserLinkProposalRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser - parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..f1879674 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java index 67840876..38d3b07a 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ -public final class GetDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) GetDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,62 +53,53 @@ private GetDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -136,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to get.
    * Example format: properties/1234/displayVideo360AdvertiserLink/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,16 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,152 +203,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -412,10 +361,8 @@ 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); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -425,52 +372,46 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -490,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -509,23 +447,19 @@ public Builder mergeFrom( 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; @@ -534,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -559,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -639,33 +557,30 @@ 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 { - return new GetDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,8 +592,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..21e6060e --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java index 2fe37571..e05e443e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetGlobalSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ -public final class GetGlobalSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGlobalSiteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) GetGlobalSiteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGlobalSiteTagRequest.newBuilder() to construct. private GetGlobalSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGlobalSiteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGlobalSiteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGlobalSiteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,52 +53,47 @@ private GetGlobalSiteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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.
@@ -123,10 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example: "properties/123/webDataStreams/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 @@ -135,15 +110,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -151,18 +125,17 @@ public java.lang.String getName() {
    * Example: "properties/123/webDataStreams/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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ 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() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,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 @@ -402,8 +366,7 @@ 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); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +376,38 @@ public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -453,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,8 +451,6 @@ public Builder mergeFrom( 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.
@@ -500,16 +458,14 @@ public Builder mergeFrom(
      * Example: "properties/123/webDataStreams/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; @@ -518,8 +474,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -527,17 +481,16 @@ public java.lang.String getName() {
      * Example: "properties/123/webDataStreams/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 { @@ -545,8 +498,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -554,25 +505,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Example: "properties/123/webDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -580,21 +527,16 @@ public Builder setName(java.lang.String value) {
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -602,26 +544,24 @@ public Builder clearName() {
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -631,12 +571,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(); } @@ -645,16 +585,16 @@ 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 { - return new GetGlobalSiteTagRequest(input, extensionRegistry); - } - }; + 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 { + return new GetGlobalSiteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,4 +609,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java similarity index 50% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java index 1b6b0450..0bf382a2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetGlobalSiteTagRequestOrBuilder - extends +public interface GetGlobalSiteTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -33,16 +15,11 @@ public interface GetGlobalSiteTagRequestOrBuilder
    * Example: "properties/123/webDataStreams/456/globalSiteTag"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -50,11 +27,9 @@ public interface GetGlobalSiteTagRequestOrBuilder
    * Example: "properties/123/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java index 53cc5cfb..eabf5920 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ -public final class GetGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGoogleSignalsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) GetGoogleSignalsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGoogleSignalsSettingsRequest.newBuilder() to construct. - private GetGoogleSignalsSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGoogleSignalsSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGoogleSignalsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,61 +53,53 @@ private GetGoogleSignalsSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the google signals settings to retrieve.
    * Format: properties/{property}/googleSignalsSettings
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,145 +204,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -403,8 +362,7 @@ 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); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,23 +447,19 @@ public Builder mergeFrom( 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; @@ -521,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -546,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,32 +557,30 @@ 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 { - return new GetGoogleSignalsSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetGoogleSignalsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +592,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java new file mode 100644 index 00000000..f3964231 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetGoogleSignalsSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java index e9faf3d4..21cdeb56 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetIosAppDataStreamRequest} */ -public final class GetIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetIosAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) GetIosAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetIosAppDataStreamRequest.newBuilder() to construct. private GetIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetIosAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetIosAppDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the iOS app data stream to lookup.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the iOS app data stream to lookup.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.GetIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetIosAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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; @@ -518,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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 { @@ -544,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -627,13 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(); } @@ -642,16 +578,16 @@ public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..1d2db780 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetIosAppDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the iOS app data stream to lookup.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to lookup.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java index 8e653310..af096b88 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,52 +53,47 @@ private GetMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
@@ -126,10 +102,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.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 @@ -138,15 +111,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
@@ -155,18 +127,17 @@ public java.lang.String getName() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -175,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -211,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,145 +210,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -387,22 +347,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,8 +368,7 @@ 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); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); result.name_ = name_; onBuilt(); return result; @@ -422,51 +378,46 @@ public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -490,9 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -514,16 +461,14 @@ public Builder mergeFrom(
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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; @@ -532,8 +477,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -542,17 +485,16 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -560,8 +502,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -570,25 +510,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -597,21 +533,16 @@ public Builder setName(java.lang.String value) {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -620,26 +551,24 @@ public Builder clearName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * - * string name = 1 [(.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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -649,32 +578,30 @@ 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 { - return new GetMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new GetMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -686,8 +613,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java similarity index 52% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java index 13d7baa5..d62825f0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetMeasurementProtocolSecretRequestOrBuilder - extends +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:
@@ -34,16 +16,11 @@ public interface GetMeasurementProtocolSecretRequestOrBuilder
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.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 measurement protocol secret to lookup.
    * Format:
@@ -52,11 +29,9 @@ public interface GetMeasurementProtocolSecretRequestOrBuilder
    * AndroidAppDataStream) may be a parent.
    * 
* - * - * string name = 1 [(.google.api.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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java index 39edb44e..24bedfd2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ -public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetPropertyRequest) GetPropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetPropertyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,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 @@ -400,8 +364,7 @@ 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); + com.google.analytics.admin.v1alpha.GetPropertyRequest result = new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.analytics.admin.v1alpha.GetPropertyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetPropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetPropertyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetPropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,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(); } @@ -638,16 +578,16 @@ 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 { - return new GetPropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java new file mode 100644 index 00000000..d15bc73f --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetPropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java index cca6d927..75667497 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ -public final class GetUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) GetUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUserLinkRequest.newBuilder() to construct. private GetUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private GetUserLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetUserLinkRequest other = - (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetUserLinkRequest other = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,127 +202,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) com.google.analytics.admin.v1alpha.GetUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetUserLinkRequest.newBuilder() @@ -357,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override @@ -396,8 +360,7 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetUserLinkRequest result = - new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); + com.google.analytics.admin.v1alpha.GetUserLinkRequest result = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -407,39 +370,38 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -447,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) private static final com.google.analytics.admin.v1alpha.GetUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(); } @@ -624,16 +564,16 @@ public static com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..8bb7da16 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java index dde7242d..cfa481f5 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetWebDataStreamRequest} */ -public final class GetWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetWebDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetWebDataStreamRequest) GetWebDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetWebDataStreamRequest.newBuilder() to construct. private GetWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetWebDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetWebDataStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the web data stream to lookup.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the web data stream to lookup.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,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.GetWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other = - (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetWebDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetWebDataStreamRequest) com.google.analytics.admin.v1alpha.GetWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,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_GetWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest result = - new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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 { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetWebDataStreamRequest) private static final com.google.analytics.admin.v1alpha.GetWebDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(); } @@ -638,16 +578,16 @@ public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..bbfbdcce --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetWebDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the web data stream to lookup.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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 web data stream to lookup.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index 0d1b6edf..834227b8 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Read-only resource with the tag for sending data from a website to a
  * WebDataStream.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
  */
-public final class GlobalSiteTag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GlobalSiteTag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
     GlobalSiteTagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GlobalSiteTag.newBuilder() to construct.
   private GlobalSiteTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GlobalSiteTag() {
     name_ = "";
     snippet_ = "";
@@ -45,15 +27,16 @@ private GlobalSiteTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GlobalSiteTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private GlobalSiteTag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,66 +55,59 @@ private GlobalSiteTag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              snippet_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            snippet_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{propertyId}/globalSiteTag
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -140,30 +116,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 GlobalSiteTag resource.
    * Format: properties/{propertyId}/globalSiteTag
    * 
* * 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 { @@ -174,15 +150,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SNIPPET_FIELD_NUMBER = 2; 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 @@ -191,30 +164,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 { @@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getSnippetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -265,16 +238,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GlobalSiteTag)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GlobalSiteTag other = - (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; + com.google.analytics.admin.v1alpha.GlobalSiteTag other = (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; - if (!getName().equals(other.getName())) return false; - if (!getSnippet().equals(other.getSnippet())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSnippet() + .equals(other.getSnippet())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,104 +269,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GlobalSiteTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Read-only resource with the tag for sending data from a website to a
    * WebDataStream.
@@ -400,23 +367,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
       com.google.analytics.admin.v1alpha.GlobalSiteTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.GlobalSiteTag.class,
-              com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
+              com.google.analytics.admin.v1alpha.GlobalSiteTag.class, com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.GlobalSiteTag.newBuilder()
@@ -424,15 +389,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -444,9 +410,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
@@ -465,8 +431,7 @@ 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);
+      com.google.analytics.admin.v1alpha.GlobalSiteTag result = new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
       result.name_ = name_;
       result.snippet_ = snippet_;
       onBuilt();
@@ -477,39 +442,38 @@ public com.google.analytics.admin.v1alpha.GlobalSiteTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       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;
@@ -517,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.GlobalSiteTag other) {
-      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -558,21 +521,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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; @@ -581,22 +542,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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 { @@ -604,64 +564,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -669,21 +622,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object snippet_ = ""; /** - * - * *
      * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
      * every webpage to measure.
      * 
* * 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; @@ -692,22 +643,21 @@ public java.lang.String getSnippet() { } } /** - * - * *
      * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
      * every webpage to measure.
      * 
* * 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 { @@ -715,71 +665,64 @@ public com.google.protobuf.ByteString getSnippetBytes() { } } /** - * - * *
      * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
      * every webpage to measure.
      * 
* * 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) { + public Builder setSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + snippet_ = value; 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() { - + snippet_ = getDefaultInstance().getSnippet(); 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]; - * * @param value The bytes for snippet to set. * @return This builder for chaining. */ - public Builder setSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + snippet_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +732,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(); } @@ -803,16 +746,16 @@ 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 { - return new GlobalSiteTag(input, extensionRegistry); - } - }; + 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 { + return new GlobalSiteTag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index 4ec0bf9f..d111d3d0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java @@ -1,79 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface 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/{propertyId}/globalSiteTag
    * 
* * 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/{propertyId}/globalSiteTag
    * 
* * 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index dc6b0eee..10c6d60a 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
- * A link between an GA4 property and a Google Ads account.
+ * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ -public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GoogleAdsLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleAdsLink) GoogleAdsLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -45,15 +27,16 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GoogleAdsLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,123 +55,109 @@ private GoogleAdsLink( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - customerId_ = s; - break; - } - case 32: - { - canManageClients_ = input.readBool(); - break; + customerId_ = s; + break; + } + case 32: { + + canManageClients_ = input.readBool(); + break; + } + case 42: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (adsPersonalizationEnabled_ != null) { + subBuilder = adsPersonalizationEnabled_.toBuilder(); } - case 42: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (adsPersonalizationEnabled_ != null) { - subBuilder = adsPersonalizationEnabled_.toBuilder(); - } - adsPersonalizationEnabled_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adsPersonalizationEnabled_); - adsPersonalizationEnabled_ = subBuilder.buildPartial(); - } - - break; + adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adsPersonalizationEnabled_); + adsPersonalizationEnabled_ = subBuilder.buildPartial(); } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 58: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - creatorEmailAddress_ = s; - break; + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } + + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + creatorEmailAddress_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -197,30 +166,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -231,14 +200,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CUSTOMER_ID_FIELD_NUMBER = 3; 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 @@ -247,29 +213,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 { @@ -280,14 +246,11 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; 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 @@ -298,8 +261,6 @@ public boolean getCanManageClients() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -308,7 +269,6 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -316,8 +276,6 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -326,18 +284,13 @@ public boolean hasAdsPersonalizationEnabled() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -355,15 +308,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
   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 @@ -371,15 +320,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -387,14 +332,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -404,15 +346,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -420,15 +358,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -436,14 +370,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -453,15 +384,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; 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 @@ -470,30 +398,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 { @@ -502,7 +430,6 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -514,7 +441,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -552,18 +480,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerId_); } if (canManageClients_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canManageClients_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, canManageClients_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAdsPersonalizationEnabled()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorEmailAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, creatorEmailAddress_); @@ -576,31 +506,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GoogleAdsLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GoogleAdsLink other = - (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; + com.google.analytics.admin.v1alpha.GoogleAdsLink other = (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getCustomerId().equals(other.getCustomerId())) return false; - if (getCanManageClients() != other.getCanManageClients()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCustomerId() + .equals(other.getCustomerId())) return false; + if (getCanManageClients() + != other.getCanManageClients()) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getCreatorEmailAddress().equals(other.getCreatorEmailAddress())) return false; + if (!getCreatorEmailAddress() + .equals(other.getCreatorEmailAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -617,7 +552,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOMER_ID_FIELD_NUMBER; hash = (53 * hash) + getCustomerId().hashCode(); hash = (37 * hash) + CAN_MANAGE_CLIENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCanManageClients()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCanManageClients()); if (hasAdsPersonalizationEnabled()) { hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); @@ -637,127 +573,118 @@ 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 an GA4 property and a Google Ads account.
+   * 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() @@ -765,15 +692,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -807,9 +735,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 @@ -828,8 +756,7 @@ 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); + com.google.analytics.admin.v1alpha.GoogleAdsLink result = new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); result.name_ = name_; result.customerId_ = customerId_; result.canManageClients_ = canManageClients_; @@ -857,39 +784,38 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -897,8 +823,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleAdsLink other) { - if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -954,21 +879,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -977,22 +900,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1000,64 +922,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1065,20 +980,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object customerId_ = ""; /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ public java.lang.String getCustomerId() { java.lang.Object ref = customerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; @@ -1087,21 +1000,20 @@ public java.lang.String getCustomerId() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - public com.google.protobuf.ByteString getCustomerIdBytes() { + public com.google.protobuf.ByteString + getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerId_ = b; return b; } else { @@ -1109,76 +1021,66 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The customerId to set. * @return This builder for chaining. */ - public Builder setCustomerId(java.lang.String value) { + public Builder setCustomerId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerId_ = value; 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() { - + customerId_ = getDefaultInstance().getCustomerId(); onChanged(); 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) { + public Builder setCustomerIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerId_ = value; onChanged(); 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 @@ -1186,36 +1088,30 @@ public boolean getCanManageClients() { return canManageClients_; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCanManageClients() { - + canManageClients_ = false; onChanged(); return this; @@ -1223,13 +1119,8 @@ public Builder clearCanManageClients() { private com.google.protobuf.BoolValue adsPersonalizationEnabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - adsPersonalizationEnabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1238,15 +1129,12 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabledBuilder_ != null || adsPersonalizationEnabled_ != null; } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1255,21 +1143,16 @@ public boolean hasAdsPersonalizationEnabled() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1293,8 +1176,6 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1316,8 +1197,6 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1331,9 +1210,7 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       if (adsPersonalizationEnabledBuilder_ == null) {
         if (adsPersonalizationEnabled_ != null) {
           adsPersonalizationEnabled_ =
-              com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial();
         } else {
           adsPersonalizationEnabled_ = value;
         }
@@ -1345,8 +1222,6 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1368,8 +1243,6 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1380,13 +1253,11 @@ public Builder clearAdsPersonalizationEnabled() {
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() {
-
+      
       onChanged();
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1400,14 +1271,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1418,17 +1286,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getAdsPersonalizationEnabledFieldBuilder() {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        adsPersonalizationEnabledBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getAdsPersonalizationEnabled(), getParentForChildren(), isClean());
+        adsPersonalizationEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getAdsPersonalizationEnabled(),
+                getParentForChildren(),
+                isClean());
         adsPersonalizationEnabled_ = null;
       }
       return adsPersonalizationEnabledBuilder_;
@@ -1436,58 +1301,39 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Time when this link was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || 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. */ 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) { @@ -1503,17 +1349,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this link was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1524,21 +1367,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this link was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1550,15 +1389,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this link was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1572,64 +1407,48 @@ 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() { - + onChanged(); 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_; @@ -1637,58 +1456,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when this link was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || 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. */ 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) { @@ -1704,17 +1504,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this link was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1725,21 +1522,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this link was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1751,15 +1544,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this link was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1773,64 +1562,48 @@ 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() { - + onChanged(); 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_; @@ -1838,21 +1611,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object creatorEmailAddress_ = ""; /** - * - * *
      * Output only. Email address of the user that created the link.
      * An empty string will be returned if the email address can't be retrieved.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ public java.lang.String getCreatorEmailAddress() { java.lang.Object ref = creatorEmailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; @@ -1861,22 +1632,21 @@ public java.lang.String getCreatorEmailAddress() { } } /** - * - * *
      * Output only. Email address of the user that created the link.
      * An empty string will be returned if the email address can't be retrieved.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString + getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -1884,71 +1654,64 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } } /** - * - * *
      * Output only. Email address of the user that created the link.
      * An empty string will be returned if the email address can't be retrieved.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddress(java.lang.String value) { + public Builder setCreatorEmailAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creatorEmailAddress_ = value; 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() { - + creatorEmailAddress_ = getDefaultInstance().getCreatorEmailAddress(); 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]; - * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { + public Builder setCreatorEmailAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creatorEmailAddress_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1958,12 +1721,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(); } @@ -1972,16 +1735,16 @@ 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 { - return new GoogleAdsLink(input, extensionRegistry); - } - }; + 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 { + return new GoogleAdsLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1996,4 +1759,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java similarity index 79% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index 04831579..ab12c2fc 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java @@ -1,96 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ java.lang.String getCustomerId(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - com.google.protobuf.ByteString getCustomerIdBytes(); + com.google.protobuf.ByteString + getCustomerIdBytes(); /** - * - * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ boolean getCanManageClients(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -99,13 +68,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -114,13 +80,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -133,105 +96,78 @@ public interface GoogleAdsLinkOrBuilder
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Email address of the user that created the link.
    * An empty string will be returned if the email address can't be retrieved.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** - * - * *
    * Output only. Email address of the user that created the link.
    * An empty string will be returned if the email address can't be retrieved.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString + getCreatorEmailAddressBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java index dcc2006d..9e860b15 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Consent field of the Google Signals settings (i.e., whether the user has
  * consented to the Google Signals terms of service.)
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsConsent}
  */
-public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsConsent
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -42,8 +24,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE
    */
   GOOGLE_SIGNALS_CONSENT_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Terms of service have been accepted
    * 
@@ -52,8 +32,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ GOOGLE_SIGNALS_CONSENT_CONSENTED(2), /** - * - * *
    * Terms of service have not been accepted
    * 
@@ -65,8 +43,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -77,8 +53,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE
    */
   public static final int GOOGLE_SIGNALS_CONSENT_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Terms of service have been accepted
    * 
@@ -87,8 +61,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ public static final int GOOGLE_SIGNALS_CONSENT_CONSENTED_VALUE = 2; /** - * - * *
    * Terms of service have not been accepted
    * 
@@ -97,6 +69,7 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ public static final int GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,14 +94,10 @@ public static GoogleSignalsConsent valueOf(int value) { */ public static GoogleSignalsConsent forNumber(int value) { switch (value) { - case 0: - return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; - case 2: - return GOOGLE_SIGNALS_CONSENT_CONSENTED; - case 1: - return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; - default: - return null; + case 0: return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; + case 2: return GOOGLE_SIGNALS_CONSENT_CONSENTED; + case 1: return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; + default: return null; } } @@ -136,28 +105,28 @@ public static GoogleSignalsConsent forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsConsent findValueByNumber(int number) { - return GoogleSignalsConsent.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GoogleSignalsConsent> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsConsent findValueByNumber(int number) { + return GoogleSignalsConsent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(6); } @@ -166,7 +135,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GoogleSignalsConsent valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -182,3 +152,4 @@ private GoogleSignalsConsent(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsConsent) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java index 86901c6a..8d119888 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Settings values for Google Signals.  This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ -public final class GoogleSignalsSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GoogleSignalsSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) GoogleSignalsSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GoogleSignalsSettings.newBuilder() to construct. private GoogleSignalsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleSignalsSettings() { name_ = ""; state_ = 0; @@ -45,15 +27,16 @@ private GoogleSignalsSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleSignalsSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GoogleSignalsSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,66 +55,59 @@ private GoogleSignalsSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 32: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); - consent_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + consent_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -139,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -148,15 +123,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -164,15 +138,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -183,85 +158,58 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsState result = - com.google.analytics.admin.v1alpha.GoogleSignalsState.valueOf(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.valueOf(state_); + return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED : result; } public static final int CONSENT_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = - com.google.analytics.admin.v1alpha.GoogleSignalsConsent.valueOf(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.valueOf(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; @@ -273,19 +221,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (state_ - != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } - if (consent_ - != com.google.analytics.admin.v1alpha.GoogleSignalsConsent - .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED - .getNumber()) { + if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { output.writeEnum(4, consent_); } unknownFields.writeTo(output); @@ -300,16 +244,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ - != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } - if (consent_ - != com.google.analytics.admin.v1alpha.GoogleSignalsConsent - .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, consent_); + if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, consent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,15 +260,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -353,127 +294,117 @@ 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() @@ -481,15 +412,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +435,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 @@ -524,8 +456,7 @@ 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); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); result.name_ = name_; result.state_ = state_; result.consent_ = consent_; @@ -537,39 +468,38 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -577,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleSignalsSettings other) { - if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -608,8 +537,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -621,8 +549,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -630,13 +556,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; @@ -645,8 +571,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -654,14 +578,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -669,8 +594,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -678,22 +601,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -701,18 +622,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -720,16 +638,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -737,67 +655,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsState result = - com.google.analytics.admin.v1alpha.GoogleSignalsState.valueOf(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.valueOf(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. */ @@ -805,24 +707,21 @@ public Builder setState(com.google.analytics.admin.v1alpha.GoogleSignalsState va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -830,75 +729,51 @@ 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. */ public Builder setConsentValue(int value) { - + consent_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = - com.google.analytics.admin.v1alpha.GoogleSignalsConsent.valueOf(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.valueOf(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. */ @@ -906,33 +781,28 @@ public Builder setConsent(com.google.analytics.admin.v1alpha.GoogleSignalsConsen if (value == null) { throw new NullPointerException(); } - + consent_ = value.getNumber(); onChanged(); 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() { - + consent_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +812,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(); } @@ -956,16 +826,16 @@ 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 { - return new GoogleSignalsSettings(input, extensionRegistry); - } - }; + 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 { + return new GoogleSignalsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -980,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java index 2f84d575..96246e7e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleSignalsSettingsOrBuilder - extends +public interface GoogleSignalsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -33,13 +15,10 @@ public interface GoogleSignalsSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -47,61 +26,45 @@ public interface GoogleSignalsSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The state. */ com.google.analytics.admin.v1alpha.GoogleSignalsState getState(); /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for consent. */ int getConsentValue(); /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The consent. */ com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java index ed535750..093fe042 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Status of the Google Signals settings (i.e., whether this feature has been
  * enabled for the property).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsState}
  */
-public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsState
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -41,8 +23,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu
    */
   GOOGLE_SIGNALS_STATE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Google Signals is enabled.
    * 
@@ -51,8 +31,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ GOOGLE_SIGNALS_ENABLED(1), /** - * - * *
    * Google Signals is disabled.
    * 
@@ -64,8 +42,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -75,8 +51,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Google Signals is enabled.
    * 
@@ -85,8 +59,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ public static final int GOOGLE_SIGNALS_ENABLED_VALUE = 1; /** - * - * *
    * Google Signals is disabled.
    * 
@@ -95,6 +67,7 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ public static final int GOOGLE_SIGNALS_DISABLED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,42 +92,39 @@ public static GoogleSignalsState valueOf(int value) { */ public static GoogleSignalsState forNumber(int value) { switch (value) { - case 0: - return GOOGLE_SIGNALS_STATE_UNSPECIFIED; - case 1: - return GOOGLE_SIGNALS_ENABLED; - case 2: - return GOOGLE_SIGNALS_DISABLED; - default: - return null; + case 0: return GOOGLE_SIGNALS_STATE_UNSPECIFIED; + case 1: return GOOGLE_SIGNALS_ENABLED; + case 2: return GOOGLE_SIGNALS_DISABLED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsState findValueByNumber(int number) { - return GoogleSignalsState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GoogleSignalsState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsState findValueByNumber(int number) { + return GoogleSignalsState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(5); } @@ -163,7 +133,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GoogleSignalsState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -179,3 +150,4 @@ private GoogleSignalsState(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsState) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java index 461d68a4..86b37f8b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.IndustryCategory} */ -public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Industry category unspecified
    * 
@@ -39,8 +21,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * Automotive
    * 
@@ -49,8 +29,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ AUTOMOTIVE(1), /** - * - * *
    * Business and industrial markets
    * 
@@ -59,8 +37,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** - * - * *
    * Finance
    * 
@@ -69,8 +45,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FINANCE(3), /** - * - * *
    * Healthcare
    * 
@@ -79,8 +53,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HEALTHCARE(4), /** - * - * *
    * Technology
    * 
@@ -89,8 +61,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TECHNOLOGY(5), /** - * - * *
    * Travel
    * 
@@ -99,8 +69,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TRAVEL(6), /** - * - * *
    * Other
    * 
@@ -109,8 +77,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ OTHER(7), /** - * - * *
    * Arts and entertainment
    * 
@@ -119,8 +85,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ARTS_AND_ENTERTAINMENT(8), /** - * - * *
    * Beauty and fitness
    * 
@@ -129,8 +93,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BEAUTY_AND_FITNESS(9), /** - * - * *
    * Books and literature
    * 
@@ -139,8 +101,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BOOKS_AND_LITERATURE(10), /** - * - * *
    * Food and drink
    * 
@@ -149,8 +109,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FOOD_AND_DRINK(11), /** - * - * *
    * Games
    * 
@@ -159,8 +117,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ GAMES(12), /** - * - * *
    * Hobbies and leisure
    * 
@@ -169,8 +125,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOBBIES_AND_LEISURE(13), /** - * - * *
    * Home and garden
    * 
@@ -179,8 +133,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOME_AND_GARDEN(14), /** - * - * *
    * Internet and telecom
    * 
@@ -189,8 +141,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INTERNET_AND_TELECOM(15), /** - * - * *
    * Law and government
    * 
@@ -199,8 +149,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ LAW_AND_GOVERNMENT(16), /** - * - * *
    * News
    * 
@@ -209,8 +157,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ NEWS(17), /** - * - * *
    * Online communities
    * 
@@ -219,8 +165,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ONLINE_COMMUNITIES(18), /** - * - * *
    * People and society
    * 
@@ -229,8 +173,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PEOPLE_AND_SOCIETY(19), /** - * - * *
    * Pets and animals
    * 
@@ -239,8 +181,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PETS_AND_ANIMALS(20), /** - * - * *
    * Real estate
    * 
@@ -249,8 +189,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REAL_ESTATE(21), /** - * - * *
    * Reference
    * 
@@ -259,8 +197,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REFERENCE(22), /** - * - * *
    * Science
    * 
@@ -269,8 +205,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SCIENCE(23), /** - * - * *
    * Sports
    * 
@@ -279,8 +213,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SPORTS(24), /** - * - * *
    * Jobs and education
    * 
@@ -289,8 +221,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ JOBS_AND_EDUCATION(25), /** - * - * *
    * Shopping
    * 
@@ -302,8 +232,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Industry category unspecified
    * 
@@ -312,8 +240,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Automotive
    * 
@@ -322,8 +248,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUTOMOTIVE_VALUE = 1; /** - * - * *
    * Business and industrial markets
    * 
@@ -332,8 +256,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** - * - * *
    * Finance
    * 
@@ -342,8 +264,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FINANCE_VALUE = 3; /** - * - * *
    * Healthcare
    * 
@@ -352,8 +272,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HEALTHCARE_VALUE = 4; /** - * - * *
    * Technology
    * 
@@ -362,8 +280,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TECHNOLOGY_VALUE = 5; /** - * - * *
    * Travel
    * 
@@ -372,8 +288,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRAVEL_VALUE = 6; /** - * - * *
    * Other
    * 
@@ -382,8 +296,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_VALUE = 7; /** - * - * *
    * Arts and entertainment
    * 
@@ -392,8 +304,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** - * - * *
    * Beauty and fitness
    * 
@@ -402,8 +312,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** - * - * *
    * Books and literature
    * 
@@ -412,8 +320,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** - * - * *
    * Food and drink
    * 
@@ -422,8 +328,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOOD_AND_DRINK_VALUE = 11; /** - * - * *
    * Games
    * 
@@ -432,8 +336,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int GAMES_VALUE = 12; /** - * - * *
    * Hobbies and leisure
    * 
@@ -442,8 +344,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** - * - * *
    * Home and garden
    * 
@@ -452,8 +352,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOME_AND_GARDEN_VALUE = 14; /** - * - * *
    * Internet and telecom
    * 
@@ -462,8 +360,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** - * - * *
    * Law and government
    * 
@@ -472,8 +368,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** - * - * *
    * News
    * 
@@ -482,8 +376,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int NEWS_VALUE = 17; /** - * - * *
    * Online communities
    * 
@@ -492,8 +384,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** - * - * *
    * People and society
    * 
@@ -502,8 +392,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** - * - * *
    * Pets and animals
    * 
@@ -512,8 +400,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** - * - * *
    * Real estate
    * 
@@ -522,8 +408,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REAL_ESTATE_VALUE = 21; /** - * - * *
    * Reference
    * 
@@ -532,8 +416,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REFERENCE_VALUE = 22; /** - * - * *
    * Science
    * 
@@ -542,8 +424,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SCIENCE_VALUE = 23; /** - * - * *
    * Sports
    * 
@@ -552,8 +432,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SPORTS_VALUE = 24; /** - * - * *
    * Jobs and education
    * 
@@ -562,8 +440,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** - * - * *
    * Shopping
    * 
@@ -572,6 +448,7 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SHOPPING_VALUE = 26; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -596,97 +473,73 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: - return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: - return AUTOMOTIVE; - case 2: - return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: - return FINANCE; - case 4: - return HEALTHCARE; - case 5: - return TECHNOLOGY; - case 6: - return TRAVEL; - case 7: - return OTHER; - case 8: - return ARTS_AND_ENTERTAINMENT; - case 9: - return BEAUTY_AND_FITNESS; - case 10: - return BOOKS_AND_LITERATURE; - case 11: - return FOOD_AND_DRINK; - case 12: - return GAMES; - case 13: - return HOBBIES_AND_LEISURE; - case 14: - return HOME_AND_GARDEN; - case 15: - return INTERNET_AND_TELECOM; - case 16: - return LAW_AND_GOVERNMENT; - case 17: - return NEWS; - case 18: - return ONLINE_COMMUNITIES; - case 19: - return PEOPLE_AND_SOCIETY; - case 20: - return PETS_AND_ANIMALS; - case 21: - return REAL_ESTATE; - case 22: - return REFERENCE; - case 23: - return SCIENCE; - case 24: - return SPORTS; - case 25: - return JOBS_AND_EDUCATION; - case 26: - return SHOPPING; - default: - return null; + case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: return AUTOMOTIVE; + case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: return FINANCE; + case 4: return HEALTHCARE; + case 5: return TECHNOLOGY; + case 6: return TRAVEL; + case 7: return OTHER; + case 8: return ARTS_AND_ENTERTAINMENT; + case 9: return BEAUTY_AND_FITNESS; + case 10: return BOOKS_AND_LITERATURE; + case 11: return FOOD_AND_DRINK; + case 12: return GAMES; + case 13: return HOBBIES_AND_LEISURE; + case 14: return HOME_AND_GARDEN; + case 15: return INTERNET_AND_TELECOM; + case 16: return LAW_AND_GOVERNMENT; + case 17: return NEWS; + case 18: return ONLINE_COMMUNITIES; + case 19: return PEOPLE_AND_SOCIETY; + case 20: return PETS_AND_ANIMALS; + case 21: return REAL_ESTATE; + case 22: return REFERENCE; + case 23: return SCIENCE; + case 24: return SPORTS; + case 25: return JOBS_AND_EDUCATION; + case 26: return SHOPPING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IndustryCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -702,3 +555,4 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.IndustryCategory) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java index 9196ced9..2198caab 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics IOS app stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.IosAppDataStream} */ -public final class IosAppDataStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IosAppDataStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.IosAppDataStream) IosAppDataStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IosAppDataStream.newBuilder() to construct. private IosAppDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IosAppDataStream() { name_ = ""; firebaseAppId_ = ""; @@ -46,15 +28,16 @@ private IosAppDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IosAppDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IosAppDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,103 +56,91 @@ private IosAppDataStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + firebaseAppId_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - bundleId_ = s; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + bundleId_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.IosAppDataStream.class, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.IosAppDataStream.class, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -177,7 +148,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -186,15 +156,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -202,15 +171,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -221,15 +191,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -238,30 +205,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 = 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 { @@ -272,15 +239,11 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when this stream 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 @@ -288,15 +251,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this stream 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 @@ -304,14 +263,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 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() { @@ -321,15 +277,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when stream 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 @@ -337,15 +289,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when stream 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 @@ -353,14 +301,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 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() { @@ -370,17 +315,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int BUNDLE_ID_FIELD_NUMBER = 5; private volatile java.lang.Object bundleId_; /** - * - * *
    * Required. Immutable. The Apple App Store Bundle ID for the app
    * Example: "com.example.myiosapp"
    * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ @java.lang.Override @@ -389,32 +329,30 @@ public java.lang.String getBundleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; } } /** - * - * *
    * Required. Immutable. The Apple App Store Bundle ID for the app
    * Example: "com.example.myiosapp"
    * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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 { @@ -425,15 +363,12 @@ public com.google.protobuf.ByteString getBundleIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -442,30 +377,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; } } /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @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 { @@ -474,7 +409,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,7 +420,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -521,10 +456,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firebaseAppId_); } 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(bundleId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bundleId_); @@ -540,26 +477,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.IosAppDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.IosAppDataStream other = - (com.google.analytics.admin.v1alpha.IosAppDataStream) obj; + com.google.analytics.admin.v1alpha.IosAppDataStream other = (com.google.analytics.admin.v1alpha.IosAppDataStream) obj; - if (!getName().equals(other.getName())) return false; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) 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 (!getBundleId().equals(other.getBundleId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBundleId() + .equals(other.getBundleId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -593,126 +535,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.IosAppDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 IOS app stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.IosAppDataStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.IosAppDataStream) com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.IosAppDataStream.class, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.IosAppDataStream.class, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder() @@ -720,15 +653,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -756,9 +690,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_IosAppDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override @@ -777,8 +711,7 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream buildPartial() { - com.google.analytics.admin.v1alpha.IosAppDataStream result = - new com.google.analytics.admin.v1alpha.IosAppDataStream(this); + com.google.analytics.admin.v1alpha.IosAppDataStream result = new com.google.analytics.admin.v1alpha.IosAppDataStream(this); result.name_ = name_; result.firebaseAppId_ = firebaseAppId_; if (createTimeBuilder_ == null) { @@ -801,39 +734,38 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.IosAppDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream) other); + return mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream)other); } else { super.mergeFrom(other); return this; @@ -841,8 +773,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.IosAppDataStream other) { - if (other == com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -884,8 +815,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.IosAppDataStream) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.IosAppDataStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -897,8 +827,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -906,13 +834,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; @@ -921,8 +849,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -930,14 +856,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -945,8 +872,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -954,22 +879,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -977,18 +900,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -996,16 +916,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1013,21 +933,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 = 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; @@ -1036,22 +954,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 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 { @@ -1059,64 +976,57 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 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) { + public Builder setFirebaseAppId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 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) { + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1124,58 +1034,39 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Time when this stream 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 stream 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) { @@ -1191,17 +1082,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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(); onChanged(); @@ -1212,21 +1100,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1238,15 +1122,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1260,64 +1140,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Time when this stream 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when this stream 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 stream 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_; @@ -1325,58 +1189,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Time when stream 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 stream 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) { @@ -1392,17 +1237,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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(); onChanged(); @@ -1413,21 +1255,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1439,15 +1277,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1461,64 +1295,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when stream 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() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when stream 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 stream 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_; @@ -1526,23 +1344,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object bundleId_ = ""; /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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; @@ -1551,24 +1365,21 @@ public java.lang.String getBundleId() { } } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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 { @@ -1576,70 +1387,57 @@ public com.google.protobuf.ByteString getBundleIdBytes() { } } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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) { + public Builder setBundleId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bundleId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearBundleId() { - + bundleId_ = getDefaultInstance().getBundleId(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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) { + public Builder setBundleIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bundleId_ = value; onChanged(); return this; @@ -1647,21 +1445,19 @@ public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @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; @@ -1670,22 +1466,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @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 { @@ -1693,71 +1488,64 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1767,12 +1555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.IosAppDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.IosAppDataStream) private static final com.google.analytics.admin.v1alpha.IosAppDataStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.IosAppDataStream(); } @@ -1781,16 +1569,16 @@ public static com.google.analytics.admin.v1alpha.IosAppDataStream getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IosAppDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IosAppDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1805,4 +1593,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.IosAppDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java index d30000c9..76962f78 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface IosAppDataStreamOrBuilder - extends +public interface IosAppDataStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.IosAppDataStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -33,13 +15,10 @@ public interface IosAppDataStreamOrBuilder
    * 
* * 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}/iosAppDataStreams/{stream_id}
@@ -47,169 +26,128 @@ public interface IosAppDataStreamOrBuilder
    * 
* * 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. 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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
    * Output only. Time when this stream 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 stream 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 stream 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 stream 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 stream 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 stream 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(); /** - * - * *
    * Required. Immutable. The Apple App Store Bundle ID for the app
    * Example: "com.example.myiosapp"
    * 
* - * - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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 = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 5 [(.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(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java index 722888c2..d4f6ff3d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * An indication of which product the user initiated a link proposal from.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalInitiatingProduct} */ -public enum LinkProposalInitiatingProduct implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalInitiatingProduct + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified product.
    * 
@@ -39,8 +21,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED(0), /** - * - * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -49,8 +29,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ GOOGLE_ANALYTICS(1), /** - * - * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -63,8 +41,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified product.
    * 
@@ -73,8 +49,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ public static final int LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -83,8 +57,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ public static final int GOOGLE_ANALYTICS_VALUE = 1; /** - * - * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -94,6 +66,7 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco
    */
   public static final int LINKED_PRODUCT_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -118,14 +91,10 @@ public static LinkProposalInitiatingProduct valueOf(int value) {
    */
   public static LinkProposalInitiatingProduct forNumber(int value) {
     switch (value) {
-      case 0:
-        return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
-      case 1:
-        return GOOGLE_ANALYTICS;
-      case 2:
-        return LINKED_PRODUCT;
-      default:
-        return null;
+      case 0: return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
+      case 1: return GOOGLE_ANALYTICS;
+      case 2: return LINKED_PRODUCT;
+      default: return null;
     }
   }
 
@@ -133,28 +102,28 @@ public static LinkProposalInitiatingProduct forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LinkProposalInitiatingProduct findValueByNumber(int number) {
-              return LinkProposalInitiatingProduct.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      LinkProposalInitiatingProduct> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LinkProposalInitiatingProduct findValueByNumber(int number) {
+            return LinkProposalInitiatingProduct.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(7);
   }
 
@@ -163,7 +132,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static LinkProposalInitiatingProduct valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -179,3 +149,4 @@ private LinkProposalInitiatingProduct(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalInitiatingProduct)
 }
+
diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
similarity index 77%
rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
index 30482769..966a667f 100644
--- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
+++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * The state of a link proposal resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalState} */ -public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified state
    * 
@@ -39,8 +21,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum */ LINK_PROPOSAL_STATE_UNSPECIFIED(0), /** - * - * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -50,8 +30,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS(1),
   /**
-   *
-   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -61,8 +39,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   AWAITING_REVIEW_FROM_LINKED_PRODUCT(2),
   /**
-   *
-   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -72,8 +48,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   WITHDRAWN(3),
   /**
-   *
-   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -83,8 +57,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   DECLINED(4),
   /**
-   *
-   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -95,8 +67,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   EXPIRED(5),
   /**
-   *
-   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -110,8 +80,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified state
    * 
@@ -120,8 +88,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum */ public static final int LINK_PROPOSAL_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -131,8 +97,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUE = 1;
   /**
-   *
-   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -142,8 +106,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUE = 2;
   /**
-   *
-   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -153,8 +115,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int WITHDRAWN_VALUE = 3;
   /**
-   *
-   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -164,8 +124,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int DECLINED_VALUE = 4;
   /**
-   *
-   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -176,8 +134,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int EXPIRED_VALUE = 5;
   /**
-   *
-   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -188,6 +144,7 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int OBSOLETE_VALUE = 6;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -212,50 +169,43 @@ public static LinkProposalState valueOf(int value) {
    */
   public static LinkProposalState forNumber(int value) {
     switch (value) {
-      case 0:
-        return LINK_PROPOSAL_STATE_UNSPECIFIED;
-      case 1:
-        return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
-      case 2:
-        return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
-      case 3:
-        return WITHDRAWN;
-      case 4:
-        return DECLINED;
-      case 5:
-        return EXPIRED;
-      case 6:
-        return OBSOLETE;
-      default:
-        return null;
+      case 0: return LINK_PROPOSAL_STATE_UNSPECIFIED;
+      case 1: return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
+      case 2: return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
+      case 3: return WITHDRAWN;
+      case 4: return DECLINED;
+      case 5: return EXPIRED;
+      case 6: return OBSOLETE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LinkProposalState findValueByNumber(int number) {
-              return LinkProposalState.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      LinkProposalState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LinkProposalState findValueByNumber(int number) {
+            return LinkProposalState.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(8);
   }
 
@@ -264,7 +214,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static LinkProposalState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -280,3 +231,4 @@ private LinkProposalState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalState)
 }
+
diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
similarity index 61%
rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
index 18546148..b318ef59 100644
--- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
+++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * Status information for a link proposal.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ -public final class LinkProposalStatusDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LinkProposalStatusDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) LinkProposalStatusDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LinkProposalStatusDetails.newBuilder() to construct. private LinkProposalStatusDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LinkProposalStatusDetails() { linkProposalInitiatingProduct_ = 0; requestorEmail_ = ""; @@ -45,15 +27,16 @@ private LinkProposalStatusDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LinkProposalStatusDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LinkProposalStatusDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,116 +55,91 @@ private LinkProposalStatusDetails( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - linkProposalInitiatingProduct_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + linkProposalInitiatingProduct_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestorEmail_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + requestorEmail_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - linkProposalState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + linkProposalState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf( - linkProposalInitiatingProduct_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf(linkProposalInitiatingProduct_); + return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; } public static final int REQUESTOR_EMAIL_FIELD_NUMBER = 2; 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 @@ -190,29 +148,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 { @@ -223,47 +181,31 @@ public com.google.protobuf.ByteString getRequestorEmailBytes() { public static final int LINK_PROPOSAL_STATE_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalState result = - com.google.analytics.admin.v1alpha.LinkProposalState.valueOf(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.valueOf(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; @@ -275,19 +217,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (linkProposalInitiatingProduct_ - != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { output.writeEnum(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestorEmail_); } - if (linkProposalState_ - != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED - .getNumber()) { + if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, linkProposalState_); } unknownFields.writeTo(output); @@ -299,20 +237,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (linkProposalInitiatingProduct_ - != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, linkProposalInitiatingProduct_); + if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestorEmail_); } - if (linkProposalState_ - != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, linkProposalState_); + if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, linkProposalState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,16 +256,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -356,127 +290,117 @@ 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() @@ -484,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -506,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance(); } @@ -528,8 +452,7 @@ 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); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); result.linkProposalInitiatingProduct_ = linkProposalInitiatingProduct_; result.requestorEmail_ = requestorEmail_; result.linkProposalState_ = linkProposalState_; @@ -541,39 +464,38 @@ public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -581,9 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other) { - if (other - == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) return this; if (other.linkProposalInitiatingProduct_ != 0) { setLinkProposalInitiatingProductValue(other.getLinkProposalInitiatingProductValue()); } @@ -613,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,105 +545,73 @@ public Builder mergeFrom( 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. */ public Builder setLinkProposalInitiatingProductValue(int value) { - + linkProposalInitiatingProduct_ = value; onChanged(); 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() { + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf( - linkProposalInitiatingProduct_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf(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(); } - + linkProposalInitiatingProduct_ = value.getNumber(); onChanged(); 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() { - + linkProposalInitiatingProduct_ = 0; onChanged(); return this; @@ -732,20 +619,18 @@ public Builder clearLinkProposalInitiatingProduct() { private java.lang.Object requestorEmail_ = ""; /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestorEmail. */ public java.lang.String getRequestorEmail() { java.lang.Object ref = requestorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestorEmail_ = s; return s; @@ -754,21 +639,20 @@ public java.lang.String getRequestorEmail() { } } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for requestorEmail. */ - public com.google.protobuf.ByteString getRequestorEmailBytes() { + public com.google.protobuf.ByteString + getRequestorEmailBytes() { java.lang.Object ref = requestorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestorEmail_ = b; return b; } else { @@ -776,61 +660,54 @@ public com.google.protobuf.ByteString getRequestorEmailBytes() { } } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmail(java.lang.String value) { + public Builder setRequestorEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestorEmail_ = value; 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() { - + requestorEmail_ = getDefaultInstance().getRequestorEmail(); 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]; - * * @param value The bytes for requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { + public Builder setRequestorEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestorEmail_ = value; onChanged(); return this; @@ -838,110 +715,80 @@ public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { private int linkProposalState_ = 0; /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalState. */ - @java.lang.Override - public int getLinkProposalStateValue() { + @java.lang.Override public int getLinkProposalStateValue() { return linkProposalState_; } /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for linkProposalState to set. * @return This builder for chaining. */ public Builder setLinkProposalStateValue(int value) { - + linkProposalState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalState result = - com.google.analytics.admin.v1alpha.LinkProposalState.valueOf(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.valueOf(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(); } - + linkProposalState_ = value.getNumber(); onChanged(); 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() { - + linkProposalState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -951,13 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) - private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(); } @@ -966,16 +812,16 @@ 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 { - return new LinkProposalStatusDetails(input, extensionRegistry); - } - }; + 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 { + return new LinkProposalStatusDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java similarity index 52% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java index 3fe9bf48..9d2f440e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java @@ -1,108 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface LinkProposalStatusDetailsOrBuilder - extends +public interface LinkProposalStatusDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ int getLinkProposalInitiatingProductValue(); /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalInitiatingProduct. */ - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - getLinkProposalInitiatingProduct(); + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct(); /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestorEmail. */ java.lang.String getRequestorEmail(); /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for requestorEmail. */ - com.google.protobuf.ByteString getRequestorEmailBytes(); + com.google.protobuf.ByteString + getRequestorEmailBytes(); /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalState. */ int getLinkProposalStateValue(); /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalState. */ com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java index 36fbd9e4..bc6eb9c7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAccountSummariesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,57 +53,52 @@ private ListAccountSummariesRequest( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -129,7 +107,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -140,8 +117,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -150,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -159,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -176,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -222,7 +196,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); @@ -235,16 +210,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,127 +242,117 @@ 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() @@ -394,15 +360,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +381,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance(); } @@ -436,8 +402,7 @@ 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); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; onBuilt(); @@ -448,39 +413,38 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -488,9 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -517,9 +479,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -529,10 +489,8 @@ public Builder mergeFrom( return this; } - 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.
@@ -541,7 +499,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -549,8 +506,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -559,19 +514,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -580,11 +532,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -592,8 +543,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -602,13 +551,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; @@ -617,8 +566,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -627,14 +574,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -642,8 +590,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -652,22 +598,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -676,18 +620,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -696,23 +637,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -722,32 +663,30 @@ 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 { - return new ListAccountSummariesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAccountSummariesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -759,8 +698,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java index d39388bf..1e33f245 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesRequestOrBuilder - extends +public interface ListAccountSummariesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -65,8 +41,8 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java index cce448df..1fee6718 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAccountSummariesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListAccountSummariesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - accountSummaries_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.AccountSummary.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + accountSummaries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + accountSummaries_.add( + input.readMessage(com.google.analytics.admin.v1alpha.AccountSummary.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -113,27 +92,22 @@ private ListAccountSummariesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List accountSummaries_; /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -141,13 +115,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List - getAccountSummariesList() { + public java.util.List getAccountSummariesList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -155,13 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountSummariesOrBuilderList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -173,8 +142,6 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -186,8 +153,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -203,15 +168,12 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -220,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -252,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accountSummaries_.size(); i++) { output.writeMessage(1, accountSummaries_.get(i)); } @@ -281,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accountSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accountSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accountSummaries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountSummariesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = - (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; - if (!getAccountSummariesList().equals(other.getAccountSummariesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountSummariesList() + .equals(other.getAccountSummariesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +291,117 @@ 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() @@ -455,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAccountSummariesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance(); } @@ -503,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,50 +476,46 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -586,10 +534,9 @@ public Builder mergeFrom( accountSummariesBuilder_ = null; accountSummaries_ = other.accountSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - accountSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountSummariesFieldBuilder() - : null; + accountSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountSummariesFieldBuilder() : null; } else { accountSummariesBuilder_.addAllMessages(other.accountSummaries_); } @@ -618,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,38 +574,28 @@ public Builder mergeFrom( } 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 { @@ -668,8 +603,6 @@ private void ensureAccountSummariesIsMutable() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -684,8 +617,6 @@ public int getAccountSummariesCount() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -700,8 +631,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -723,8 +652,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -743,8 +670,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -765,8 +690,6 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1alpha.AccountSum return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -788,8 +711,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -808,8 +729,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -828,8 +747,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -840,7 +757,8 @@ public Builder addAllAccountSummaries( java.lang.Iterable values) { if (accountSummariesBuilder_ == null) { ensureAccountSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accountSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accountSummaries_); onChanged(); } else { accountSummariesBuilder_.addAllMessages(values); @@ -848,8 +766,6 @@ public Builder addAllAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -867,8 +783,6 @@ public Builder clearAccountSummaries() { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -886,8 +800,6 @@ public Builder removeAccountSummaries(int index) { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -899,8 +811,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma return getAccountSummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -910,22 +820,19 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOrBuilder( int index) { if (accountSummariesBuilder_ == null) { - return accountSummaries_.get(index); - } else { + return accountSummaries_.get(index); } else { return accountSummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesOrBuilderList() { + public java.util.List + getAccountSummariesOrBuilderList() { if (accountSummariesBuilder_ != null) { return accountSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -933,8 +840,6 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -942,12 +847,10 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder() { - return getAccountSummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -956,35 +859,26 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder( int index) { - return getAccountSummariesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesBuilderList() { + public java.util.List + getAccountSummariesBuilderList() { return getAccountSummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, - com.google.analytics.admin.v1alpha.AccountSummary.Builder, - com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> + com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> getAccountSummariesFieldBuilder() { if (accountSummariesBuilder_ == null) { - accountSummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, - com.google.analytics.admin.v1alpha.AccountSummary.Builder, - com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( + accountSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( accountSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,21 +890,19 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1019,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1042,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +1000,30 @@ 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 { - return new ListAccountSummariesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAccountSummariesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1035,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java index 0d916959..d2da7b58 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesResponseOrBuilder - extends +public interface ListAccountSummariesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List getAccountSummariesList(); + java.util.List + getAccountSummariesList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountSummariesResponseOrBuilder */ com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int index); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -54,19 +33,15 @@ public interface ListAccountSummariesResponseOrBuilder */ int getAccountSummariesCount(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOr int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java index 809e5272..4f114cab 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ -public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsRequest) ListAccountsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAccountsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,57 @@ private ListAccountsRequest( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - pageToken_ = s; - break; - } - case 24: - { - showDeleted_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 24: { + + showDeleted_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -134,7 +112,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -145,8 +122,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -155,7 +130,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -164,15 +138,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -181,15 +154,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,8 +174,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; 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
@@ -209,7 +181,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -218,7 +189,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -250,13 +221,15 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, showDeleted_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -266,17 +239,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsRequest other = - (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; + com.google.analytics.admin.v1alpha.ListAccountsRequest other = (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,134 +268,125 @@ 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) + unknownFields.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() @@ -428,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_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 @@ -471,8 +438,7 @@ 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); + com.google.analytics.admin.v1alpha.ListAccountsRequest result = new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.showDeleted_ = showDeleted_; @@ -484,39 +450,38 @@ public com.google.analytics.admin.v1alpha.ListAccountsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -524,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -555,8 +519,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAccountsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,10 +529,8 @@ public Builder mergeFrom( 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.
@@ -578,7 +539,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -586,8 +546,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -596,19 +554,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -617,11 +572,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -629,8 +583,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -639,13 +591,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; @@ -654,8 +606,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -664,14 +614,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -679,8 +630,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -689,22 +638,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -713,18 +660,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -733,25 +677,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); 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
@@ -759,7 +701,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -767,8 +708,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -776,19 +715,16 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -796,18 +732,17 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; onChanged(); return this; } - @java.lang.Override - 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 +752,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(); } @@ -831,16 +766,16 @@ 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 { - return new ListAccountsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAccountsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -855,4 +790,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java index eb0adfc8..50dd7121 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsRequestOrBuilder - extends +public interface ListAccountsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountsRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -65,14 +41,12 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -80,7 +54,6 @@ public interface ListAccountsRequestOrBuilder
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java index 18fcafbf..6c6ab8cd 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ -public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsResponse) ListAccountsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAccountsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private ListAccountsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - accounts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - accounts_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + accounts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + accounts_.add( + input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -111,27 +92,22 @@ private ListAccountsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List accounts_; /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -143,8 +119,6 @@ public java.util.List getAccountsLis return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -152,13 +126,11 @@ public java.util.List getAccountsLis * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountsOrBuilderList() { return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -170,8 +142,6 @@ public int getAccountsCount() { return accounts_.size(); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -183,8 +153,6 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { return accounts_.get(index); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -192,22 +160,20 @@ 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; 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 @@ -216,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accounts_.size(); i++) { output.writeMessage(1, accounts_.get(i)); } @@ -277,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accounts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -290,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsResponse other = - (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountsResponse other = (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; - if (!getAccountsList().equals(other.getAccountsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountsList() + .equals(other.getAccountsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,127 +291,117 @@ 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() @@ -451,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAccountsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +435,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 @@ -498,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -519,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListAccountsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -559,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { @@ -579,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); - accountsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountsFieldBuilder() - : null; + accountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountsFieldBuilder() : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } @@ -611,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAccountsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -621,28 +574,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -657,8 +603,6 @@ public java.util.List getAccountsLis } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -673,8 +617,6 @@ public int getAccountsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -689,15 +631,14 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder setAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder setAccounts( + int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,8 +652,6 @@ public Builder setAccounts(int index, com.google.analytics.admin.v1alpha.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -731,8 +670,6 @@ public Builder setAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -753,15 +690,14 @@ public Builder addAccounts(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder addAccounts( + int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,15 +711,14 @@ public Builder addAccounts(int index, com.google.analytics.admin.v1alpha.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder addAccounts( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); @@ -794,8 +729,6 @@ public Builder addAccounts(com.google.analytics.admin.v1alpha.Account.Builder bu return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -814,8 +747,6 @@ public Builder addAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -826,7 +757,8 @@ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); @@ -834,8 +766,6 @@ public Builder addAllAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -853,8 +783,6 @@ public Builder clearAccounts() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -872,44 +800,39 @@ public Builder removeAccounts(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder(int index) { + public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder( + int index) { return getAccountsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( + int index) { if (accountsBuilder_ == null) { - return accounts_.get(index); - } else { + return accounts_.get(index); } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsOrBuilderList() { + public java.util.List + getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { @@ -917,8 +840,6 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -926,48 +847,42 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder() { - return getAccountsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + return getAccountsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder(int index) { - return getAccountsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder( + int index) { + return getAccountsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsBuilderList() { + public java.util.List + getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { - accountsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( - accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + accounts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); accounts_ = null; } return accountsBuilder_; @@ -975,21 +890,19 @@ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +1000,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(); } @@ -1109,16 +1014,16 @@ 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 { - return new ListAccountsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAccountsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1133,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java index 8a80e051..4d9c54f4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsResponseOrBuilder - extends +public interface ListAccountsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List getAccountsList(); + java.util.List + getAccountsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountsResponseOrBuilder */ com.google.analytics.admin.v1alpha.Account getAccounts(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListAccountsResponseOrBuilder */ int getAccountsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index); + com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java index 7a831f1a..df52debd 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAndroidAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest} */ -public final class ListAndroidAppDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAndroidAppDataStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) ListAndroidAppDataStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAndroidAppDataStreamsRequest.newBuilder() to construct. - private ListAndroidAppDataStreamsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListAndroidAppDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAndroidAppDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +26,16 @@ private ListAndroidAppDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAndroidAppDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAndroidAppDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,74 +54,65 @@ private ListAndroidAppDataStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 @@ -148,33 +121,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 { @@ -185,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -205,8 +173,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -216,7 +182,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -225,15 +190,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -243,15 +207,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -260,7 +225,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -295,7 +260,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -308,17 +274,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.ListAndroidAppDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other = - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -342,145 +310,134 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAndroidAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.newBuilder() + // Construct using com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,16 +451,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_ListAndroidAppDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance(); } @java.lang.Override @@ -517,8 +472,7 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest result = - new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -530,51 +484,46 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -605,9 +554,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -619,24 +566,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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; @@ -645,25 +588,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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 { @@ -671,82 +611,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +679,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -762,8 +686,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -771,19 +693,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -791,11 +710,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -803,8 +721,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -814,13 +730,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; @@ -829,8 +745,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -840,14 +754,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -855,8 +770,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -866,22 +779,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -891,18 +802,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -912,23 +820,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,32 +846,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAndroidAppDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAndroidAppDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAndroidAppDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAndroidAppDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -975,8 +881,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java index da279013..4f92df56 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAndroidAppDataStreamsRequestOrBuilder - extends +public interface ListAndroidAppDataStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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.
@@ -66,14 +39,11 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -83,13 +53,10 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -99,8 +66,8 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java index 496fa13e..467883d4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAndroidDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse} */ -public final class ListAndroidAppDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAndroidAppDataStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) ListAndroidAppDataStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAndroidAppDataStreamsResponse.newBuilder() to construct. - private ListAndroidAppDataStreamsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListAndroidAppDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAndroidAppDataStreamsResponse() { androidAppDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListAndroidAppDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAndroidAppDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAndroidAppDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,40 +55,35 @@ private ListAndroidAppDataStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - androidAppDataStreams_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.AndroidAppDataStream>(); - mutable_bitField0_ |= 0x00000001; - } - androidAppDataStreams_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + androidAppDataStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + androidAppDataStreams_.add( + input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { androidAppDataStreams_ = java.util.Collections.unmodifiableList(androidAppDataStreams_); @@ -115,117 +92,88 @@ private ListAndroidAppDataStreamsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); } public static final int ANDROID_APP_DATA_STREAMS_FIELD_NUMBER = 1; - private java.util.List - androidAppDataStreams_; + private java.util.List androidAppDataStreams_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ @java.lang.Override - public java.util.List - getAndroidAppDataStreamsList() { + public java.util.List getAndroidAppDataStreamsList() { return androidAppDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAndroidAppDataStreamsOrBuilderList() { return androidAppDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ @java.lang.Override public int getAndroidAppDataStreamsCount() { return androidAppDataStreams_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams( - int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index) { return androidAppDataStreams_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( + int index) { return androidAppDataStreams_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -234,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < androidAppDataStreams_.size(); i++) { output.writeMessage(1, androidAppDataStreams_.get(i)); } @@ -295,9 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < androidAppDataStreams_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, androidAppDataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, androidAppDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -310,16 +257,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.ListAndroidAppDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other = - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) obj; - if (!getAndroidAppDataStreamsList().equals(other.getAndroidAppDataStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAndroidAppDataStreamsList() + .equals(other.getAndroidAppDataStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -343,147 +291,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAndroidDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.newBuilder() + // Construct using com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAndroidAppDataStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -499,16 +435,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_ListAndroidAppDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance(); } @java.lang.Override @@ -522,8 +456,7 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse result = - new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (androidAppDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -543,51 +476,46 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance()) return this; if (androidAppDataStreamsBuilder_ == null) { if (!other.androidAppDataStreams_.isEmpty()) { if (androidAppDataStreams_.isEmpty()) { @@ -606,10 +534,9 @@ public Builder mergeFrom( androidAppDataStreamsBuilder_ = null; androidAppDataStreams_ = other.androidAppDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - androidAppDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAndroidAppDataStreamsFieldBuilder() - : null; + androidAppDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAndroidAppDataStreamsFieldBuilder() : null; } else { androidAppDataStreamsBuilder_.addAllMessages(other.androidAppDataStreams_); } @@ -638,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,40 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - androidAppDataStreams_ = java.util.Collections.emptyList(); - + private java.util.List androidAppDataStreams_ = + java.util.Collections.emptyList(); private void ensureAndroidAppDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - androidAppDataStreams_ = - new java.util.ArrayList( - androidAppDataStreams_); + androidAppDataStreams_ = new java.util.ArrayList(androidAppDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> - androidAppDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamsBuilder_; /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public java.util.List - getAndroidAppDataStreamsList() { + public java.util.List getAndroidAppDataStreamsList() { if (androidAppDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(androidAppDataStreams_); } else { @@ -690,15 +603,11 @@ private void ensureAndroidAppDataStreamsIsMutable() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public int getAndroidAppDataStreamsCount() { if (androidAppDataStreamsBuilder_ == null) { @@ -708,18 +617,13 @@ public int getAndroidAppDataStreamsCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams( - int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index) { if (androidAppDataStreamsBuilder_ == null) { return androidAppDataStreams_.get(index); } else { @@ -727,15 +631,11 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppData } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder setAndroidAppDataStreams( int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { @@ -752,19 +652,14 @@ public Builder setAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder setAndroidAppDataStreams( - int index, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); androidAppDataStreams_.set(index, builderForValue.build()); @@ -775,18 +670,13 @@ public Builder setAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public Builder addAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder addAndroidAppDataStreams(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -800,15 +690,11 @@ public Builder addAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder addAndroidAppDataStreams( int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { @@ -825,15 +711,11 @@ public Builder addAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder addAndroidAppDataStreams( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -847,19 +729,14 @@ public Builder addAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder addAndroidAppDataStreams( - int index, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); androidAppDataStreams_.add(index, builderForValue.build()); @@ -870,22 +747,18 @@ public Builder addAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder addAllAndroidAppDataStreams( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, androidAppDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, androidAppDataStreams_); onChanged(); } else { androidAppDataStreamsBuilder_.addAllMessages(values); @@ -893,15 +766,11 @@ public Builder addAllAndroidAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder clearAndroidAppDataStreams() { if (androidAppDataStreamsBuilder_ == null) { @@ -914,15 +783,11 @@ public Builder clearAndroidAppDataStreams() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ public Builder removeAndroidAppDataStreams(int index) { if (androidAppDataStreamsBuilder_ == null) { @@ -935,53 +800,39 @@ public Builder removeAndroidAppDataStreams(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder - getAndroidAppDataStreamsBuilder(int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamsBuilder( + int index) { return getAndroidAppDataStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( + int index) { if (androidAppDataStreamsBuilder_ == null) { - return androidAppDataStreams_.get(index); - } else { + return androidAppDataStreams_.get(index); } else { return androidAppDataStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> - getAndroidAppDataStreamsOrBuilderList() { + public java.util.List + getAndroidAppDataStreamsOrBuilderList() { if (androidAppDataStreamsBuilder_ != null) { return androidAppDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -989,65 +840,45 @@ public Builder removeAndroidAppDataStreams(int index) { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder - addAndroidAppDataStreamsBuilder() { - return getAndroidAppDataStreamsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder addAndroidAppDataStreamsBuilder() { + return getAndroidAppDataStreamsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder - addAndroidAppDataStreamsBuilder(int index) { - return getAndroidAppDataStreamsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder addAndroidAppDataStreamsBuilder( + int index) { + return getAndroidAppDataStreamsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - public java.util.List - getAndroidAppDataStreamsBuilderList() { + public java.util.List + getAndroidAppDataStreamsBuilderList() { return getAndroidAppDataStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamsFieldBuilder() { if (androidAppDataStreamsBuilder_ == null) { - androidAppDataStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + androidAppDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( androidAppDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1059,21 +890,19 @@ public Builder removeAndroidAppDataStreams(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1082,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1105,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1179,32 +1000,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAndroidAppDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAndroidAppDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAndroidAppDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAndroidAppDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1216,8 +1035,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java index 1fbdc3b8..1530ab32 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAndroidAppDataStreamsResponseOrBuilder - extends +public interface ListAndroidAppDataStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - java.util.List + java.util.List getAndroidAppDataStreamsList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ int getAndroidAppDataStreamsCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - java.util.List + java.util.List getAndroidAppDataStreamsOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamsOrBuilder(int index); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java index b1fad686..e0da740a 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConversionEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,73 +54,64 @@ private ListConversionEventsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -146,32 +120,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -182,8 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -191,7 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,8 +171,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -212,7 +179,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -238,15 +203,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -255,7 +221,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -290,7 +256,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -303,17 +270,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = - (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -337,127 +306,117 @@ 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() @@ -465,15 +424,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +447,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance(); } @@ -509,8 +468,7 @@ 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); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -522,39 +480,38 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -562,9 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEventsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -595,9 +550,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,23 +562,19 @@ public Builder mergeFrom( 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; @@ -634,24 +583,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -659,79 +605,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -739,7 +670,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -747,8 +677,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -756,19 +684,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -776,11 +701,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -788,8 +712,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +720,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; @@ -813,8 +735,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -823,14 +743,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -838,8 +759,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -848,22 +767,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -872,18 +789,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -892,23 +806,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -918,32 +832,30 @@ 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 { - return new ListConversionEventsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversionEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,8 +867,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java index be1919e5..9cc8ee2f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsRequestOrBuilder - extends +public interface ListConversionEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -64,14 +37,11 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java index f79c43f2..f1e6ec2b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConversionEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListConversionEventsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - conversionEvents_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.ConversionEvent.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversionEvents_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + conversionEvents_.add( + input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -113,27 +92,22 @@ private ListConversionEventsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List conversionEvents_; /** - * - * *
    * The requested conversion events
    * 
@@ -141,13 +115,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List - getConversionEventsList() { + public java.util.List getConversionEventsList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -155,13 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversionEventsOrBuilderList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -173,8 +142,6 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** - * - * *
    * The requested conversion events
    * 
@@ -186,8 +153,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in return conversionEvents_.get(index); } /** - * - * *
    * The requested conversion events
    * 
@@ -203,15 +168,12 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -220,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -252,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < conversionEvents_.size(); i++) { output.writeMessage(1, conversionEvents_.get(i)); } @@ -281,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, conversionEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = - (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; - if (!getConversionEventsList().equals(other.getConversionEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getConversionEventsList() + .equals(other.getConversionEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +291,117 @@ 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() @@ -455,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConversionEventsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance(); } @@ -503,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,50 +476,46 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -586,10 +534,9 @@ public Builder mergeFrom( conversionEventsBuilder_ = null; conversionEvents_ = other.conversionEvents_; bitField0_ = (bitField0_ & ~0x00000001); - conversionEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConversionEventsFieldBuilder() - : null; + conversionEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConversionEventsFieldBuilder() : null; } else { conversionEventsBuilder_.addAllMessages(other.conversionEvents_); } @@ -618,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,38 +574,28 @@ public Builder mergeFrom( } 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 { @@ -668,8 +603,6 @@ private void ensureConversionEventsIsMutable() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -684,8 +617,6 @@ public int getConversionEventsCount() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -700,8 +631,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in } } /** - * - * *
      * The requested conversion events
      * 
@@ -723,8 +652,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -743,8 +670,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -765,8 +690,6 @@ public Builder addConversionEvents(com.google.analytics.admin.v1alpha.Conversion return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -788,8 +711,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -808,8 +729,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -828,8 +747,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -840,7 +757,8 @@ public Builder addAllConversionEvents( java.lang.Iterable values) { if (conversionEventsBuilder_ == null) { ensureConversionEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conversionEvents_); onChanged(); } else { conversionEventsBuilder_.addAllMessages(values); @@ -848,8 +766,6 @@ public Builder addAllConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -867,8 +783,6 @@ public Builder clearConversionEvents() { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -886,8 +800,6 @@ public Builder removeConversionEvents(int index) { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -899,8 +811,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested conversion events
      * 
@@ -910,22 +820,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsOrBuilder( int index) { if (conversionEventsBuilder_ == null) { - return conversionEvents_.get(index); - } else { + return conversionEvents_.get(index); } else { return conversionEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsOrBuilderList() { + public java.util.List + getConversionEventsOrBuilderList() { if (conversionEventsBuilder_ != null) { return conversionEventsBuilder_.getMessageOrBuilderList(); } else { @@ -933,8 +840,6 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** - * - * *
      * The requested conversion events
      * 
@@ -942,12 +847,10 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder() { - return getConversionEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
@@ -956,35 +859,26 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder( int index) { - return getConversionEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsBuilderList() { + public java.util.List + getConversionEventsBuilderList() { return getConversionEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventsFieldBuilder() { if (conversionEventsBuilder_ == null) { - conversionEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( conversionEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,21 +890,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1019,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1042,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +1000,30 @@ 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 { - return new ListConversionEventsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversionEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1035,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java index ac12d5f6..9600ab69 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsResponseOrBuilder - extends +public interface ListConversionEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List getConversionEventsList(); + java.util.List + getConversionEventsList(); /** - * - * *
    * The requested conversion events
    * 
@@ -44,8 +25,6 @@ public interface ListConversionEventsResponseOrBuilder */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(int index); /** - * - * *
    * The requested conversion events
    * 
@@ -54,19 +33,15 @@ public interface ListConversionEventsResponseOrBuilder */ int getConversionEventsCount(); /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** - * - * *
    * The requested conversion events
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsO int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java index d43ae81a..d3b76507 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCustomDimensionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,63 @@ private ListCustomDimensionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -145,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -189,7 +159,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -210,7 +177,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,15 +185,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -236,15 +201,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -253,7 +219,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -288,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -301,17 +268,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,127 +304,117 @@ 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() @@ -463,15 +422,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +445,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance(); } @@ -507,8 +466,7 @@ 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); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +478,38 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -560,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -593,9 +548,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,22 +560,18 @@ public Builder mergeFrom( 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; @@ -631,23 +580,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -655,76 +601,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -732,7 +663,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -740,8 +670,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -749,19 +677,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -769,11 +694,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,8 +705,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -791,13 +713,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; @@ -806,8 +728,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -816,14 +736,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -831,8 +752,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -841,22 +760,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -865,18 +782,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -885,23 +799,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -911,32 +825,30 @@ 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 { - return new ListCustomDimensionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomDimensionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,8 +860,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java index 1ba10b17..5902d9db 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsRequestOrBuilder - extends +public interface ListCustomDimensionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java index a311bd1b..baa03cb8 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCustomDimensionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListCustomDimensionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customDimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - customDimensions_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.CustomDimension.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customDimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + customDimensions_.add( + input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -113,27 +92,22 @@ private ListCustomDimensionsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List customDimensions_; /** - * - * *
    * List of CustomDimensions.
    * 
@@ -141,13 +115,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List - getCustomDimensionsList() { + public java.util.List getCustomDimensionsList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -155,13 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomDimensionsOrBuilderList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -173,8 +142,6 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -186,8 +153,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in return customDimensions_.get(index); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -203,15 +168,12 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -220,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -252,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customDimensions_.size(); i++) { output.writeMessage(1, customDimensions_.get(i)); } @@ -281,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customDimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customDimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customDimensions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; - if (!getCustomDimensionsList().equals(other.getCustomDimensionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomDimensionsList() + .equals(other.getCustomDimensionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +291,117 @@ 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() @@ -455,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCustomDimensionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance(); } @@ -503,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,50 +476,46 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -586,10 +534,9 @@ public Builder mergeFrom( customDimensionsBuilder_ = null; customDimensions_ = other.customDimensions_; bitField0_ = (bitField0_ & ~0x00000001); - customDimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomDimensionsFieldBuilder() - : null; + customDimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomDimensionsFieldBuilder() : null; } else { customDimensionsBuilder_.addAllMessages(other.customDimensions_); } @@ -618,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,38 +574,28 @@ public Builder mergeFrom( } 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 { @@ -668,8 +603,6 @@ private void ensureCustomDimensionsIsMutable() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -684,8 +617,6 @@ public int getCustomDimensionsCount() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -700,8 +631,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -723,8 +652,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -743,8 +670,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -765,8 +690,6 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1alpha.CustomDime return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -788,8 +711,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -808,8 +729,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -828,8 +747,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -840,7 +757,8 @@ public Builder addAllCustomDimensions( java.lang.Iterable values) { if (customDimensionsBuilder_ == null) { ensureCustomDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customDimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customDimensions_); onChanged(); } else { customDimensionsBuilder_.addAllMessages(values); @@ -848,8 +766,6 @@ public Builder addAllCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -867,8 +783,6 @@ public Builder clearCustomDimensions() { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -886,8 +800,6 @@ public Builder removeCustomDimensions(int index) { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -899,8 +811,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -910,22 +820,19 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsOrBuilder( int index) { if (customDimensionsBuilder_ == null) { - return customDimensions_.get(index); - } else { + return customDimensions_.get(index); } else { return customDimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsOrBuilderList() { + public java.util.List + getCustomDimensionsOrBuilderList() { if (customDimensionsBuilder_ != null) { return customDimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -933,8 +840,6 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -942,12 +847,10 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder() { - return getCustomDimensionsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -956,35 +859,26 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder( int index) { - return getCustomDimensionsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsBuilderList() { + public java.util.List + getCustomDimensionsBuilderList() { return getCustomDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionsFieldBuilder() { if (customDimensionsBuilder_ == null) { - customDimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( customDimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,21 +890,19 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1019,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1042,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +1000,30 @@ 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 { - return new ListCustomDimensionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomDimensionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1035,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java index efb6ff0e..ff2551bf 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsResponseOrBuilder - extends +public interface ListCustomDimensionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List getCustomDimensionsList(); + java.util.List + getCustomDimensionsList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomDimensionsResponseOrBuilder */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(int index); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -54,19 +33,15 @@ public interface ListCustomDimensionsResponseOrBuilder */ int getCustomDimensionsCount(); /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsO int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java index e2f267c4..b8e3c54d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCustomMetricsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,63 @@ private ListCustomMetricsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -145,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -189,7 +159,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -210,7 +177,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,15 +185,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -236,15 +201,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -253,7 +219,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -288,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -301,17 +268,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = - (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,127 +304,117 @@ 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() @@ -463,15 +422,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_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 @@ -506,8 +466,7 @@ 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); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -519,39 +478,38 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -559,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -591,8 +548,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,22 +560,18 @@ public Builder mergeFrom( 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; @@ -628,23 +580,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -652,76 +601,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -729,7 +663,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,8 +670,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -746,19 +677,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -766,11 +694,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,8 +705,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -788,13 +713,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; @@ -803,8 +728,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -813,14 +736,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -828,8 +752,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -838,22 +760,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -862,18 +782,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -882,23 +799,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,12 +825,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(); } @@ -922,16 +839,16 @@ 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 { - return new ListCustomMetricsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomMetricsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +863,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java index 6fc7b232..76de44f7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsRequestOrBuilder - extends +public interface ListCustomMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java index ad850f29..11d7f3ab 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCustomMetricsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,38 +55,35 @@ private ListCustomMetricsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customMetrics_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - customMetrics_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customMetrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + customMetrics_.add( + input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -112,27 +92,22 @@ private ListCustomMetricsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List customMetrics_; /** - * - * *
    * List of CustomMetrics.
    * 
@@ -144,8 +119,6 @@ public java.util.List getCustom return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -153,13 +126,11 @@ public java.util.List getCustom * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomMetricsOrBuilderList() { return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -171,8 +142,6 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -184,8 +153,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde return customMetrics_.get(index); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -201,15 +168,12 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -218,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -279,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customMetrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customMetrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customMetrics_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = - (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; - if (!getCustomMetricsList().equals(other.getCustomMetricsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomMetricsList() + .equals(other.getCustomMetricsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +291,117 @@ 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() @@ -453,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCustomMetricsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance(); } @@ -501,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -562,9 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) return this; if (customMetricsBuilder_ == null) { if (!other.customMetrics_.isEmpty()) { if (customMetrics_.isEmpty()) { @@ -583,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRes customMetricsBuilder_ = null; customMetrics_ = other.customMetrics_; bitField0_ = (bitField0_ & ~0x00000001); - customMetricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomMetricsFieldBuilder() - : null; + customMetricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomMetricsFieldBuilder() : null; } else { customMetricsBuilder_.addAllMessages(other.customMetrics_); } @@ -615,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,30 +574,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -663,8 +603,6 @@ public java.util.List getCustom } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -679,8 +617,6 @@ public int getCustomMetricsCount() { } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -695,8 +631,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -718,8 +652,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -738,8 +670,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -760,8 +690,6 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -783,8 +711,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -803,8 +729,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -823,8 +747,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -835,7 +757,8 @@ public Builder addAllCustomMetrics( java.lang.Iterable values) { if (customMetricsBuilder_ == null) { ensureCustomMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customMetrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customMetrics_); onChanged(); } else { customMetricsBuilder_.addAllMessages(values); @@ -843,8 +766,6 @@ public Builder addAllCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -862,8 +783,6 @@ public Builder clearCustomMetrics() { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -881,8 +800,6 @@ public Builder removeCustomMetrics(int index) { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -894,8 +811,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB return getCustomMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -905,22 +820,19 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( int index) { if (customMetricsBuilder_ == null) { - return customMetrics_.get(index); - } else { + return customMetrics_.get(index); } else { return customMetricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsOrBuilderList() { + public java.util.List + getCustomMetricsOrBuilderList() { if (customMetricsBuilder_ != null) { return customMetricsBuilder_.getMessageOrBuilderList(); } else { @@ -928,8 +840,6 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -937,12 +847,10 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder() { - return getCustomMetricsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -951,34 +859,26 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder( int index) { - return getCustomMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsBuilderList() { + public java.util.List + getCustomMetricsBuilderList() { return getCustomMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricsFieldBuilder() { if (customMetricsBuilder_ == null) { - customMetricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + customMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( customMetrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,21 +890,19 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1013,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1036,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1110,13 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) - private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(); } @@ -1125,16 +1014,16 @@ 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 { - return new ListCustomMetricsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomMetricsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1149,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java index e50c688f..e8860cae 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsResponseOrBuilder - extends +public interface ListCustomMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List getCustomMetricsList(); + java.util.List + getCustomMetricsList(); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomMetricsResponseOrBuilder */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int index); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -54,51 +33,43 @@ public interface ListCustomMetricsResponseOrBuilder */ int getCustomMetricsCount(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder(int index); + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java new file mode 100644 index 00000000..d8aedb89 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java @@ -0,0 +1,868 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) + ListDataStreamsRequestOrBuilder { +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_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListDataStreamsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListDataStreamsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * The maximum number of resources to return.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200 (higher values will be coerced to the maximum).
+   * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * A page token, received from a previous `ListDataStreams` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListDataStreams` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * A page token, received from a previous `ListDataStreams` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListDataStreams` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsRequest)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.ListDataStreamsRequest 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 ListDataStreams RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListDataStreamsRequest build() { + com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + 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.ListDataStreamsRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ListDataStreamsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * A page token, received from a previous `ListDataStreams` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListDataStreams` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A page token, received from a previous `ListDataStreams` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListDataStreams` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A page token, received from a previous `ListDataStreams` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListDataStreams` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A page token, received from a previous `ListDataStreams` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListDataStreams` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * A page token, received from a previous `ListDataStreams` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListDataStreams` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + 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.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(); + } + + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefaultInstance() { + 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 { + return new ListDataStreamsRequest(input, extensionRegistry); + } + }; + + 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.ListDataStreamsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java new file mode 100644 index 00000000..2f629aed --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface 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) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: properties/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * The maximum number of resources to return.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200 (higher values will be coerced to the maximum).
+   * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * A page token, received from a previous `ListDataStreams` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListDataStreams` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * A page token, received from a previous `ListDataStreams` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListDataStreams` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java new file mode 100644 index 00000000..9a73ce1d --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java @@ -0,0 +1,1043 @@ +// 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) + ListDataStreamsResponseOrBuilder { +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_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListDataStreamsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListDataStreamsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dataStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dataStreams_.add( + input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + 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 + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); + } + + public static final int DATA_STREAMS_FIELD_NUMBER = 1; + private java.util.List dataStreams_; + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + @java.lang.Override + public java.util.List getDataStreamsList() { + return dataStreams_; + } + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + @java.lang.Override + public java.util.List + getDataStreamsOrBuilderList() { + return dataStreams_; + } + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + @java.lang.Override + public int getDataStreamsCount() { + return dataStreams_.size(); + } + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { + return dataStreams_.get(index); + } + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( + int index) { + return dataStreams_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < dataStreams_.size(); i++) { + output.writeMessage(1, dataStreams_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < dataStreams_.size(); 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_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsResponse)) { + return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDataStreamsCount() > 0) { + hash = (37 * hash) + DATA_STREAMS_FIELD_NUMBER; + hash = (53 * hash) + getDataStreamsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.ListDataStreamsResponse 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 ListDataStreams RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDataStreamsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dataStreamsBuilder_ == null) { + dataStreams_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dataStreamsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse build() { + com.google.analytics.admin.v1alpha.ListDataStreamsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + int from_bitField0_ = bitField0_; + if (dataStreamsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dataStreams_ = dataStreams_; + } else { + result.dataStreams_ = dataStreamsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + 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.ListDataStreamsResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance()) return this; + if (dataStreamsBuilder_ == null) { + if (!other.dataStreams_.isEmpty()) { + if (dataStreams_.isEmpty()) { + dataStreams_ = other.dataStreams_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDataStreamsIsMutable(); + dataStreams_.addAll(other.dataStreams_); + } + onChanged(); + } + } else { + if (!other.dataStreams_.isEmpty()) { + if (dataStreamsBuilder_.isEmpty()) { + dataStreamsBuilder_.dispose(); + dataStreamsBuilder_ = null; + dataStreams_ = other.dataStreams_; + bitField0_ = (bitField0_ & ~0x00000001); + dataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataStreamsFieldBuilder() : null; + } else { + dataStreamsBuilder_.addAllMessages(other.dataStreams_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ListDataStreamsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List dataStreams_ = + java.util.Collections.emptyList(); + private void ensureDataStreamsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + 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_; + + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public java.util.List getDataStreamsList() { + if (dataStreamsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dataStreams_); + } else { + return dataStreamsBuilder_.getMessageList(); + } + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public int getDataStreamsCount() { + if (dataStreamsBuilder_ == null) { + return dataStreams_.size(); + } else { + return dataStreamsBuilder_.getCount(); + } + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { + if (dataStreamsBuilder_ == null) { + return dataStreams_.get(index); + } else { + return dataStreamsBuilder_.getMessage(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) { + if (dataStreamsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataStreamsIsMutable(); + dataStreams_.set(index, value); + onChanged(); + } else { + dataStreamsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder setDataStreams( + int index, com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.set(index, builderForValue.build()); + onChanged(); + } else { + dataStreamsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder addDataStreams(com.google.analytics.admin.v1alpha.DataStream value) { + if (dataStreamsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataStreamsIsMutable(); + dataStreams_.add(value); + onChanged(); + } else { + dataStreamsBuilder_.addMessage(value); + } + 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) { + if (dataStreamsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataStreamsIsMutable(); + dataStreams_.add(index, value); + onChanged(); + } else { + dataStreamsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder addDataStreams( + com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(builderForValue.build()); + onChanged(); + } else { + dataStreamsBuilder_.addMessage(builderForValue.build()); + } + 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.Builder builderForValue) { + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(index, builderForValue.build()); + onChanged(); + } else { + dataStreamsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder addAllDataStreams( + java.lang.Iterable values) { + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataStreams_); + onChanged(); + } else { + dataStreamsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder clearDataStreams() { + if (dataStreamsBuilder_ == null) { + dataStreams_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dataStreamsBuilder_.clear(); + } + return this; + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public Builder removeDataStreams(int index) { + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.remove(index); + onChanged(); + } else { + dataStreamsBuilder_.remove(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) { + return getDataStreamsFieldBuilder().getBuilder(index); + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( + int index) { + if (dataStreamsBuilder_ == null) { + 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() { + if (dataStreamsBuilder_ != null) { + return dataStreamsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dataStreams_); + } + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * 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()); + } + /** + *
+     * 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()); + } + /** + *
+     * List of DataStreams.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + 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> + 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()); + dataStreams_ = null; + } + return dataStreamsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + 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.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(); + } + + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefaultInstance() { + 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 { + return new ListDataStreamsResponse(input, extensionRegistry); + } + }; + + 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.ListDataStreamsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java new file mode 100644 index 00000000..d2b8f8a0 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface 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(); + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index); + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + int getDataStreamsCount(); + /** + *
+   * List of DataStreams.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + 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); + + /** + *
+   * A token, which can be sent as `page_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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java index 7cfe276e..b54412a3 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java @@ -1,45 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinkProposalsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinkProposalsRequest() { parent_ = ""; pageToken_ = ""; @@ -47,15 +26,16 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDisplayVideo360AdvertiserLinkProposalsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,74 +54,63 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -150,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -185,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -194,7 +159,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -205,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -217,7 +179,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -226,15 +187,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -245,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -262,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -297,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -310,19 +272,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -345,156 +307,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -508,23 +449,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = - buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -532,11 +469,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest( - this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -548,55 +482,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -623,14 +548,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,22 +564,18 @@ public Builder mergeFrom( 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; @@ -666,23 +584,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -690,76 +605,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -767,7 +667,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -775,8 +674,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -784,19 +681,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -804,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -816,8 +709,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -828,13 +719,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; @@ -843,8 +734,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -855,14 +744,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -870,8 +760,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -882,22 +770,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -908,18 +794,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -930,23 +813,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,52 +839,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - private static final com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser< - ListDisplayVideo360AdvertiserLinkProposalsRequest>() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDisplayVideo360AdvertiserLinkProposalsRequest( - input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinkProposalsRequest(input, extensionRegistry); + } + }; - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java index 6710652a..967db0f3 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -80,13 +50,10 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -97,8 +64,8 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java index a86bc06e..2326688c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java @@ -1,45 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinkProposalsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinkProposalsResponse() { displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -47,15 +26,16 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDisplayVideo360AdvertiserLinkProposalsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,165 +55,125 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>(); - mutable_bitField0_ |= 0x00000001; - } - displayVideo360AdvertiserLinkProposals_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + displayVideo360AdvertiserLinkProposals_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + displayVideo360AdvertiserLinkProposals_.add( + input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = - java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; - private java.util.List - displayVideo360AdvertiserLinkProposals_; + private java.util.List displayVideo360AdvertiserLinkProposals_; /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { return displayVideo360AdvertiserLinkProposals_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + public java.util.List getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { return displayVideo360AdvertiserLinkProposals_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override public int getDisplayVideo360AdvertiserLinkProposalsCount() { return displayVideo360AdvertiserLinkProposals_.size(); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { return displayVideo360AdvertiserLinkProposals_.get(index); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + int index) { return displayVideo360AdvertiserLinkProposals_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -242,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -274,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinkProposals_.get(i)); } @@ -303,9 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, displayVideo360AdvertiserLinkProposals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, displayVideo360AdvertiserLinkProposals_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -318,19 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; if (!getDisplayVideo360AdvertiserLinkProposalsList() .equals(other.getDisplayVideo360AdvertiserLinkProposalsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -353,170 +290,136 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDisplayVideo360AdvertiserLinkProposalsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,23 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = - buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -556,22 +455,17 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse( - this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(this); int from_bitField0_ = bitField0_; 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(); } result.nextPageToken_ = nextPageToken_; onBuilt(); @@ -582,55 +476,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -638,8 +523,7 @@ public Builder mergeFrom( bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.addAll( - other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_.addAll(other.displayVideo360AdvertiserLinkProposals_); } onChanged(); } @@ -650,13 +534,11 @@ public Builder mergeFrom( displayVideo360AdvertiserLinkProposalsBuilder_ = null; displayVideo360AdvertiserLinkProposals_ = other.displayVideo360AdvertiserLinkProposals_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinkProposalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - : null; + displayVideo360AdvertiserLinkProposalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() : null; } else { - displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages( - other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages(other.displayVideo360AdvertiserLinkProposals_); } } } @@ -679,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -695,41 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); - + private java.util.List displayVideo360AdvertiserLinkProposals_ = + java.util.Collections.emptyList(); private void ensureDisplayVideo360AdvertiserLinkProposalsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = new java.util.ArrayList(displayVideo360AdvertiserLinkProposals_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - displayVideo360AdvertiserLinkProposalsBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalsBuilder_; /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); } else { @@ -737,15 +603,11 @@ private void ensureDisplayVideo360AdvertiserLinkProposalsIsMutable() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public int getDisplayVideo360AdvertiserLinkProposalsCount() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -755,18 +617,13 @@ public int getDisplayVideo360AdvertiserLinkProposalsCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return displayVideo360AdvertiserLinkProposals_.get(index); } else { @@ -774,15 +631,11 @@ public int getDisplayVideo360AdvertiserLinkProposalsCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder setDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -799,20 +652,14 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder setDisplayVideo360AdvertiserLinkProposals( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.set(index, builderForValue.build()); @@ -823,18 +670,13 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public Builder addDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder addDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -848,15 +690,11 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -873,19 +711,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(builderForValue.build()); @@ -896,20 +729,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(index, builderForValue.build()); @@ -920,20 +747,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addAllDisplayVideo360AdvertiserLinkProposals( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - values) { + java.lang.Iterable values) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -945,15 +766,11 @@ public Builder addAllDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder clearDisplayVideo360AdvertiserLinkProposals() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -966,15 +783,11 @@ public Builder clearDisplayVideo360AdvertiserLinkProposals() { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -987,54 +800,39 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - getDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalsBuilder( + int index) { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - return displayVideo360AdvertiserLinkProposals_.get(index); - } else { + return displayVideo360AdvertiserLinkProposals_.get(index); } else { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ != null) { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilderList(); } else { @@ -1042,70 +840,45 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - addDisplayVideo360AdvertiserLinkProposalsBuilder() { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder() { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - addDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder( + int index) { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder> - getDisplayVideo360AdvertiserLinkProposalsBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsBuilderList() { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - displayVideo360AdvertiserLinkProposalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + displayVideo360AdvertiserLinkProposalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( displayVideo360AdvertiserLinkProposals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1117,21 +890,19 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1140,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1163,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1237,54 +1000,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - private static final com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); } - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser< - ListDisplayVideo360AdvertiserLinkProposalsResponse> - PARSER = - new com.google.protobuf.AbstractParser< - ListDisplayVideo360AdvertiserLinkProposalsResponse>() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDisplayVideo360AdvertiserLinkProposalsResponse( - input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinkProposalsResponse(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser - parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java new file mode 100644 index 00000000..49cdb9fa --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsList(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + int getDisplayVideo360AdvertiserLinkProposalsCount(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java index f6e338d9..e8b64e2b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ -public final class ListDisplayVideo360AdvertiserLinksRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) ListDisplayVideo360AdvertiserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private ListDisplayVideo360AdvertiserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDisplayVideo360AdvertiserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +54,63 @@ private ListDisplayVideo360AdvertiserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -148,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -183,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -192,7 +159,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -203,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -214,7 +178,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -223,15 +186,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -241,15 +203,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -258,7 +221,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,7 +256,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -306,18 +270,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -340,152 +305,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -499,22 +447,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -522,10 +467,8 @@ 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); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -537,52 +480,46 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -609,14 +546,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,22 +562,18 @@ public Builder mergeFrom( 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; @@ -652,23 +582,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -676,76 +603,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -753,7 +665,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -761,8 +672,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -770,19 +679,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -790,11 +696,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -802,8 +707,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -813,13 +716,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; @@ -828,8 +731,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -839,14 +740,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -854,8 +756,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -865,22 +765,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -890,18 +788,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -911,23 +806,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -937,34 +832,30 @@ 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 { - return new ListDisplayVideo360AdvertiserLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,8 +867,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java index 6156500d..d782e5a6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java similarity index 59% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java index d1693e3b..9c102916 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ -public final class ListDisplayVideo360AdvertiserLinksResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) ListDisplayVideo360AdvertiserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinksResponse() { displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListDisplayVideo360AdvertiserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDisplayVideo360AdvertiserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,162 +55,125 @@ private ListDisplayVideo360AdvertiserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>(); - mutable_bitField0_ |= 0x00000001; - } - displayVideo360AdvertiserLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + displayVideo360AdvertiserLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + displayVideo360AdvertiserLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = - java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; - private java.util.List - displayVideo360AdvertiserLinks_; + private java.util.List displayVideo360AdvertiserLinks_; /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public java.util.List - getDisplayVideo360AdvertiserLinksList() { + public java.util.List getDisplayVideo360AdvertiserLinksList() { return displayVideo360AdvertiserLinks_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + public java.util.List getDisplayVideo360AdvertiserLinksOrBuilderList() { return displayVideo360AdvertiserLinks_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override public int getDisplayVideo360AdvertiserLinksCount() { return displayVideo360AdvertiserLinks_.size(); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { return displayVideo360AdvertiserLinks_.get(index); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + int index) { return displayVideo360AdvertiserLinks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -238,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -270,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinks_.get(i)); } @@ -299,9 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, displayVideo360AdvertiserLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, displayVideo360AdvertiserLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -314,18 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; if (!getDisplayVideo360AdvertiserLinksList() .equals(other.getDisplayVideo360AdvertiserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -348,154 +290,136 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDisplayVideo360AdvertiserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -511,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -534,15 +455,12 @@ 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); int from_bitField0_ = bitField0_; 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_; @@ -558,53 +476,46 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -623,13 +534,11 @@ public Builder mergeFrom( displayVideo360AdvertiserLinksBuilder_ = null; displayVideo360AdvertiserLinks_ = other.displayVideo360AdvertiserLinks_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDisplayVideo360AdvertiserLinksFieldBuilder() - : null; + displayVideo360AdvertiserLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDisplayVideo360AdvertiserLinksFieldBuilder() : null; } else { - displayVideo360AdvertiserLinksBuilder_.addAllMessages( - other.displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinksBuilder_.addAllMessages(other.displayVideo360AdvertiserLinks_); } } } @@ -652,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parsedMessage = - null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,41 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); - + private java.util.List displayVideo360AdvertiserLinks_ = + java.util.Collections.emptyList(); private void ensureDisplayVideo360AdvertiserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = new java.util.ArrayList(displayVideo360AdvertiserLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinksBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinksBuilder_; /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinksList() { + public java.util.List getDisplayVideo360AdvertiserLinksList() { if (displayVideo360AdvertiserLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); } else { @@ -710,15 +603,11 @@ private void ensureDisplayVideo360AdvertiserLinksIsMutable() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public int getDisplayVideo360AdvertiserLinksCount() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -728,18 +617,13 @@ public int getDisplayVideo360AdvertiserLinksCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { return displayVideo360AdvertiserLinks_.get(index); } else { @@ -747,15 +631,11 @@ public int getDisplayVideo360AdvertiserLinksCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder setDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -772,19 +652,14 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder setDisplayVideo360AdvertiserLinks( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.set(index, builderForValue.build()); @@ -795,18 +670,13 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public Builder addDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder addDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -820,15 +690,11 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -845,15 +711,11 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -867,19 +729,14 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.add(index, builderForValue.build()); @@ -890,20 +747,14 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addAllDisplayVideo360AdvertiserLinks( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - values) { + java.lang.Iterable values) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -915,15 +766,11 @@ public Builder addAllDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder clearDisplayVideo360AdvertiserLinks() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -936,15 +783,11 @@ public Builder clearDisplayVideo360AdvertiserLinks() { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder removeDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -957,53 +800,39 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinksBuilder( + int index) { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { - return displayVideo360AdvertiserLinks_.get(index); - } else { + return displayVideo360AdvertiserLinks_.get(index); } else { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - getDisplayVideo360AdvertiserLinksOrBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinksOrBuilderList() { if (displayVideo360AdvertiserLinksBuilder_ != null) { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilderList(); } else { @@ -1011,69 +840,45 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - addDisplayVideo360AdvertiserLinksBuilder() { - return getDisplayVideo360AdvertiserLinksFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder() { + return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - addDisplayVideo360AdvertiserLinksBuilder(int index) { - return getDisplayVideo360AdvertiserLinksFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder( + int index) { + return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinksBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinksBuilderList() { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksFieldBuilder() { if (displayVideo360AdvertiserLinksBuilder_ == null) { - displayVideo360AdvertiserLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + displayVideo360AdvertiserLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( displayVideo360AdvertiserLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1085,21 +890,19 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1108,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1131,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,34 +1000,30 @@ 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 { - return new ListDisplayVideo360AdvertiserLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,8 +1035,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java similarity index 50% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java index cafddafd..a1d80dfd 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java @@ -1,118 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - java.util.List + java.util.List getDisplayVideo360AdvertiserLinksList(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ int getDisplayVideo360AdvertiserLinksCount(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + java.util.List getDisplayVideo360AdvertiserLinksOrBuilderList(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 373726d9..90580198 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFirebaseLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,73 +54,64 @@ private ListFirebaseLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -146,32 +120,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -182,8 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -192,7 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -203,8 +172,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -213,7 +180,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -239,15 +204,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -291,7 +257,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -304,17 +271,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,127 +307,117 @@ 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() @@ -466,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +448,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 @@ -509,8 +469,7 @@ 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); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -522,39 +481,38 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -562,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -594,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,23 +563,19 @@ public Builder mergeFrom( 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; @@ -632,24 +584,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -657,79 +606,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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.
@@ -738,7 +672,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -746,8 +679,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -756,19 +687,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -777,11 +705,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -789,8 +716,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -799,13 +724,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; @@ -814,8 +739,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -824,14 +747,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -839,8 +763,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -849,22 +771,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -873,18 +793,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -893,23 +810,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -919,12 +836,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(); } @@ -933,16 +850,16 @@ 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 { - return new ListFirebaseLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListFirebaseLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,4 +874,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index a8a1e7fe..763cfdd0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksRequestOrBuilder - extends +public interface ListFirebaseLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -65,14 +38,11 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -96,8 +63,8 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java index 3f2910d8..615f2998 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFirebaseLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,38 +55,35 @@ private ListFirebaseLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - firebaseLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + firebaseLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + firebaseLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -112,27 +92,22 @@ private ListFirebaseLinksResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List firebaseLinks_; /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -144,8 +119,6 @@ public java.util.List getFireba return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -153,13 +126,11 @@ public java.util.List getFireba * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFirebaseLinksOrBuilderList() { return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -171,8 +142,6 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -184,8 +153,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde return firebaseLinks_.get(index); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -201,8 +168,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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.
@@ -211,7 +176,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,15 +184,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -237,15 +200,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -283,7 +247,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < firebaseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, firebaseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, firebaseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -296,16 +261,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; - if (!getFirebaseLinksList().equals(other.getFirebaseLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFirebaseLinksList() + .equals(other.getFirebaseLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +295,117 @@ 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() @@ -457,17 +413,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFirebaseLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance(); } @@ -505,8 +460,7 @@ 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); int from_bitField0_ = bitField0_; if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +480,38 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -566,9 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) return this; if (firebaseLinksBuilder_ == null) { if (!other.firebaseLinks_.isEmpty()) { if (firebaseLinks_.isEmpty()) { @@ -587,10 +538,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRes firebaseLinksBuilder_ = null; firebaseLinks_ = other.firebaseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - firebaseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFirebaseLinksFieldBuilder() - : null; + firebaseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFirebaseLinksFieldBuilder() : null; } else { firebaseLinksBuilder_.addAllMessages(other.firebaseLinks_); } @@ -619,8 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,30 +578,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -667,8 +607,6 @@ public java.util.List getFireba } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -683,8 +621,6 @@ public int getFirebaseLinksCount() { } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -699,8 +635,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -722,8 +656,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -742,8 +674,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -764,8 +694,6 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -787,8 +715,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -807,8 +733,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -827,8 +751,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -839,7 +761,8 @@ public Builder addAllFirebaseLinks( java.lang.Iterable values) { if (firebaseLinksBuilder_ == null) { ensureFirebaseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firebaseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, firebaseLinks_); onChanged(); } else { firebaseLinksBuilder_.addAllMessages(values); @@ -847,8 +770,6 @@ public Builder addAllFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -866,8 +787,6 @@ public Builder clearFirebaseLinks() { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -885,8 +804,6 @@ public Builder removeFirebaseLinks(int index) { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -898,8 +815,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB return getFirebaseLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -909,22 +824,19 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( int index) { if (firebaseLinksBuilder_ == null) { - return firebaseLinks_.get(index); - } else { + return firebaseLinks_.get(index); } else { return firebaseLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksOrBuilderList() { + public java.util.List + getFirebaseLinksOrBuilderList() { if (firebaseLinksBuilder_ != null) { return firebaseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -932,8 +844,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -941,12 +851,10 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder() { - return getFirebaseLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -955,34 +863,26 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder( int index) { - return getFirebaseLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksBuilderList() { + public java.util.List + getFirebaseLinksBuilderList() { return getFirebaseLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinksFieldBuilder() { if (firebaseLinksBuilder_ == null) { - firebaseLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + firebaseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( firebaseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -994,8 +894,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
@@ -1004,13 +902,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; @@ -1019,8 +917,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
@@ -1029,14 +925,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1044,8 +941,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
@@ -1054,22 +949,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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.
@@ -1078,18 +971,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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.
@@ -1098,23 +988,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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1124,13 +1014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(); } @@ -1139,16 +1028,16 @@ 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 { - return new ListFirebaseLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListFirebaseLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,4 +1052,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java index 5d4f40ac..722688cc 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksResponseOrBuilder - extends +public interface ListFirebaseLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List getFirebaseLinksList(); + java.util.List + getFirebaseLinksList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -44,8 +25,6 @@ public interface ListFirebaseLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int index); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -54,30 +33,25 @@ public interface ListFirebaseLinksResponseOrBuilder */ int getFirebaseLinksCount(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -86,13 +60,10 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -101,8 +72,8 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java index f09a81dd..dc300ef0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGoogleAdsLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,63 @@ private ListGoogleAdsLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -145,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -189,7 +159,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -210,7 +177,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,15 +185,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -236,15 +201,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -253,7 +219,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -288,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -301,17 +268,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,127 +304,117 @@ 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() @@ -463,15 +422,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +445,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance(); } @@ -507,8 +466,7 @@ 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); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +478,38 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -560,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -593,8 +548,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,22 +560,18 @@ public Builder mergeFrom( 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; @@ -630,23 +580,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -654,76 +601,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -731,7 +663,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,8 +670,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -748,19 +677,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -768,11 +694,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -780,8 +705,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -790,13 +713,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; @@ -805,8 +728,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -815,14 +736,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -830,8 +752,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -840,22 +760,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -864,18 +782,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -884,23 +799,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,13 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(); } @@ -925,16 +839,16 @@ 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 { - return new ListGoogleAdsLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListGoogleAdsLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,4 +863,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java index ad692149..2baacd1c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksRequestOrBuilder - extends +public interface ListGoogleAdsLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java index 51e85723..ef94c1df 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGoogleAdsLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListGoogleAdsLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - googleAdsLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + googleAdsLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + googleAdsLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -113,27 +92,22 @@ private ListGoogleAdsLinksResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List googleAdsLinks_; /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -145,8 +119,6 @@ public java.util.List getGoogl return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -154,13 +126,11 @@ public java.util.List getGoogl * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getGoogleAdsLinksOrBuilderList() { return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -172,8 +142,6 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -185,8 +153,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in return googleAdsLinks_.get(index); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -202,15 +168,12 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -219,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -251,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -280,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < googleAdsLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, googleAdsLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, googleAdsLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; - if (!getGoogleAdsLinksList().equals(other.getGoogleAdsLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getGoogleAdsLinksList() + .equals(other.getGoogleAdsLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +291,117 @@ 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() @@ -454,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGoogleAdsLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance(); } @@ -502,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -563,9 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) return this; if (googleAdsLinksBuilder_ == null) { if (!other.googleAdsLinks_.isEmpty()) { if (googleAdsLinks_.isEmpty()) { @@ -584,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRe googleAdsLinksBuilder_ = null; googleAdsLinks_ = other.googleAdsLinks_; bitField0_ = (bitField0_ & ~0x00000001); - googleAdsLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGoogleAdsLinksFieldBuilder() - : null; + googleAdsLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGoogleAdsLinksFieldBuilder() : null; } else { googleAdsLinksBuilder_.addAllMessages(other.googleAdsLinks_); } @@ -616,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,38 +574,28 @@ public Builder mergeFrom( } 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 { @@ -666,8 +603,6 @@ private void ensureGoogleAdsLinksIsMutable() { } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -682,8 +617,6 @@ public int getGoogleAdsLinksCount() { } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -698,8 +631,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -721,8 +652,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -741,8 +670,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -763,8 +690,6 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1alpha.GoogleAdsLin return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -786,8 +711,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -806,8 +729,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -826,8 +747,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -838,7 +757,8 @@ public Builder addAllGoogleAdsLinks( java.lang.Iterable values) { if (googleAdsLinksBuilder_ == null) { ensureGoogleAdsLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleAdsLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, googleAdsLinks_); onChanged(); } else { googleAdsLinksBuilder_.addAllMessages(values); @@ -846,8 +766,6 @@ public Builder addAllGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -865,8 +783,6 @@ public Builder clearGoogleAdsLinks() { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -884,8 +800,6 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -897,8 +811,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -908,22 +820,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( int index) { if (googleAdsLinksBuilder_ == null) { - return googleAdsLinks_.get(index); - } else { + return googleAdsLinks_.get(index); } else { return googleAdsLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksOrBuilderList() { + public java.util.List + getGoogleAdsLinksOrBuilderList() { if (googleAdsLinksBuilder_ != null) { return googleAdsLinksBuilder_.getMessageOrBuilderList(); } else { @@ -931,8 +840,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -940,12 +847,10 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder() { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -954,34 +859,26 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder( int index) { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksBuilderList() { + public java.util.List + getGoogleAdsLinksBuilderList() { return getGoogleAdsLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinksFieldBuilder() { if (googleAdsLinksBuilder_ == null) { - googleAdsLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + googleAdsLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( googleAdsLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -993,21 +890,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1016,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1039,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1113,13 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(); } @@ -1128,16 +1014,16 @@ 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 { - return new ListGoogleAdsLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListGoogleAdsLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java index 928e5d44..00d5f252 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksResponseOrBuilder - extends +public interface ListGoogleAdsLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List getGoogleAdsLinksList(); + java.util.List + getGoogleAdsLinksList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -44,8 +25,6 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int index); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -54,51 +33,43 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ int getGoogleAdsLinksCount(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java index 8896ab66..beed6279 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListIosAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest} */ -public final class ListIosAppDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIosAppDataStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) ListIosAppDataStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIosAppDataStreamsRequest.newBuilder() to construct. private ListIosAppDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIosAppDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListIosAppDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIosAppDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListIosAppDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,74 +54,65 @@ private ListIosAppDataStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 @@ -147,33 +121,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -193,7 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -204,8 +173,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -214,7 +181,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -223,15 +189,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -240,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -257,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -305,17 +272,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.ListIosAppDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other = - (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,127 +308,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListIosAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.newBuilder() @@ -467,15 +426,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,14 +449,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance(); } @@ -511,8 +470,7 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest result = - new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -524,50 +482,46 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -598,9 +552,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,24 +564,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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; @@ -638,25 +586,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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 { @@ -664,82 +609,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -747,7 +677,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -755,8 +684,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -764,19 +691,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -784,11 +708,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -796,8 +719,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -806,13 +727,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; @@ -821,8 +742,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -831,14 +750,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -846,8 +766,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -856,22 +774,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -880,18 +796,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -900,23 +813,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -926,32 +839,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIosAppDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIosAppDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIosAppDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListIosAppDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -963,8 +874,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java index faf69882..00fa17c9 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListIosAppDataStreamsRequestOrBuilder - extends +public interface ListIosAppDataStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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.
@@ -66,14 +39,11 @@ public interface ListIosAppDataStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -82,13 +52,10 @@ public interface ListIosAppDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -97,8 +64,8 @@ public interface ListIosAppDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java index 21fd88de..5a245041 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListIosAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse} */ -public final class ListIosAppDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIosAppDataStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) ListIosAppDataStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIosAppDataStreamsResponse.newBuilder() to construct. private ListIosAppDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIosAppDataStreamsResponse() { iosAppDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListIosAppDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIosAppDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListIosAppDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListIosAppDataStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - iosAppDataStreams_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - iosAppDataStreams_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + iosAppDataStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + iosAppDataStreams_.add( + input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { iosAppDataStreams_ = java.util.Collections.unmodifiableList(iosAppDataStreams_); @@ -113,91 +92,72 @@ private ListIosAppDataStreamsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); } public static final int IOS_APP_DATA_STREAMS_FIELD_NUMBER = 1; private java.util.List iosAppDataStreams_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ @java.lang.Override - public java.util.List - getIosAppDataStreamsList() { + public java.util.List getIosAppDataStreamsList() { return iosAppDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIosAppDataStreamsOrBuilderList() { return iosAppDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ @java.lang.Override public int getIosAppDataStreamsCount() { return iosAppDataStreams_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index) { return iosAppDataStreams_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( @@ -208,15 +168,12 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -225,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -257,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < iosAppDataStreams_.size(); i++) { output.writeMessage(1, iosAppDataStreams_.get(i)); } @@ -286,8 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < iosAppDataStreams_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, iosAppDataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, iosAppDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +257,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.ListIosAppDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other = - (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) obj; - if (!getIosAppDataStreamsList().equals(other.getIosAppDataStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getIosAppDataStreamsList() + .equals(other.getIosAppDataStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +291,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListIosAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.newBuilder() @@ -461,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIosAppDataStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance(); } @@ -509,8 +456,7 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse result = - new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (iosAppDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,50 +476,46 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance()) return this; if (iosAppDataStreamsBuilder_ == null) { if (!other.iosAppDataStreams_.isEmpty()) { if (iosAppDataStreams_.isEmpty()) { @@ -592,10 +534,9 @@ public Builder mergeFrom( iosAppDataStreamsBuilder_ = null; iosAppDataStreams_ = other.iosAppDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - iosAppDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIosAppDataStreamsFieldBuilder() - : null; + iosAppDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIosAppDataStreamsFieldBuilder() : null; } else { iosAppDataStreamsBuilder_.addAllMessages(other.iosAppDataStreams_); } @@ -624,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -635,39 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List iosAppDataStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIosAppDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - iosAppDataStreams_ = - new java.util.ArrayList( - iosAppDataStreams_); + iosAppDataStreams_ = new java.util.ArrayList(iosAppDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> - iosAppDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamsBuilder_; /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - public java.util.List - getIosAppDataStreamsList() { + public java.util.List getIosAppDataStreamsList() { if (iosAppDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(iosAppDataStreams_); } else { @@ -675,14 +603,11 @@ private void ensureIosAppDataStreamsIsMutable() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public int getIosAppDataStreamsCount() { if (iosAppDataStreamsBuilder_ == null) { @@ -692,14 +617,11 @@ public int getIosAppDataStreamsCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index) { if (iosAppDataStreamsBuilder_ == null) { @@ -709,14 +631,11 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams( } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder setIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream value) { @@ -733,14 +652,11 @@ public Builder setIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder setIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -754,14 +670,11 @@ public Builder setIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder addIosAppDataStreams(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamsBuilder_ == null) { @@ -777,14 +690,11 @@ public Builder addIosAppDataStreams(com.google.analytics.admin.v1alpha.IosAppDat return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder addIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream value) { @@ -801,14 +711,11 @@ public Builder addIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder addIosAppDataStreams( com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -822,14 +729,11 @@ public Builder addIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder addIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -843,20 +747,18 @@ public Builder addIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder addAllIosAppDataStreams( java.lang.Iterable values) { if (iosAppDataStreamsBuilder_ == null) { ensureIosAppDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iosAppDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, iosAppDataStreams_); onChanged(); } else { iosAppDataStreamsBuilder_.addAllMessages(values); @@ -864,14 +766,11 @@ public Builder addAllIosAppDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder clearIosAppDataStreams() { if (iosAppDataStreamsBuilder_ == null) { @@ -884,14 +783,11 @@ public Builder clearIosAppDataStreams() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public Builder removeIosAppDataStreams(int index) { if (iosAppDataStreamsBuilder_ == null) { @@ -904,49 +800,39 @@ public Builder removeIosAppDataStreams(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamsBuilder( int index) { return getIosAppDataStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder - getIosAppDataStreamsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( + int index) { if (iosAppDataStreamsBuilder_ == null) { - return iosAppDataStreams_.get(index); - } else { + return iosAppDataStreams_.get(index); } else { return iosAppDataStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - public java.util.List - getIosAppDataStreamsOrBuilderList() { + public java.util.List + getIosAppDataStreamsOrBuilderList() { if (iosAppDataStreamsBuilder_ != null) { return iosAppDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -954,62 +840,45 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppData } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder - addIosAppDataStreamsBuilder() { - return getIosAppDataStreamsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppDataStreamsBuilder() { + return getIosAppDataStreamsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppDataStreamsBuilder( int index) { - return getIosAppDataStreamsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); + return getIosAppDataStreamsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - public java.util.List - getIosAppDataStreamsBuilderList() { + public java.util.List + getIosAppDataStreamsBuilderList() { return getIosAppDataStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamsFieldBuilder() { if (iosAppDataStreamsBuilder_ == null) { - iosAppDataStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + iosAppDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( iosAppDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1021,21 +890,19 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppData 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; @@ -1044,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1067,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1141,32 +1000,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIosAppDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIosAppDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIosAppDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListIosAppDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,8 +1035,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java index a543349c..24e8180f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java @@ -1,110 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListIosAppDataStreamsResponseOrBuilder - extends +public interface ListIosAppDataStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - java.util.List getIosAppDataStreamsList(); + java.util.List + getIosAppDataStreamsList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ int getIosAppDataStreamsCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ - java.util.List + java.util.List getIosAppDataStreamsOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; - * + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; */ com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java index 240aa85b..34c66b18 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMeasurementProtocolSecretsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,64 +54,58 @@ private ListMeasurementProtocolSecretsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the parent stream.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -139,10 +114,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * properties/{property}/webDataStreams/{webDataStream}/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 @@ -151,15 +123,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent stream.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -168,18 +139,17 @@ public java.lang.String getParent() {
    * properties/{property}/webDataStreams/{webDataStream}/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 { @@ -190,8 +160,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -199,7 +167,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,8 +177,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -220,7 +185,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +193,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -246,15 +209,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -263,7 +227,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,7 +238,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,7 +262,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -311,18 +276,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,146 +312,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -499,22 +453,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -523,8 +474,7 @@ 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); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -536,52 +486,46 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -612,9 +556,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,8 +568,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -636,16 +576,14 @@ public Builder mergeFrom(
      * properties/{property}/webDataStreams/{webDataStream}/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; @@ -654,8 +592,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -664,17 +600,16 @@ public java.lang.String getParent() {
      * properties/{property}/webDataStreams/{webDataStream}/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 { @@ -682,8 +617,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -692,25 +625,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * properties/{property}/webDataStreams/{webDataStream}/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -719,21 +648,16 @@ public Builder setParent(java.lang.String value) {
      * properties/{property}/webDataStreams/{webDataStream}/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -742,28 +666,24 @@ public Builder clearParent() {
      * properties/{property}/webDataStreams/{webDataStream}/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -771,7 +691,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -779,8 +698,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -788,19 +705,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -808,11 +722,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -820,8 +733,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -830,13 +741,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; @@ -845,8 +756,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -855,14 +764,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -870,8 +780,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -880,22 +788,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -904,18 +810,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -924,23 +827,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -950,33 +853,30 @@ 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 { - return new ListMeasurementProtocolSecretsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListMeasurementProtocolSecretsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -988,8 +888,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java index 0e40a364..1cc73982 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface 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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -34,16 +16,11 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * properties/{property}/webDataStreams/{webDataStream}/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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -52,17 +29,13 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * properties/{property}/webDataStreams/{webDataStream}/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.
@@ -70,14 +43,11 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -86,13 +56,10 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -101,8 +68,8 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java index bea30ac2..7d2e5e9e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMeasurementProtocolSecretsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,162 +55,125 @@ private ListMeasurementProtocolSecretsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>(); - mutable_bitField0_ |= 0x00000001; - } - measurementProtocolSecrets_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + measurementProtocolSecrets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + measurementProtocolSecrets_.add( + input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; - private java.util.List - measurementProtocolSecrets_; + private java.util.List measurementProtocolSecrets_; /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List - getMeasurementProtocolSecretsList() { + public java.util.List getMeasurementProtocolSecretsList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + public java.util.List getMeasurementProtocolSecretsOrBuilderList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override public int getMeasurementProtocolSecretsCount() { return measurementProtocolSecrets_.size(); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { return measurementProtocolSecrets_.get(index); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { return measurementProtocolSecrets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -238,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -270,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -299,9 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, measurementProtocolSecrets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, measurementProtocolSecrets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -314,18 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; - if (!getMeasurementProtocolSecretsList().equals(other.getMeasurementProtocolSecretsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMeasurementProtocolSecretsList() + .equals(other.getMeasurementProtocolSecretsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -349,148 +291,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMeasurementProtocolSecretsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -506,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -529,15 +455,12 @@ 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); int from_bitField0_ = bitField0_; 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_; @@ -553,52 +476,46 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -617,10 +534,9 @@ public Builder mergeFrom( measurementProtocolSecretsBuilder_ = null; measurementProtocolSecrets_ = other.measurementProtocolSecrets_; bitField0_ = (bitField0_ & ~0x00000001); - measurementProtocolSecretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMeasurementProtocolSecretsFieldBuilder() - : null; + measurementProtocolSecretsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMeasurementProtocolSecretsFieldBuilder() : null; } else { measurementProtocolSecretsBuilder_.addAllMessages(other.measurementProtocolSecrets_); } @@ -645,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parsedMessage = - null; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,40 +574,28 @@ public Builder mergeFrom( } 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 { @@ -702,15 +603,11 @@ private void ensureMeasurementProtocolSecretsIsMutable() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public int getMeasurementProtocolSecretsCount() { if (measurementProtocolSecretsBuilder_ == null) { @@ -720,18 +617,13 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { return measurementProtocolSecrets_.get(index); } else { @@ -739,15 +631,11 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -764,19 +652,14 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.set(index, builderForValue.build()); @@ -787,18 +670,13 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public Builder addMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -812,15 +690,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -837,15 +711,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -859,19 +729,14 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.add(index, builderForValue.build()); @@ -882,22 +747,18 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addAllMeasurementProtocolSecrets( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, measurementProtocolSecrets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, measurementProtocolSecrets_); onChanged(); } else { measurementProtocolSecretsBuilder_.addAllMessages(values); @@ -905,15 +766,11 @@ public Builder addAllMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder clearMeasurementProtocolSecrets() { if (measurementProtocolSecretsBuilder_ == null) { @@ -926,15 +783,11 @@ public Builder clearMeasurementProtocolSecrets() { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder removeMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { @@ -947,53 +800,39 @@ public Builder removeMeasurementProtocolSecrets(int index) { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretsBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder( + int index) { return getMeasurementProtocolSecretsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { if (measurementProtocolSecretsBuilder_ == null) { - return measurementProtocolSecrets_.get(index); - } else { + return measurementProtocolSecrets_.get(index); } else { return measurementProtocolSecretsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - getMeasurementProtocolSecretsOrBuilderList() { + public java.util.List + getMeasurementProtocolSecretsOrBuilderList() { if (measurementProtocolSecretsBuilder_ != null) { return measurementProtocolSecretsBuilder_.getMessageOrBuilderList(); } else { @@ -1001,67 +840,45 @@ public Builder removeMeasurementProtocolSecrets(int index) { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder() { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder() { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder(int index) { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder( + int index) { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List - getMeasurementProtocolSecretsBuilderList() { + public java.util.List + getMeasurementProtocolSecretsBuilderList() { return getMeasurementProtocolSecretsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsFieldBuilder() { if (measurementProtocolSecretsBuilder_ == null) { - measurementProtocolSecretsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( measurementProtocolSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1073,21 +890,19 @@ public Builder removeMeasurementProtocolSecrets(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1096,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1119,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1193,33 +1000,30 @@ 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 { - return new ListMeasurementProtocolSecretsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListMeasurementProtocolSecretsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,8 +1035,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java index 32a7b109..7a76e944 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,117 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListMeasurementProtocolSecretsResponseOrBuilder - extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ int getMeasurementProtocolSecretsCount(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java similarity index 77% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java index 60b98ecb..a65b294d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) ListPropertiesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPropertiesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,69 +54,63 @@ private ListPropertiesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - showDeleted_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 32: { + + showDeleted_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object filter_; /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -150,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -159,15 +135,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -184,15 +159,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -203,8 +179,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -213,7 +187,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -224,8 +197,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -234,7 +205,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -243,15 +213,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -260,15 +229,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -279,8 +249,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -288,7 +256,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -297,7 +264,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -335,13 +302,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,18 +320,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesRequest other = - (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; - - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + com.google.analytics.admin.v1alpha.ListPropertiesRequest other = (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; + + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -381,134 +353,125 @@ 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) + unknownFields.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() @@ -516,15 +479,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -540,9 +504,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 @@ -561,8 +525,7 @@ 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); + com.google.analytics.admin.v1alpha.ListPropertiesRequest result = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); result.filter_ = filter_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -575,39 +538,38 @@ public com.google.analytics.admin.v1alpha.ListPropertiesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -615,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); @@ -650,8 +611,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListPropertiesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListPropertiesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,8 +623,6 @@ public Builder mergeFrom( private java.lang.Object filter_ = ""; /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -681,13 +639,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; @@ -696,8 +654,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -714,14 +670,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -729,8 +686,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -747,22 +702,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -779,18 +732,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -807,25 +757,23 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); 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.
@@ -834,7 +782,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -842,8 +789,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -852,19 +797,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -873,11 +815,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -885,8 +826,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -895,13 +834,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; @@ -910,8 +849,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -920,14 +857,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -935,8 +873,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -945,22 +881,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -969,18 +903,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -989,25 +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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); 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
@@ -1015,7 +944,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -1023,8 +951,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1032,19 +958,16 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1052,18 +975,17 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1073,12 +995,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(); } @@ -1087,16 +1009,16 @@ 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 { - return new ListPropertiesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPropertiesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java similarity index 80% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java index 41b5bb6c..d7d30e00 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesRequestOrBuilder - extends +public interface ListPropertiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -42,13 +24,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -65,14 +44,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -81,14 +58,11 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -97,13 +71,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -112,14 +83,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -127,7 +96,6 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java index bd0a97de..af240e50 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) ListPropertiesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPropertiesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,38 +55,35 @@ private ListPropertiesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - properties_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + properties_.add( + input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -112,27 +92,22 @@ private ListPropertiesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List properties_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -144,8 +119,6 @@ public java.util.List getProperties return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -153,13 +126,11 @@ public java.util.List getProperties * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -171,8 +142,6 @@ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -184,8 +153,6 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { return properties_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -193,22 +160,20 @@ 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; 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 @@ -217,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -249,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -278,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, properties_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -291,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesResponse other = - (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; + com.google.analytics.admin.v1alpha.ListPropertiesResponse other = (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; - if (!getPropertiesList().equals(other.getPropertiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,127 +291,117 @@ 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() @@ -452,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,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 @@ -499,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListPropertiesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -560,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) return this; if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { @@ -580,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRespon propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPropertiesFieldBuilder() - : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -612,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListPropertiesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListPropertiesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,29 +574,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -659,8 +603,6 @@ public java.util.List getProperties } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -675,8 +617,6 @@ public int getPropertiesCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -691,15 +631,14 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder setProperties(int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder setProperties( + int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +652,6 @@ public Builder setProperties(int index, com.google.analytics.admin.v1alpha.Prope return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -733,8 +670,6 @@ public Builder setProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -755,15 +690,14 @@ public Builder addProperties(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder addProperties(int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder addProperties( + int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,8 +711,6 @@ public Builder addProperties(int index, com.google.analytics.admin.v1alpha.Prope return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -797,8 +729,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -817,8 +747,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -829,7 +757,8 @@ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -837,8 +766,6 @@ public Builder addAllProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -856,8 +783,6 @@ public Builder clearProperties() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -875,44 +800,39 @@ public Builder removeProperties(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder(int index) { + public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder( + int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( + int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); - } else { + return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -920,8 +840,6 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -929,48 +847,42 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder(int index) { - return getPropertiesFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( + int index) { + return getPropertiesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + properties_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); properties_ = null; } return propertiesBuilder_; @@ -978,21 +890,19 @@ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +1000,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(); } @@ -1112,16 +1014,16 @@ 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 { - return new ListPropertiesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPropertiesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java index 6547dac4..960eb175 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesResponseOrBuilder - extends +public interface ListPropertiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListPropertiesResponseOrBuilder */ com.google.analytics.admin.v1alpha.Property getProperties(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListPropertiesResponseOrBuilder */ int getPropertiesCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index); + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java index 28bfd296..0862b84b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ -public final class ListUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) ListUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUserLinksRequest.newBuilder() to construct. private ListUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,63 @@ private ListUserLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -145,31 +119,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -190,7 +160,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,8 +170,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -211,7 +178,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,15 +186,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -237,15 +202,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +231,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,7 +255,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -302,17 +269,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksRequest other = - (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListUserLinksRequest other = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +305,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.analytics.admin.v1alpha.ListUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksRequest.newBuilder() @@ -464,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override @@ -507,8 +467,7 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksRequest result = - new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); + com.google.analytics.admin.v1alpha.ListUserLinksRequest result = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +479,38 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +518,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,8 +549,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,22 +561,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -629,23 +581,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -653,76 +602,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -731,7 +665,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,8 +672,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -749,19 +680,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -770,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -782,8 +709,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -792,13 +717,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; @@ -807,8 +732,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -817,14 +740,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -832,8 +756,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -842,22 +764,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -866,18 +786,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -886,23 +803,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) private static final com.google.analytics.admin.v1alpha.ListUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(); } @@ -926,16 +843,16 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java index ab4ba325..b055d914 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksRequestOrBuilder - extends +public interface ListUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -63,14 +36,11 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -94,8 +61,8 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java similarity index 74% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java index 3641596d..ba610e9b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ -public final class ListUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) ListUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUserLinksResponse.newBuilder() to construct. private ListUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private ListUserLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - userLinks_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + userLinks_.add( + input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -111,27 +92,22 @@ private ListUserLinksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -143,8 +119,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -152,13 +126,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -170,8 +142,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -183,8 +153,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -192,22 +160,20 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -216,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -277,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -290,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksResponse other = - (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListUserLinksResponse other = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,127 +291,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.analytics.admin.v1alpha.ListUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksResponse.newBuilder() @@ -451,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override @@ -498,8 +456,7 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksResponse result = - new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); + com.google.analytics.admin.v1alpha.ListUserLinksResponse result = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -519,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -559,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -579,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRespons userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -611,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -621,29 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -658,8 +603,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -674,8 +617,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -690,15 +631,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +652,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -732,8 +670,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -754,15 +690,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,8 +711,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -796,8 +729,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -816,8 +747,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -828,7 +757,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -836,8 +766,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -855,8 +783,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -874,44 +800,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +840,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -928,48 +847,42 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; @@ -977,21 +890,19 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1000,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) private static final com.google.analytics.admin.v1alpha.ListUserLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(); } @@ -1111,16 +1014,16 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java index b7967bc7..c05f6f2d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksResponseOrBuilder - extends +public interface ListUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -44,8 +25,6 @@ public interface ListUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -54,51 +33,43 @@ public interface ListUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java index 8907d42d..57269f7b 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListWebDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsRequest} */ -public final class ListWebDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWebDataStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) ListWebDataStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWebDataStreamsRequest.newBuilder() to construct. private ListWebDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWebDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListWebDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWebDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWebDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,74 +54,65 @@ private ListWebDataStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 @@ -147,33 +121,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -193,7 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -204,8 +173,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -214,7 +181,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -223,15 +189,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -240,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -257,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -305,17 +272,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.ListWebDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other = - (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,127 +308,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListWebDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) com.google.analytics.admin.v1alpha.ListWebDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.newBuilder() @@ -467,15 +426,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,14 +449,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance(); } @@ -511,8 +470,7 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest result = - new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -524,39 +482,38 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest)other); } else { super.mergeFrom(other); return this; @@ -564,9 +521,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -597,8 +552,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,24 +564,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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; @@ -636,25 +586,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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 { @@ -662,82 +609,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -745,7 +677,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -753,8 +684,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -762,19 +691,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -782,11 +708,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -794,8 +719,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -804,13 +727,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -819,8 +742,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -829,14 +750,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -844,8 +766,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -854,22 +774,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -878,18 +796,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -898,23 +813,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,13 +839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(); } @@ -939,16 +853,16 @@ public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWebDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWebDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWebDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWebDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -963,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java index 57370f45..0dde3871 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListWebDataStreamsRequestOrBuilder - extends +public interface ListWebDataStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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.
@@ -66,14 +39,11 @@ public interface ListWebDataStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -82,13 +52,10 @@ public interface ListWebDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -97,8 +64,8 @@ public interface ListWebDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java index 29b9fccb..d24ddc11 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListWebDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsResponse} */ -public final class ListWebDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWebDataStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) ListWebDataStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWebDataStreamsResponse.newBuilder() to construct. private ListWebDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWebDataStreamsResponse() { webDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListWebDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWebDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWebDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private ListWebDataStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - webDataStreams_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - webDataStreams_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.WebDataStream.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + webDataStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + webDataStreams_.add( + input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { webDataStreams_ = java.util.Collections.unmodifiableList(webDataStreams_); @@ -113,27 +92,22 @@ private ListWebDataStreamsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); } public static final int WEB_DATA_STREAMS_FIELD_NUMBER = 1; private java.util.List webDataStreams_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -145,8 +119,6 @@ public java.util.List getWebDa return webDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -154,13 +126,11 @@ public java.util.List getWebDa * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWebDataStreamsOrBuilderList() { return webDataStreams_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -172,8 +142,6 @@ public int getWebDataStreamsCount() { return webDataStreams_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -185,8 +153,6 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int in return webDataStreams_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -202,15 +168,12 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -219,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -251,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < webDataStreams_.size(); i++) { output.writeMessage(1, webDataStreams_.get(i)); } @@ -280,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < webDataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, webDataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, webDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +257,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.ListWebDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other = - (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) obj; - if (!getWebDataStreamsList().equals(other.getWebDataStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getWebDataStreamsList() + .equals(other.getWebDataStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +291,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListWebDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) com.google.analytics.admin.v1alpha.ListWebDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.newBuilder() @@ -454,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWebDataStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance(); } @@ -502,8 +456,7 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse result = - new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (webDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +476,38 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance()) return this; if (webDataStreamsBuilder_ == null) { if (!other.webDataStreams_.isEmpty()) { if (webDataStreams_.isEmpty()) { @@ -584,10 +534,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsRe webDataStreamsBuilder_ = null; webDataStreams_ = other.webDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - webDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWebDataStreamsFieldBuilder() - : null; + webDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWebDataStreamsFieldBuilder() : null; } else { webDataStreamsBuilder_.addAllMessages(other.webDataStreams_); } @@ -616,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,38 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List webDataStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWebDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - webDataStreams_ = - new java.util.ArrayList( - webDataStreams_); + webDataStreams_ = new java.util.ArrayList(webDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> - webDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamsBuilder_; /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List - getWebDataStreamsList() { + public java.util.List getWebDataStreamsList() { if (webDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(webDataStreams_); } else { @@ -666,8 +603,6 @@ private void ensureWebDataStreamsIsMutable() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -682,8 +617,6 @@ public int getWebDataStreamsCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -698,8 +631,6 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int in } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -721,8 +652,6 @@ public Builder setWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -741,8 +670,6 @@ public Builder setWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -763,8 +690,6 @@ public Builder addWebDataStreams(com.google.analytics.admin.v1alpha.WebDataStrea return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -786,8 +711,6 @@ public Builder addWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -806,8 +729,6 @@ public Builder addWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -826,8 +747,6 @@ public Builder addWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -838,7 +757,8 @@ public Builder addAllWebDataStreams( java.lang.Iterable values) { if (webDataStreamsBuilder_ == null) { ensureWebDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, webDataStreams_); onChanged(); } else { webDataStreamsBuilder_.addAllMessages(values); @@ -846,8 +766,6 @@ public Builder addAllWebDataStreams( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -865,8 +783,6 @@ public Builder clearWebDataStreams() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -884,8 +800,6 @@ public Builder removeWebDataStreams(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -897,8 +811,6 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream return getWebDataStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -908,22 +820,19 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder( int index) { if (webDataStreamsBuilder_ == null) { - return webDataStreams_.get(index); - } else { + return webDataStreams_.get(index); } else { return webDataStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List - getWebDataStreamsOrBuilderList() { + public java.util.List + getWebDataStreamsOrBuilderList() { if (webDataStreamsBuilder_ != null) { return webDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -931,8 +840,6 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -940,12 +847,10 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStreamsBuilder() { - return getWebDataStreamsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); + return getWebDataStreamsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -954,34 +859,26 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStream */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStreamsBuilder( int index) { - return getWebDataStreamsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); + return getWebDataStreamsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List - getWebDataStreamsBuilderList() { + public java.util.List + getWebDataStreamsBuilderList() { return getWebDataStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamsFieldBuilder() { if (webDataStreamsBuilder_ == null) { - webDataStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + webDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( webDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -993,21 +890,19 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStream 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; @@ -1016,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1039,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1113,13 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(); } @@ -1128,16 +1014,16 @@ public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWebDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWebDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWebDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWebDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java index 96ce2ee4..03bf2d11 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListWebDataStreamsResponseOrBuilder - extends +public interface ListWebDataStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - java.util.List getWebDataStreamsList(); + java.util.List + getWebDataStreamsList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListWebDataStreamsResponseOrBuilder */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListWebDataStreamsResponseOrBuilder */ int getWebDataStreamsCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - java.util.List + java.util.List getWebDataStreamsOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder(int index); + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder( + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index da35d4db..e59bef45 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MeasurementProtocolSecret extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -45,15 +27,16 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MeasurementProtocolSecret( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,66 +55,59 @@ private MeasurementProtocolSecret( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - secretValue_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + secretValue_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -140,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -149,15 +124,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -166,15 +140,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -201,29 +173,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 { @@ -234,8 +206,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int SECRET_VALUE_FIELD_NUMBER = 3; 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
@@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ @java.lang.Override @@ -252,15 +221,14 @@ public java.lang.String getSecretValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; } } /** - * - * *
    * Output only. The measurement protocol secret value. Pass this value to the api_secret
    * field of the Measurement Protocol API when sending hits to this
@@ -268,15 +236,16 @@ public java.lang.String getSecretValue() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -285,7 +254,6 @@ public com.google.protobuf.ByteString getSecretValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -333,17 +302,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.MeasurementProtocolSecret)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = - (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getSecretValue().equals(other.getSecretValue())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getSecretValue() + .equals(other.getSecretValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,127 +338,117 @@ 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() @@ -495,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -517,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } @@ -539,8 +500,7 @@ 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); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); result.name_ = name_; result.displayName_ = displayName_; result.secretValue_ = secretValue_; @@ -552,39 +512,38 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -592,9 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other) { - if (other - == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -626,8 +583,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -639,8 +595,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -649,13 +603,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; @@ -664,8 +618,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -674,14 +626,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -689,8 +642,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -699,22 +650,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -723,18 +672,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -743,16 +689,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -760,20 +706,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -782,21 +726,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -804,61 +747,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -866,8 +802,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretValue_ = ""; /** - * - * *
      * Output only. The measurement protocol secret value. Pass this value to the api_secret
      * field of the Measurement Protocol API when sending hits to this
@@ -875,13 +809,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ public java.lang.String getSecretValue() { java.lang.Object ref = secretValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; @@ -890,8 +824,6 @@ public java.lang.String getSecretValue() { } } /** - * - * *
      * Output only. The measurement protocol secret value. Pass this value to the api_secret
      * field of the Measurement Protocol API when sending hits to this
@@ -899,14 +831,15 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -914,8 +847,6 @@ public com.google.protobuf.ByteString getSecretValueBytes() { } } /** - * - * *
      * Output only. The measurement protocol secret value. Pass this value to the api_secret
      * field of the Measurement Protocol API when sending hits to this
@@ -923,22 +854,20 @@ public com.google.protobuf.ByteString getSecretValueBytes() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValue(java.lang.String value) { + public Builder setSecretValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretValue_ = value; 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
@@ -946,18 +875,15 @@ public Builder setSecretValue(java.lang.String value) {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSecretValue() { - + secretValue_ = getDefaultInstance().getSecretValue(); 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
@@ -965,23 +891,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) { + public Builder setSecretValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretValue_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,13 +917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) - private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(); } @@ -1006,16 +931,16 @@ 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 { - return new MeasurementProtocolSecret(input, extensionRegistry); - } - }; + 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 { + return new MeasurementProtocolSecret(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +955,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index 7070bc62..9544c9f7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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.
@@ -34,13 +16,10 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -49,39 +28,32 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The measurement protocol secret value. Pass this value to the api_secret
    * field of the Measurement Protocol API when sending hits to this
@@ -89,13 +61,10 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ java.lang.String getSecretValue(); /** - * - * *
    * Output only. The measurement protocol secret value. Pass this value to the api_secret
    * field of the Measurement Protocol API when sending hits to this
@@ -103,8 +72,8 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString getSecretValueBytes(); + com.google.protobuf.ByteString + getSecretValueBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 334a2d84..1453ea66 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ -public final class Property extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Property extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Property) PropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Property() { name_ = ""; parent_ = ""; @@ -45,19 +27,21 @@ private Property() { timeZone_ = ""; currencyCode_ = ""; serviceLevel_ = 0; + account_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Property( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,154 +60,141 @@ private Property( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + parent_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 48: - { - int rawValue = input.readEnum(); - - industryCategory_ = rawValue; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - timeZone_ = s; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - currencyCode_ = s; - break; - } - case 80: - { - int rawValue = input.readEnum(); + displayName_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); + + industryCategory_ = rawValue; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + timeZone_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + currencyCode_ = s; + break; + } + case 80: { + int rawValue = input.readEnum(); - serviceLevel_ = rawValue; - break; + serviceLevel_ = rawValue; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (deleteTime_ != null) { + subBuilder = deleteTime_.toBuilder(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (deleteTime_ != null) { - subBuilder = deleteTime_.toBuilder(); - } - deleteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deleteTime_); - deleteTime_ = subBuilder.buildPartial(); - } - - break; + deleteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deleteTime_); + deleteTime_ = subBuilder.buildPartial(); } - case 98: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 98: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } + + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + + account_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -231,7 +202,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -240,15 +210,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -256,15 +225,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -275,15 +245,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -291,15 +257,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -307,14 +269,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -324,15 +283,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -340,15 +295,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -356,14 +307,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -373,8 +321,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object parent_; /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -383,7 +329,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ @java.lang.Override @@ -392,15 +337,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -409,15 +353,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -428,15 +373,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -445,30 +387,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -479,48 +421,35 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.IndustryCategory result = - com.google.analytics.admin.v1alpha.IndustryCategory.valueOf(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.valueOf(industryCategory_); + return result == null ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; private volatile java.lang.Object timeZone_; /** - * - * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -532,7 +461,6 @@ public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory()
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ @java.lang.Override @@ -541,15 +469,14 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -561,15 +488,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -580,8 +508,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { public static final int CURRENCY_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object currencyCode_; /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -589,7 +515,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ @java.lang.Override @@ -598,15 +523,14 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -614,15 +538,16 @@ public java.lang.String getCurrencyCode() {
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -633,56 +558,39 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ServiceLevel result = - com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(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 @@ -690,16 +598,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. If set, the time at which this property was trashed. If not set, then this
    * property is not currently in the trash can.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -707,15 +611,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. If set, the time at which this property was trashed. If not set, then this
    * property is not currently in the trash can.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -725,17 +626,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. If set, the time at which this trashed property will be permanently
    * deleted. If not set, then this property is not currently in the trash can
    * and is not slated to be deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -743,17 +640,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. If set, the time at which this trashed property will be permanently
    * deleted. If not set, then this property is not currently in the trash can
    * and is not slated to be deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -761,24 +654,70 @@ 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() { return getExpireTime(); } - private byte memoizedIsInitialized = -1; + public static final int ACCOUNT_FIELD_NUMBER = 13; + 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) = { ... } + * @return The account. + */ + @java.lang.Override + public java.lang.String getAccount() { + java.lang.Object ref = account_; + 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(); + 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) = { ... } + * @return The bytes for account. + */ + @java.lang.Override + 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); + account_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -790,7 +729,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -806,9 +746,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { + if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { output.writeEnum(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { @@ -817,8 +755,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); } - if (serviceLevel_ - != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + if (serviceLevel_ != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(10, serviceLevel_); } if (deleteTime_ != null) { @@ -827,6 +764,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expireTime_ != null) { output.writeMessage(12, getExpireTime()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); + } unknownFields.writeTo(output); } @@ -843,18 +783,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); + if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); @@ -862,15 +803,20 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -880,37 +826,47 @@ public int getSerializedSize() { @java.lang.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -952,132 +908,125 @@ public int hashCode() { hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpireTime().hashCode(); } + hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getAccount().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; 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() @@ -1085,15 +1034,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1135,13 +1085,15 @@ public Builder clear() { expireTime_ = null; expireTimeBuilder_ = null; } + account_ = ""; + 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_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 @@ -1160,8 +1112,7 @@ 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); + com.google.analytics.admin.v1alpha.Property result = new com.google.analytics.admin.v1alpha.Property(this); result.name_ = name_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -1189,6 +1140,7 @@ public com.google.analytics.admin.v1alpha.Property buildPartial() { } else { result.expireTime_ = expireTimeBuilder_.build(); } + result.account_ = account_; onBuilt(); return result; } @@ -1197,39 +1149,38 @@ public com.google.analytics.admin.v1alpha.Property buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -1276,6 +1227,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.Property other) { if (other.hasExpireTime()) { mergeExpireTime(other.getExpireTime()); } + if (!other.getAccount().isEmpty()) { + account_ = other.account_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1307,8 +1262,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1316,13 +1269,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; @@ -1331,8 +1284,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1340,14 +1291,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1355,8 +1307,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1364,22 +1314,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1387,18 +1335,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1406,16 +1351,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1423,58 +1368,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when 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 createTimeBuilder_ != null || 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. */ 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) { @@ -1490,17 +1416,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the entity was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1511,21 +1434,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the entity was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1537,15 +1456,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the entity was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1559,64 +1474,48 @@ 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the entity was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Time when the entity was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1624,58 +1523,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when entity payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || 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. */ 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) { @@ -1691,17 +1571,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when entity payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1712,21 +1589,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when entity payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1738,15 +1611,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when entity payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1760,64 +1629,48 @@ 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() { - + onChanged(); 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_; @@ -1825,8 +1678,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1835,13 +1686,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; @@ -1850,8 +1701,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1860,14 +1709,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1875,8 +1725,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1885,22 +1733,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1909,18 +1755,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1929,16 +1772,16 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1946,21 +1789,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1969,22 +1810,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1992,64 +1832,57 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2057,71 +1890,55 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int industryCategory_ = 0; /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override - public int getIndustryCategoryValue() { + @java.lang.Override public int getIndustryCategoryValue() { return industryCategory_; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ public Builder setIndustryCategoryValue(int value) { - + industryCategory_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.IndustryCategory result = - com.google.analytics.admin.v1alpha.IndustryCategory.valueOf(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.valueOf(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. */ @@ -2129,25 +1946,22 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCa if (value == null) { throw new NullPointerException(); } - + industryCategory_ = value.getNumber(); onChanged(); 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() { - + industryCategory_ = 0; onChanged(); return this; @@ -2155,8 +1969,6 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** - * - * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2168,13 +1980,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; @@ -2183,8 +1995,6 @@ public java.lang.String getTimeZone() { } } /** - * - * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2196,14 +2006,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2211,8 +2022,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } } /** - * - * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2224,22 +2033,20 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { + public Builder setTimeZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2251,18 +2058,15 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** - * - * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2274,16 +2078,16 @@ 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) { + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -2291,8 +2095,6 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object currencyCode_ = ""; /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2300,13 +2102,13 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string currency_code = 8; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -2315,8 +2117,6 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2324,14 +2124,15 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -2339,8 +2140,6 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2348,22 +2147,20 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() {
      * 
* * string currency_code = 8; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { + public Builder setCurrencyCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2371,18 +2168,15 @@ public Builder setCurrencyCode(java.lang.String value) {
      * 
* * string currency_code = 8; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2390,16 +2184,16 @@ 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) { + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -2407,73 +2201,51 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { private int serviceLevel_ = 0; /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.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. */ public Builder setServiceLevelValue(int value) { - + serviceLevel_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ServiceLevel result = - com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(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. */ @@ -2481,26 +2253,21 @@ public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel v if (value == null) { throw new NullPointerException(); } - + serviceLevel_ = value.getNumber(); onChanged(); 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() { - + serviceLevel_ = 0; onChanged(); return this; @@ -2508,61 +2275,42 @@ public Builder clearServiceLevel() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. If set, the time at which this property was trashed. If not set, then this
      * property is not currently in the trash can.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || 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. */ 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) { @@ -2578,18 +2326,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If set, the time at which this property was trashed. If not set, then this
      * property is not currently in the trash can.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -2600,22 +2345,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. If set, the time at which this property was trashed. If not set, then this
      * property is not currently in the trash can.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -2627,16 +2368,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If set, the time at which this property was trashed. If not set, then this
      * property is not currently in the trash can.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -2650,67 +2387,51 @@ 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() { - + onChanged(); 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_; @@ -2718,64 +2439,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. If set, the time at which this trashed property will be permanently
      * deleted. If not set, then this property is not currently in the trash can
      * and is not slated to be deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || 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. */ 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) { @@ -2791,19 +2493,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If set, the time at which this trashed property will be permanently
      * deleted. If not set, then this property is not currently in the trash can
      * and is not slated to be deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2814,23 +2513,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. If set, the time at which this trashed property will be permanently
      * deleted. If not set, then this property is not currently in the trash can
      * and is not slated to be deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2842,17 +2537,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If set, the time at which this trashed property will be permanently
      * deleted. If not set, then this property is not currently in the trash can
      * and is not slated to be deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2866,77 +2557,167 @@ 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() { - + onChanged(); 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_; } + 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) = { ... } + * @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; + java.lang.String s = bs.toStringUtf8(); + account_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * 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) = { ... } + * @return The bytes for account. + */ + 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); + account_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 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) = { ... } + * @param value The account to set. + * @return This builder for chaining. + */ + public Builder setAccount( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + account_ = value; + 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) = { ... } + * @return This builder for chaining. + */ + public Builder clearAccount() { + + account_ = getDefaultInstance().getAccount(); + 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) = { ... } + * @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(); + } + checkByteStringIsUtf8(value); + + account_ = value; + onChanged(); + return this; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2946,12 +2727,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(); } @@ -2960,16 +2741,16 @@ 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 { - return new Property(input, extensionRegistry); - } - }; + 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 { + return new Property(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2984,4 +2765,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java similarity index 80% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 039e570b..5813b5b9 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertyOrBuilder - extends +public interface PropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Property) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -47,90 +26,66 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -139,13 +94,10 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -154,68 +106,55 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory(); /** - * - * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -227,13 +166,10 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ java.lang.String getTimeZone(); /** - * - * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -245,14 +181,12 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -260,13 +194,10 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -274,122 +205,114 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + com.google.protobuf.ByteString + getCurrencyCodeBytes(); /** - * - * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * - * .google.analytics.admin.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) = { ... } + * @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) = { ... } + * @return The bytes for account. + */ + com.google.protobuf.ByteString + getAccountBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java index 17a49aa9..aadefc49 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
- * A virtual resource representing metadata for an GA4 property.
+ * 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_ = ""; @@ -44,15 +26,16 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PropertySummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,59 +54,53 @@ private PropertySummary( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + property_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object property_; /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -131,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ @java.lang.Override @@ -140,15 +116,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -156,15 +131,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -175,14 +151,11 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
-   * Display name for the property referred to in this account summary.
+   * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -191,29 +164,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 account summary.
+   * 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 { @@ -222,7 +195,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -264,16 +237,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,126 +269,117 @@ 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 an GA4 property.
+   * 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() @@ -422,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +408,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 @@ -463,8 +429,7 @@ 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); + com.google.analytics.admin.v1alpha.PropertySummary result = new com.google.analytics.admin.v1alpha.PropertySummary(this); result.property_ = property_; result.displayName_ = displayName_; onBuilt(); @@ -475,39 +440,38 @@ public com.google.analytics.admin.v1alpha.PropertySummary buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -515,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.PropertySummary other) { - if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -544,8 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.PropertySummary) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.PropertySummary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -557,8 +519,6 @@ public Builder mergeFrom( private java.lang.Object property_ = ""; /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -566,13 +526,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; @@ -581,8 +541,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -590,14 +548,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -605,8 +564,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -614,22 +571,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -637,18 +592,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -656,16 +608,16 @@ 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) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; @@ -673,20 +625,18 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
-     * Display name for the property referred to in this account summary.
+     * 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; @@ -695,21 +645,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-     * Display name for the property referred to in this account summary.
+     * 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 { @@ -717,68 +666,61 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-     * Display name for the property referred to in this account summary.
+     * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
-     * Display name for the property referred to in this account summary.
+     * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
-     * Display name for the property referred to in this account summary.
+     * 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +730,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(); } @@ -802,16 +744,16 @@ 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 { - return new PropertySummary(input, extensionRegistry); - } - }; + 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 { + return new PropertySummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,4 +768,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java similarity index 55% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java index c51e12ce..79326722 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertySummaryOrBuilder - extends +public interface PropertySummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.PropertySummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -47,33 +26,28 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
-   * Display name for the property referred to in this account summary.
+   * 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 account summary.
+   * 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(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java index bee2ce50..20183c84 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProvisionAccountTicketRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,74 +53,65 @@ private ProvisionAccountTicketRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; - if (account_ != null) { - subBuilder = account_.toBuilder(); - } - account_ = - input.readMessage( - com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(account_); - account_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; + if (account_ != null) { + subBuilder = account_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - redirectUri_ = s; - break; + account_ = input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(account_); + account_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + redirectUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -145,25 +119,18 @@ public boolean hasAccount() { return account_ != null; } /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } /** - * - * *
    * The account to create.
    * 
@@ -178,15 +145,12 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() public static final int REDIRECT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object redirectUri_; /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ @java.lang.Override @@ -195,30 +159,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -227,7 +191,6 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -256,7 +220,8 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); @@ -269,19 +234,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } - if (!getRedirectUri().equals(other.getRedirectUri())) return false; + if (!getRedirectUri() + .equals(other.getRedirectUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,127 +271,117 @@ 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() @@ -433,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -457,14 +414,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance(); } @@ -479,8 +435,7 @@ 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); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { @@ -495,50 +450,46 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -565,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,47 +528,34 @@ public Builder mergeFrom( 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 accountBuilder_ != null || account_ != null; } /** - * - * *
      * 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.
      * 
@@ -640,15 +576,14 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; */ - public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); @@ -659,8 +594,6 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder bui return this; } /** - * - * *
      * The account to create.
      * 
@@ -671,9 +604,7 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = - com.google.analytics.admin.v1alpha.Account.newBuilder(account_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } @@ -685,8 +616,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
@@ -705,8 +634,6 @@ public Builder clearAccount() { return this; } /** - * - * *
      * The account to create.
      * 
@@ -714,13 +641,11 @@ public Builder clearAccount() { * .google.analytics.admin.v1alpha.Account account = 1; */ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { - + onChanged(); return getAccountFieldBuilder().getBuilder(); } /** - * - * *
      * The account to create.
      * 
@@ -731,14 +656,11 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? + com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } } /** - * - * *
      * The account to create.
      * 
@@ -746,17 +668,14 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1alpha.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( - getAccount(), getParentForChildren(), isClean()); + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + getAccount(), + getParentForChildren(), + isClean()); account_ = null; } return accountBuilder_; @@ -764,21 +683,19 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -787,22 +704,21 @@ public java.lang.String getRedirectUri() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -810,71 +726,64 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri(java.lang.String value) { + public Builder setRedirectUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + redirectUri_ = value; onChanged(); return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return This builder for chaining. */ public Builder clearRedirectUri() { - + redirectUri_ = getDefaultInstance().getRedirectUri(); onChanged(); return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { + public Builder setRedirectUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + redirectUri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,32 +793,30 @@ 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 { - return new ProvisionAccountTicketRequest(input, extensionRegistry); - } - }; + 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 { + return new ProvisionAccountTicketRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,8 +828,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java index 126707fa..2342e690 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ProvisionAccountTicketRequestOrBuilder - extends +public interface ProvisionAccountTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** - * - * *
    * The account to create.
    * 
@@ -59,29 +35,24 @@ public interface ProvisionAccountTicketRequestOrBuilder com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString getRedirectUriBytes(); + com.google.protobuf.ByteString + getRedirectUriBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java index 185022f7..6a3c81a7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProvisionAccountTicketResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,58 +53,52 @@ private ProvisionAccountTicketResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - accountTicketId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + accountTicketId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -131,29 +107,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 { @@ -162,7 +138,6 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountTicketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountTicketId_); } @@ -198,15 +174,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,145 +202,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,14 +339,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance(); } @@ -396,8 +360,7 @@ 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); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); result.accountTicketId_ = accountTicketId_; onBuilt(); return result; @@ -407,50 +370,46 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse 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.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_; onChanged(); @@ -474,9 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,20 +445,18 @@ public Builder mergeFrom( 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; @@ -510,21 +465,20 @@ public java.lang.String getAccountTicketId() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return The bytes for accountTicketId. */ - public com.google.protobuf.ByteString getAccountTicketIdBytes() { + public com.google.protobuf.ByteString + getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -532,68 +486,61 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @param value The accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketId(java.lang.String value) { + public Builder setAccountTicketId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accountTicketId_ = value; 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() { - + accountTicketId_ = getDefaultInstance().getAccountTicketId(); onChanged(); 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) { + public Builder setAccountTicketIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accountTicketId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,32 +550,30 @@ 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 { - return new ProvisionAccountTicketResponse(input, extensionRegistry); - } - }; + 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 { + return new ProvisionAccountTicketResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,8 +585,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 00000000..1e662a84 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ProvisionAccountTicketResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString + getAccountTicketIdBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java new file mode 100644 index 00000000..ae874d93 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -0,0 +1,684 @@ +// 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_AndroidAppDataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/analytics/admin/v1alpha/resourc" + + "es.proto\022\036google.analytics.admin.v1alpha" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\032\037google/protobuf/ti" + + "mestamp.proto\032\036google/protobuf/wrappers." + + "proto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" + + "create_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022\031\n\014display_name" + + "\030\004 \001(\tB\003\340A\002\022\023\n\013region_code\030\005 \001(\t\022\024\n\007dele" + + "ted\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.goog" + + "leapis.com/Account\022\022accounts/{account}\"\357" + + "\004\n\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022" + + "\031\n\014display_name\030\005 \001(\tB\003\340A\002\022K\n\021industry_c" + + "ategory\030\006 \001(\01620.google.analytics.admin.v" + + "1alpha.IndustryCategory\022\026\n\ttime_zone\030\007 \001" + + "(\tB\003\340A\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rservic" + + "e_level\030\n \001(\0162,.google.analytics.admin.v" + + "1alpha.ServiceLevelB\003\340A\003\0224\n\013delete_time\030" + + "\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" + + "\n\013expire_time\030\014 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%a" + + "nalyticsadmin.googleapis.com/Account:B\352A" + + "?\n&analyticsadmin.googleapis.com/Propert" + + "y\022\025properties/{property}\"\344\002\n\024AndroidAppD" + + "ataStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase" + + "_app_id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\031\n\014package_name\030\005 \001(\tB\003\340A\005\022\024\n\014dis" + + "play_name\030\006 \001(\t:~\352A{\n2analyticsadmin.goo" + + "gleapis.com/AndroidAppDataStream\022Eproper" + + "ties/{property}/androidAppDataStreams/{a" + + "ndroid_app_data_stream}\"\324\002\n\020IosAppDataSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_" + + "id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\031\n\tbundle_id\030\005 \001(\tB\006\340A\005\340A\002\022\024\n\014display_" + + "name\030\006 \001(\t:r\352Ao\n.analyticsadmin.googleap" + + "is.com/IosAppDataStream\022=properties/{pro" + + "perty}/iosAppDataStreams/{ios_app_data_s" + + "tream}\"\350\002\n\rWebDataStream\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022\033\n\016measurement_id\030\002 \001(\tB\003\340A\003\022\034\n\017fire" + + "base_app_id\030\003 \001(\tB\003\340A\003\0224\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "update_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\030\n\013default_uri\030\006 \001(\tB\003\340A\005\022\031\n\014" + + "display_name\030\007 \001(\tB\003\340A\002:h\352Ae\n+analyticsa" + + "dmin.googleapis.com/WebDataStream\0226prope" + + "rties/{property}/webDataStreams/{web_dat" + + "a_stream}\"\371\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\021\n\004name\030\001 \001(\tB\003\340A\003" + + "\022O\n\004type\030\002 \001(\01629.google.analytics.admin." + + "v1alpha.DataStream.DataStreamTypeB\006\340A\005\340A" + + "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + + "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + + "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + + "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + + "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + + "sAppStreamData\022\034\n\017firebase_app_id\030\001 \001(\tB" + + "\003\340A\003\022\031\n\tbundle_id\030\002 \001(\tB\006\340A\005\340A\002\"}\n\016DataS" + + "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + + "D\020\000\022\023\n\017WEB_DATA_STREAM\020\001\022\033\n\027ANDROID_APP_" + + "DATA_STREAM\020\002\022\027\n\023IOS_APP_DATA_STREAM\020\003:^" + + "\352A[\n(analyticsadmin.googleapis.com/DataS" + + "tream\022/properties/{property}/dataStreams" + + "/{data_stream}B\r\n\013stream_data\"\324\001\n\010UserLi" + + "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\remail_address\030\002" + + " \001(\tB\003\340A\005\022\024\n\014direct_roles\030\003 \003(\t:\202\001\352A\177\n&a" + + "nalyticsadmin.googleapis.com/UserLink\022(a" + + "ccounts/{account}/userLinks/{user_link}\022" + + "+properties/{property}/userLinks/{user_l" + + "ink}\"c\n\rAuditUserLink\022\014\n\004name\030\001 \001(\t\022\025\n\re" + + "mail_address\030\002 \001(\t\022\024\n\014direct_roles\030\003 \003(\t" + + "\022\027\n\017effective_roles\030\004 \003(\t\"\323\001\n\014FirebaseLi" + + "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007project\030\002 \001(\tB\003" + + "\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003:d\352Aa\n*analyticsadmin.g" + + "oogleapis.com/FirebaseLink\0223properties/{" + + "property}/firebaseLinks/{firebase_link}\"" + + "\217\001\n\rGlobalSiteTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007" + + "snippet\030\002 \001(\tB\003\340A\005:U\352AR\n+analyticsadmin." + + "googleapis.com/GlobalSiteTag\022#properties" + + "/{property}/globalSiteTag\"\230\003\n\rGoogleAdsL" + + "ink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013customer_id\030\003 " + + "\001(\tB\003\340A\005\022\037\n\022can_manage_clients\030\004 \001(\010B\003\340A" + + "\003\022?\n\033ads_personalization_enabled\030\005 \001(\0132\032" + + ".google.protobuf.BoolValue\0224\n\013create_tim" + + "e\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\010 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\"\n\025creator_email_address\030" + + "\t \001(\tB\003\340A\003:h\352Ae\n+analyticsadmin.googleap" + + "is.com/GoogleAdsLink\0226properties/{proper" + + "ty}/googleAdsLinks/{google_ads_link}\"\353\002\n" + + "\023DataSharingSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "+\n#sharing_with_google_support_enabled\030\002" + + " \001(\010\0222\n*sharing_with_google_assigned_sal" + + "es_enabled\030\003 \001(\010\022-\n%sharing_with_google_" + + "any_sales_enabled\030\004 \001(\010\022,\n$sharing_with_" + + "google_products_enabled\030\005 \001(\010\022#\n\033sharing" + + "_with_others_enabled\030\006 \001(\010:^\352A[\n1analyti" + + "csadmin.googleapis.com/DataSharingSettin" + + "gs\022&accounts/{account}/dataSharingSettin" + + "gs\"\225\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;\n\007a" + + "ccount\030\002 \001(\tB*\372A\'\n%analyticsadmin.google" + + "apis.com/Account\022\024\n\014display_name\030\003 \001(\t\022K" + + "\n\022property_summaries\030\004 \003(\0132/.google.anal" + + "ytics.admin.v1alpha.PropertySummary:U\352AR" + + "\n,analyticsadmin.googleapis.com/AccountS" + + "ummary\022\"accountSummaries/{account_summar" + + "y}\"f\n\017PropertySummary\022=\n\010property\030\001 \001(\tB" + + "+\372A(\n&analyticsadmin.googleapis.com/Prop" + + "erty\022\024\n\014display_name\030\002 \001(\t\"\225\002\n\031Measureme" + + "ntProtocolSecret\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014d" + + "isplay_name\030\002 \001(\tB\003\340A\002\022\031\n\014secret_value\030\003" + + " \001(\tB\003\340A\003:\256\001\352A\252\001\n7analyticsadmin.googlea" + + "pis.com/MeasurementProtocolSecret\022oprope" + + "rties/{property}/webDataStreams/{web_dat" + + "a_stream}/measurementProtocolSecrets/{me" + + "asurement_protocol_secret}\"\212\002\n\022ChangeHis" + + "toryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013change_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022=\n\nactor_" + + "type\030\003 \001(\0162).google.analytics.admin.v1al" + + "pha.ActorType\022\030\n\020user_actor_email\030\004 \001(\t\022" + + "\030\n\020changes_filtered\030\005 \001(\010\022D\n\007changes\030\006 \003" + + "(\01323.google.analytics.admin.v1alpha.Chan" + + "geHistoryChange\"\275\014\n\023ChangeHistoryChange\022" + + "\020\n\010resource\030\001 \001(\t\022:\n\006action\030\002 \001(\0162*.goog" + + "le.analytics.admin.v1alpha.ActionType\022i\n" + + "\026resource_before_change\030\003 \001(\0132I.google.a" + + "nalytics.admin.v1alpha.ChangeHistoryChan" + + "ge.ChangeHistoryResource\022h\n\025resource_aft" + + "er_change\030\004 \001(\0132I.google.analytics.admin" + + ".v1alpha.ChangeHistoryChange.ChangeHisto" + + "ryResource\032\202\n\n\025ChangeHistoryResource\022:\n\007" + + "account\030\001 \001(\0132\'.google.analytics.admin.v" + + "1alpha.AccountH\000\022<\n\010property\030\002 \001(\0132(.goo" + + "gle.analytics.admin.v1alpha.PropertyH\000\022H" + + "\n\017web_data_stream\030\003 \001(\0132-.google.analyti" + + "cs.admin.v1alpha.WebDataStreamH\000\022W\n\027andr" + + "oid_app_data_stream\030\004 \001(\01324.google.analy" + + "tics.admin.v1alpha.AndroidAppDataStreamH" + + "\000\022O\n\023ios_app_data_stream\030\005 \001(\01320.google." + + "analytics.admin.v1alpha.IosAppDataStream" + + "H\000\022E\n\rfirebase_link\030\006 \001(\0132,.google.analy" + + "tics.admin.v1alpha.FirebaseLinkH\000\022H\n\017goo" + + "gle_ads_link\030\007 \001(\0132-.google.analytics.ad" + + "min.v1alpha.GoogleAdsLinkH\000\022X\n\027google_si" + + "gnals_settings\030\010 \001(\01325.google.analytics." + + "admin.v1alpha.GoogleSignalsSettingsH\000\022j\n" + + "!display_video_360_advertiser_link\030\t \001(\013" + + "2=.google.analytics.admin.v1alpha.Displa" + + "yVideo360AdvertiserLinkH\000\022{\n*display_vid" + + "eo_360_advertiser_link_proposal\030\n \001(\0132E." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkProposalH\000\022K\n\020conver" + + "sion_event\030\013 \001(\0132/.google.analytics.admi" + + "n.v1alpha.ConversionEventH\000\022`\n\033measureme" + + "nt_protocol_secret\030\014 \001(\01329.google.analyt" + + "ics.admin.v1alpha.MeasurementProtocolSec" + + "retH\000\022K\n\020custom_dimension\030\r \001(\0132/.google" + + ".analytics.admin.v1alpha.CustomDimension" + + "H\000\022E\n\rcustom_metric\030\016 \001(\0132,.google.analy" + + "tics.admin.v1alpha.CustomMetricH\000\022X\n\027dat" + + "a_retention_settings\030\017 \001(\01325.google.anal" + + "ytics.admin.v1alpha.DataRetentionSetting" + + "sH\000B\n\n\010resource\"\337\003\n\035DisplayVideo360Adver" + + "tiserLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertis" + + "er_id\030\002 \001(\tB\003\340A\005\022$\n\027advertiser_display_n" + + "ame\030\003 \001(\tB\003\340A\003\022?\n\033ads_personalization_en" + + "abled\030\004 \001(\0132\032.google.protobuf.BoolValue\022" + + "F\n\035campaign_data_sharing_enabled\030\005 \001(\0132\032" + + ".google.protobuf.BoolValueB\003\340A\005\022B\n\031cost_" + + "data_sharing_enabled\030\006 \001(\0132\032.google.prot" + + "obuf.BoolValueB\003\340A\005:\233\001\352A\227\001\n;analyticsadm" + + "in.googleapis.com/DisplayVideo360Adverti" + + "serLink\022Xproperties/{property}/displayVi" + + "deo360AdvertiserLinks/{display_video_360" + + "_advertiser_link}\"\212\005\n%DisplayVideo360Adv" + + "ertiserLinkProposal\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032" + + "\n\radvertiser_id\030\002 \001(\tB\003\340A\005\022d\n\034link_propo" + + "sal_status_details\030\003 \001(\01329.google.analyt" + + "ics.admin.v1alpha.LinkProposalStatusDeta" + + "ilsB\003\340A\003\022$\n\027advertiser_display_name\030\004 \001(" + + "\tB\003\340A\003\022\035\n\020validation_email\030\005 \001(\tB\003\340A\004\022D\n" + + "\033ads_personalization_enabled\030\006 \001(\0132\032.goo" + + "gle.protobuf.BoolValueB\003\340A\005\022F\n\035campaign_" + + "data_sharing_enabled\030\007 \001(\0132\032.google.prot" + + "obuf.BoolValueB\003\340A\005\022B\n\031cost_data_sharing" + + "_enabled\030\010 \001(\0132\032.google.protobuf.BoolVal" + + "ueB\003\340A\005:\264\001\352A\260\001\nCanalyticsadmin.googleapi" + + "s.com/DisplayVideo360AdvertiserLinkPropo" + + "sal\022iproperties/{property}/displayVideo3" + + "60AdvertiserLinkProposals/{display_video" + + "_360_advertiser_link_proposal}\"\374\001\n\031LinkP" + + "roposalStatusDetails\022l\n link_proposal_in" + + "itiating_product\030\001 \001(\0162=.google.analytic" + + "s.admin.v1alpha.LinkProposalInitiatingPr" + + "oductB\003\340A\003\022\034\n\017requestor_email\030\002 \001(\tB\003\340A\003" + + "\022S\n\023link_proposal_state\030\003 \001(\01621.google.a" + + "nalytics.admin.v1alpha.LinkProposalState" + + "B\003\340A\003\"\217\002\n\017ConversionEvent\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\027\n\nevent_name\030\002 \001(\tB\003\340A\005\0224\n\013create_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custom\030\005 " + + "\001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.googleapis" + + ".com/ConversionEvent\0229properties/{proper" + + "ty}/conversionEvents/{conversion_event}\"" + + "\240\002\n\025GoogleSignalsSettings\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022A\n\005state\030\003 \001(\01622.google.analytics.a" + + "dmin.v1alpha.GoogleSignalsState\022J\n\007conse" + + "nt\030\004 \001(\01624.google.analytics.admin.v1alph" + + "a.GoogleSignalsConsentB\003\340A\003:e\352Ab\n3analyt" + + "icsadmin.googleapis.com/GoogleSignalsSet" + + "tings\022+properties/{property}/googleSigna" + + "lsSettings\"\237\003\n\017CustomDimension\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A" + + "\005\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\030\n\013descript" + + "ion\030\004 \001(\tB\003\340A\001\022U\n\005scope\030\005 \001(\0162>.google.a" + + "nalytics.admin.v1alpha.CustomDimension.D" + + "imensionScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_pe" + + "rsonalization\030\006 \001(\010B\003\340A\001\"F\n\016DimensionSco" + + "pe\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005E" + + "VENT\020\001\022\010\n\004USER\020\002:Z\352AW\n-analyticsadmin.go" + + "ogleapis.com/CustomDimension\022&properties" + + "/{property}/customDimensions\"\354\004\n\014CustomM" + + "etric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016parameter_na" + + "me\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030\003 \001(\tB\003" + + "\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022[\n\020measure" + + "ment_unit\030\005 \001(\0162<.google.analytics.admin" + + ".v1alpha.CustomMetric.MeasurementUnitB\003\340" + + "A\002\022O\n\005scope\030\006 \001(\01628.google.analytics.adm" + + "in.v1alpha.CustomMetric.MetricScopeB\006\340A\002" + + "\340A\005\"\267\001\n\017MeasurementUnit\022 \n\034MEASUREMENT_U" + + "NIT_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\014\n\010CURRE" + + "NCY\020\002\022\010\n\004FEET\020\003\022\n\n\006METERS\020\004\022\016\n\nKILOMETER" + + "S\020\005\022\t\n\005MILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECO" + + "NDS\020\010\022\013\n\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricS" + + "cope\022\034\n\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EV" + + "ENT\020\001:T\352AQ\n*analyticsadmin.googleapis.co" + + "m/CustomMetric\022#properties/{property}/cu" + + "stomMetrics\"\302\003\n\025DataRetentionSettings\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\022e\n\024event_data_retention" + + "\030\002 \001(\0162G.google.analytics.admin.v1alpha." + + "DataRetentionSettings.RetentionDuration\022" + + "\'\n\037reset_user_data_on_new_activity\030\003 \001(\010" + + "\"\236\001\n\021RetentionDuration\022\"\n\036RETENTION_DURA" + + "TION_UNSPECIFIED\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FO" + + "URTEEN_MONTHS\020\003\022\025\n\021TWENTY_SIX_MONTHS\020\004\022\027" + + "\n\023THIRTY_EIGHT_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020" + + "\006:e\352Ab\n3analyticsadmin.googleapis.com/Da" + + "taRetentionSettings\022+properties/{propert" + + "y}/dataRetentionSettings*\252\004\n\020IndustryCat" + + "egory\022!\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000" + + "\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTR" + + "IAL_MARKETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE" + + "\020\004\022\016\n\nTECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020" + + "\007\022\032\n\026ARTS_AND_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\005GAMES\020\014\022\027\n\023HOBBIE" + + "S_AND_LEISURE\020\r\022\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024" + + "INTERNET_AND_TELECOM\020\017\022\026\n\022LAW_AND_GOVERN" + + "MENT\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_ANI" + + "MALS\020\024\022\017\n\013REAL_ESTATE\020\025\022\r\n\tREFERENCE\020\026\022\013" + + "\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022JOBS_AND_EDUC" + + "ATION\020\031\022\014\n\010SHOPPING\020\032*f\n\014ServiceLevel\022\035\n" + + "\031SERVICE_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_A" + + "NALYTICS_STANDARD\020\001\022\030\n\024GOOGLE_ANALYTICS_" + + "360\020\002*J\n\tActorType\022\032\n\026ACTOR_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\022\013\n\007SUPPORT\020" + + "\003*P\n\nActionType\022\033\n\027ACTION_TYPE_UNSPECIFI" + + "ED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007DELETE" + + "D\020\003*\310\003\n\031ChangeHistoryResourceType\022,\n(CHA" + + "NGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007ACCOUNT\020\001\022\014\n\010PROPERTY\020\002\022\023\n\017WEB_DATA_S" + + "TREAM\020\003\022\033\n\027ANDROID_APP_DATA_STREAM\020\004\022\027\n\023" + + "IOS_APP_DATA_STREAM\020\005\022\021\n\rFIREBASE_LINK\020\006" + + "\022\023\n\017GOOGLE_ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_" + + "SETTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEAS" + + "UREMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIME" + + "NSION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETEN" + + "TION_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADV" + + "ERTISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVE" + + "RTISER_LINK_PROPOSAL\020\017*s\n\022GoogleSignalsS" + + "tate\022$\n GOOGLE_SIGNALS_STATE_UNSPECIFIED" + + "\020\000\022\032\n\026GOOGLE_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE" + + "_SIGNALS_DISABLED\020\002*\216\001\n\024GoogleSignalsCon" + + "sent\022&\n\"GOOGLE_SIGNALS_CONSENT_UNSPECIFI" + + "ED\020\000\022$\n GOOGLE_SIGNALS_CONSENT_CONSENTED" + + "\020\002\022(\n$GOOGLE_SIGNALS_CONSENT_NOT_CONSENT" + + "ED\020\001*{\n\035LinkProposalInitiatingProduct\0220\n" + + ",LINK_PROPOSAL_INITIATING_PRODUCT_UNSPEC" + + "IFIED\020\000\022\024\n\020GOOGLE_ANALYTICS\020\001\022\022\n\016LINKED_" + + "PRODUCT\020\002*\304\001\n\021LinkProposalState\022#\n\037LINK_" + + "PROPOSAL_STATE_UNSPECIFIED\020\000\022)\n%AWAITING" + + "_REVIEW_FROM_GOOGLE_ANALYTICS\020\001\022\'\n#AWAIT" + + "ING_REVIEW_FROM_LINKED_PRODUCT\020\002\022\r\n\tWITH" + + "DRAWN\020\003\022\014\n\010DECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OB" + + "SOLETE\020\006B{\n\"com.google.analytics.admin.v" + + "1alphaB\016ResourcesProtoP\001ZCgoogle.golang." + + "org/genproto/googleapis/analytics/admin/" + + "v1alpha;adminb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.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", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor, + new java.lang.String[] { "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "PackageName", "DisplayName", }); + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor, + new java.lang.String[] { "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "BundleId", "DisplayName", }); + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor, + new java.lang.String[] { "Name", "MeasurementId", "FirebaseAppId", "CreateTime", "UpdateTime", "DefaultUri", "DisplayName", }); + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, + new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, + new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "PackageName", }); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "BundleId", }); + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, + new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, + new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", }); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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", }); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(15); + 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(16); + 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", "WebDataStream", "AndroidAppDataStream", "IosAppDataStream", "FirebaseLink", "GoogleAdsLink", "GoogleSignalsSettings", "DisplayVideo360AdvertiserLink", "DisplayVideo360AdvertiserLinkProposal", "ConversionEvent", "MeasurementProtocolSecret", "CustomDimension", "CustomMetric", "DataRetentionSettings", "Resource", }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = + getDescriptor().getMessageTypes().get(17); + 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(18); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, + new java.lang.String[] { "Name", "AdvertiserId", "LinkProposalStatusDetails", "AdvertiserDisplayName", "ValidationEmail", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = + getDescriptor().getMessageTypes().get(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", }); + 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", }); + 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", }); + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java index 21485181..bfe07203 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -49,15 +30,16 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchChangeHistoryEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,135 +59,124 @@ private SearchChangeHistoryEventsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; + property_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceType_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + resourceType_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { resourceType_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } resourceType_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceType_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - resourceType_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + action_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + action_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } action_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - action_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - action_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + actorEmail_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - actorEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - actorEmail_.add(s); - break; + actorEmail_.add(s); + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (earliestChangeTime_ != null) { + subBuilder = earliestChangeTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (earliestChangeTime_ != null) { - subBuilder = earliestChangeTime_.toBuilder(); - } - earliestChangeTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(earliestChangeTime_); - earliestChangeTime_ = subBuilder.buildPartial(); - } - - break; + earliestChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(earliestChangeTime_); + earliestChangeTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (latestChangeTime_ != null) { - subBuilder = latestChangeTime_.toBuilder(); - } - latestChangeTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestChangeTime_); - latestChangeTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (latestChangeTime_ != null) { + subBuilder = latestChangeTime_.toBuilder(); } - case 64: - { - pageSize_ = input.readInt32(); - break; + latestChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestChangeTime_); + latestChangeTime_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 64: { + + pageSize_ = input.readInt32(); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); @@ -220,35 +191,27 @@ private SearchChangeHistoryEventsRequest( makeExtensionsImmutable(); } } - - 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; 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 @@ -257,31 +220,29 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Required. The account resource for which to return change history resources.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -292,17 +253,12 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int PROPERTY_FIELD_NUMBER = 2; 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 @@ -311,32 +267,30 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -347,53 +301,36 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; 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) { + public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.valueOf(from); - return result == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.valueOf(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 @@ -401,17 +338,12 @@ public int getResourceTypeCount() { return resourceType_.size(); } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.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. */ @@ -420,35 +352,26 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(index)); } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * 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. */ @@ -456,57 +379,41 @@ public java.util.List getResourceTypeValueList() { public int getResourceTypeValue(int index) { return resourceType_.get(index); } - private int resourceTypeMemoizedSerializedSize; public static final int ACTION_FIELD_NUMBER = 4; 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) { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.valueOf(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.valueOf(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 @@ -514,17 +421,12 @@ public int getActionCount() { return action_.size(); } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.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. */ @@ -533,35 +435,26 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * 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. */ @@ -569,48 +462,39 @@ public java.util.List getActionValueList() { public int getActionValue(int index) { return action_.get(index); } - private int actionMemoizedSerializedSize; public static final int ACTOR_EMAIL_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList actorEmail_; /** - * - * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_; } /** - * - * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -618,34 +502,27 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** - * - * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString getActorEmailBytes(int index) { + public com.google.protobuf.ByteString + getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** - * - * *
    * Optional. If set, only return changes made after this time (inclusive).
    * 
* - * - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -653,34 +530,23 @@ 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() { @@ -690,16 +556,11 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { 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 @@ -707,34 +568,23 @@ 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() { @@ -744,8 +594,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 8; 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
@@ -754,7 +602,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -765,8 +612,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 9; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -775,7 +620,6 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -784,15 +628,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -801,15 +644,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -818,7 +662,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -830,7 +673,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); @@ -885,27 +729,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < resourceType_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(resourceType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(resourceType_.get(i)); } size += dataSize; - if (!getResourceTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - resourceTypeMemoizedSerializedSize = dataSize; + if (!getResourceTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }resourceTypeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < action_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(action_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(action_.get(i)); } size += dataSize; - if (!getActionList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - actionMemoizedSerializedSize = dataSize; + if (!getActionList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }actionMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -916,13 +759,16 @@ public int getSerializedSize() { size += 1 * getActorEmailList().size(); } if (earliestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEarliestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEarliestChangeTime()); } if (latestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLatestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLatestChangeTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -935,29 +781,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (!getProperty().equals(other.getProperty())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; if (!resourceType_.equals(other.resourceType_)) return false; if (!action_.equals(other.action_)) return false; - if (!getActorEmailList().equals(other.getActorEmailList())) return false; + if (!getActorEmailList() + .equals(other.getActorEmailList())) return false; if (hasEarliestChangeTime() != other.hasEarliestChangeTime()) return false; if (hasEarliestChangeTime()) { - if (!getEarliestChangeTime().equals(other.getEarliestChangeTime())) return false; + if (!getEarliestChangeTime() + .equals(other.getEarliestChangeTime())) return false; } if (hasLatestChangeTime() != other.hasLatestChangeTime()) return false; if (hasLatestChangeTime()) { - if (!getLatestChangeTime().equals(other.getLatestChangeTime())) return false; + if (!getLatestChangeTime() + .equals(other.getLatestChangeTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1003,145 +855,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1175,16 +1016,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance(); } @java.lang.Override @@ -1198,8 +1037,7 @@ 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); int from_bitField0_ = bitField0_; result.account_ = account_; result.property_ = property_; @@ -1238,51 +1076,46 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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_; onChanged(); @@ -1353,9 +1186,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1364,27 +1195,22 @@ public Builder mergeFrom( } 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; @@ -1393,23 +1219,20 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -1417,67 +1240,54 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { + public Builder setAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + account_ = value; 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() { - + account_ = getDefaultInstance().getAccount(); 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) = { ... } * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + account_ = value; onChanged(); return this; @@ -1485,23 +1295,19 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object property_ = ""; /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1510,24 +1316,21 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1535,77 +1338,64 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; 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() { - + property_ = getDefaultInstance().getProperty(); 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) = { ... } * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); 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_ & 0x00000001) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1613,54 +1403,37 @@ private void ensureResourceTypeIsMutable() { } } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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. */ @@ -1668,17 +1441,12 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(index)); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * 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. @@ -1694,22 +1462,16 @@ public Builder setResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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(); } @@ -1719,23 +1481,17 @@ public Builder addResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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()); @@ -1744,17 +1500,12 @@ public Builder addAllResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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() { @@ -1764,34 +1515,25 @@ public Builder clearResourceType() { return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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. */ @@ -1799,39 +1541,30 @@ public int getResourceTypeValue(int index) { return resourceType_.get(index); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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. * @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. */ @@ -1842,21 +1575,17 @@ public Builder addResourceTypeValue(int value) { return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.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); @@ -1865,8 +1594,8 @@ public Builder addAllResourceTypeValue(java.lang.Iterable val return this; } - private java.util.List action_ = java.util.Collections.emptyList(); - + private java.util.List action_ = + java.util.Collections.emptyList(); private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1874,53 +1603,37 @@ 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. */ @@ -1928,22 +1641,18 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * 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(); } @@ -1953,17 +1662,12 @@ public Builder setAction(int index, com.google.analytics.admin.v1alpha.ActionTyp return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * 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. */ @@ -1977,17 +1681,12 @@ public Builder addAction(com.google.analytics.admin.v1alpha.ActionType value) { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * 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. */ @@ -2001,17 +1700,12 @@ public Builder addAllAction( return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.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() { @@ -2021,34 +1715,25 @@ public Builder clearAction() { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.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. */ @@ -2056,39 +1741,30 @@ public int getActionValue(int index) { return action_.get(index); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.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. * @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. */ @@ -2099,21 +1775,17 @@ public Builder addActionValue(int value) { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.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); @@ -2122,52 +1794,42 @@ public Builder addAllActionValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.LazyStringList actorEmail_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -2175,90 +1837,80 @@ 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) { + public Builder setActorEmail( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureActorEmailIsMutable(); + throw new NullPointerException(); + } + ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail(java.lang.String value) { + public Builder addActorEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureActorEmailIsMutable(); + throw new NullPointerException(); + } + ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail(java.lang.Iterable values) { + public Builder addAllActorEmail( + java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actorEmail_); onChanged(); return this; } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -2268,22 +1920,20 @@ public Builder clearActorEmail() { return this; } /** - * - * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { + public Builder addActorEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); @@ -2292,58 +1942,39 @@ public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp earliestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestChangeTimeBuilder_; /** - * - * *
      * Optional. If set, only return changes made after this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the earliestChangeTime field is set. */ public boolean hasEarliestChangeTime() { return earliestChangeTimeBuilder_ != null || 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. */ 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) { @@ -2359,17 +1990,14 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. If set, only return changes made after this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestChangeTimeBuilder_ == null) { earliestChangeTime_ = builderForValue.build(); onChanged(); @@ -2380,23 +2008,17 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Optional. If set, only return changes made after this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { if (earliestChangeTime_ != null) { earliestChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(earliestChangeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(earliestChangeTime_).mergeFrom(value).buildPartial(); } else { earliestChangeTime_ = value; } @@ -2408,15 +2030,11 @@ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. If set, only return changes made after this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEarliestChangeTime() { if (earliestChangeTimeBuilder_ == null) { @@ -2430,64 +2048,48 @@ 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() { - + onChanged(); 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_; @@ -2495,58 +2097,39 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { private com.google.protobuf.Timestamp latestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - latestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestChangeTimeBuilder_; /** - * - * *
      * Optional. If set, only return changes made before this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the latestChangeTime field is set. */ public boolean hasLatestChangeTime() { return latestChangeTimeBuilder_ != null || 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. */ 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) { @@ -2562,17 +2145,14 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. If set, only return changes made before this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (latestChangeTimeBuilder_ == null) { latestChangeTime_ = builderForValue.build(); onChanged(); @@ -2583,23 +2163,17 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * Optional. If set, only return changes made before this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { if (latestChangeTime_ != null) { latestChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(latestChangeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(latestChangeTime_).mergeFrom(value).buildPartial(); } else { latestChangeTime_ = value; } @@ -2611,15 +2185,11 @@ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. If set, only return changes made before this time (inclusive).
      * 
* - * - * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLatestChangeTime() { if (latestChangeTimeBuilder_ == null) { @@ -2633,73 +2203,55 @@ 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() { - + onChanged(); 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
@@ -2708,7 +2260,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2716,8 +2267,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2726,19 +2275,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2747,11 +2293,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2759,8 +2304,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2769,13 +2312,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; @@ -2784,8 +2327,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2794,14 +2335,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2809,8 +2351,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2819,22 +2359,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2843,18 +2381,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2863,23 +2398,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2889,32 +2424,30 @@ 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 { - return new SearchChangeHistoryEventsRequest(input, extensionRegistry); - } - }; + 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 { + return new SearchChangeHistoryEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2926,8 +2459,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java index 61d883dc..ece12d2f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java @@ -1,381 +1,258 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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
@@ -384,14 +261,11 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -400,13 +274,10 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -415,8 +286,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java index 9f7d63fa..cd2d2f4f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchChangeHistoryEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,40 +55,35 @@ private SearchChangeHistoryEventsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent>(); - mutable_bitField0_ |= 0x00000001; - } - changeHistoryEvents_.add( - input.readMessage( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + changeHistoryEvents_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + changeHistoryEvents_.add( + input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -115,111 +92,88 @@ private SearchChangeHistoryEventsResponse( makeExtensionsImmutable(); } } - - 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; - 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; 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 @@ -228,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -260,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < changeHistoryEvents_.size(); i++) { output.writeMessage(1, changeHistoryEvents_.get(i)); } @@ -289,8 +243,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_); @@ -303,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; - if (!getChangeHistoryEventsList().equals(other.getChangeHistoryEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getChangeHistoryEventsList() + .equals(other.getChangeHistoryEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,147 +291,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChangeHistoryEventsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -492,16 +435,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance(); } @java.lang.Override @@ -515,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -536,51 +476,46 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()) { @@ -599,10 +534,9 @@ public Builder mergeFrom( changeHistoryEventsBuilder_ = null; changeHistoryEvents_ = other.changeHistoryEvents_; bitField0_ = (bitField0_ & ~0x00000001); - changeHistoryEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChangeHistoryEventsFieldBuilder() - : null; + changeHistoryEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChangeHistoryEventsFieldBuilder() : null; } else { changeHistoryEventsBuilder_.addAllMessages(other.changeHistoryEvents_); } @@ -631,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,39 +574,28 @@ public Builder mergeFrom( } 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 { @@ -682,14 +603,11 @@ private void ensureChangeHistoryEventsIsMutable() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public int getChangeHistoryEventsCount() { if (changeHistoryEventsBuilder_ == null) { @@ -699,14 +617,11 @@ public int getChangeHistoryEventsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -716,14 +631,11 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEve } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -740,14 +652,11 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -761,17 +670,13 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public Builder addChangeHistoryEvents( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { + public Builder addChangeHistoryEvents(com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { if (changeHistoryEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +690,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -809,14 +711,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -830,14 +729,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -851,21 +747,18 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addAllChangeHistoryEvents( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (changeHistoryEventsBuilder_ == null) { ensureChangeHistoryEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeHistoryEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changeHistoryEvents_); onChanged(); } else { changeHistoryEventsBuilder_.addAllMessages(values); @@ -873,14 +766,11 @@ public Builder addAllChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder clearChangeHistoryEvents() { if (changeHistoryEventsBuilder_ == null) { @@ -893,14 +783,11 @@ public Builder clearChangeHistoryEvents() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder removeChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -913,49 +800,39 @@ public Builder removeChangeHistoryEvents(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - getChangeHistoryEventsBuilder(int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder( + int index) { return getChangeHistoryEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder - getChangeHistoryEventsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( + int index) { if (changeHistoryEventsBuilder_ == null) { - return changeHistoryEvents_.get(index); - } else { + return changeHistoryEvents_.get(index); } else { return changeHistoryEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsOrBuilderList() { + public java.util.List + getChangeHistoryEventsOrBuilderList() { if (changeHistoryEventsBuilder_ != null) { return changeHistoryEventsBuilder_.getMessageOrBuilderList(); } else { @@ -963,62 +840,45 @@ public Builder removeChangeHistoryEvents(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder() { - return getChangeHistoryEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder() { + return getChangeHistoryEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder(int index) { - return getChangeHistoryEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder( + int index) { + return getChangeHistoryEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsBuilderList() { + public java.util.List + getChangeHistoryEventsBuilderList() { return getChangeHistoryEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> getChangeHistoryEventsFieldBuilder() { if (changeHistoryEventsBuilder_ == null) { - changeHistoryEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( + changeHistoryEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( changeHistoryEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1030,21 +890,19 @@ public Builder removeChangeHistoryEvents(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1053,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1076,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1150,32 +1000,30 @@ 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 { - return new SearchChangeHistoryEventsResponse(input, extensionRegistry); - } - }; + 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 { + return new SearchChangeHistoryEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,8 +1035,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 66% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java index 2eb7cc15..bcf0e3b0 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,111 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface SearchChangeHistoryEventsResponseOrBuilder - extends +public interface SearchChangeHistoryEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - java.util.List + java.util.List getChangeHistoryEventsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ int getChangeHistoryEventsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java index 5b0da43a..6af0b872 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ServiceLevel} */ -public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -39,8 +21,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_LEVEL_UNSPECIFIED(0), /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -49,8 +29,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_ANALYTICS_STANDARD(1), /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -62,8 +40,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -72,8 +48,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -82,8 +56,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -92,6 +64,7 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: - return SERVICE_LEVEL_UNSPECIFIED; - case 1: - return GOOGLE_ANALYTICS_STANDARD; - case 2: - return GOOGLE_ANALYTICS_360; - default: - return null; + case 0: return SERVICE_LEVEL_UNSPECIFIED; + case 1: return GOOGLE_ANALYTICS_STANDARD; + case 2: return GOOGLE_ANALYTICS_360; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ServiceLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ServiceLevel) } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java index ba029004..e55818bf 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) UpdateAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAccountRequest() {} + private UpdateAccountRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,85 +52,73 @@ private UpdateAccountRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; - if (account_ != null) { - subBuilder = account_.toBuilder(); - } - account_ = - input.readMessage( - com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(account_); - account_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; + if (account_ != null) { + subBuilder = account_.toBuilder(); + } + account_ = input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(account_); + account_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -154,36 +126,25 @@ 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() { @@ -193,17 +154,13 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -229,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -246,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -275,10 +225,12 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -288,21 +240,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAccountRequest other = - (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAccountRequest other = (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -329,127 +282,117 @@ 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() @@ -457,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_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 @@ -506,8 +450,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateAccountRequest result = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { @@ -526,39 +469,38 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -566,8 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -593,8 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateAccountRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,61 +546,42 @@ public Builder mergeFrom( 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 accountBuilder_ != null || 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. */ 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) { @@ -676,18 +597,15 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); @@ -698,24 +616,18 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder bui return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = - com.google.analytics.admin.v1alpha.Account.newBuilder(account_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } @@ -727,16 +639,12 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAccount() { if (accountBuilder_ == null) { @@ -750,67 +658,51 @@ 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() { - + onChanged(); 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_; @@ -818,61 +710,45 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -888,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -910,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -937,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -960,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1037,12 +892,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(); } @@ -1051,16 +906,16 @@ 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 { - return new UpdateAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,4 +930,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java index d10a3e06..497bc055 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java @@ -1,113 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAccountRequestOrBuilder - extends +public interface UpdateAccountRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccountRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java index c829e275..51434ca4 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest} */ -public final class UpdateAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAndroidAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) UpdateAndroidAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAndroidAppDataStreamRequest.newBuilder() to construct. - private UpdateAndroidAppDataStreamRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAndroidAppDataStreamRequest() {} + private UpdateAndroidAppDataStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,86 +52,73 @@ private UpdateAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null; - if (androidAppDataStream_ != null) { - subBuilder = androidAppDataStream_.toBuilder(); - } - androidAppDataStream_ = - input.readMessage( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(androidAppDataStream_); - androidAppDataStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null; + if (androidAppDataStream_ != null) { + subBuilder = androidAppDataStream_.toBuilder(); + } + androidAppDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(androidAppDataStream_); + androidAppDataStream_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); } public static final int ANDROID_APP_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.AndroidAppDataStream androidAppDataStream_; /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -156,57 +126,41 @@ public boolean hasAndroidAppDataStream() { return androidAppDataStream_ != null; } /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The androidAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { - return androidAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() - : androidAppDataStream_; + return androidAppDataStream_ == null ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; } /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { return getAndroidAppDataStream(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -214,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -232,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -249,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (androidAppDataStream_ != null) { output.writeMessage(1, getAndroidAppDataStream()); } @@ -278,11 +225,12 @@ public int getSerializedSize() { size = 0; if (androidAppDataStream_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAndroidAppDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAndroidAppDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,21 +240,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.UpdateAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) obj; if (hasAndroidAppDataStream() != other.hasAndroidAppDataStream()) return false; if (hasAndroidAppDataStream()) { - if (!getAndroidAppDataStream().equals(other.getAndroidAppDataStream())) return false; + if (!getAndroidAppDataStream() + .equals(other.getAndroidAppDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,145 +282,134 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.newBuilder() + // Construct using com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,16 +429,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_UpdateAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance(); } @java.lang.Override @@ -514,8 +450,7 @@ public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buil @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(this); if (androidAppDataStreamBuilder_ == null) { result.androidAppDataStream_ = androidAppDataStream_; } else { @@ -534,51 +469,46 @@ public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance()) return this; if (other.hasAndroidAppDataStream()) { mergeAndroidAppDataStream(other.getAndroidAppDataStream()); } @@ -604,9 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,64 +546,44 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.AndroidAppDataStream androidAppDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> - androidAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamBuilder_; /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the androidAppDataStream field is set. */ public boolean hasAndroidAppDataStream() { return androidAppDataStreamBuilder_ != null || androidAppDataStream_ != null; } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The androidAppDataStream. */ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { - return androidAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() - : androidAppDataStream_; + return androidAppDataStream_ == null ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; } else { return androidAppDataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAndroidAppDataStream( - com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -689,16 +597,12 @@ public Builder setAndroidAppDataStream( return this; } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAndroidAppDataStream( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -712,26 +616,18 @@ public Builder setAndroidAppDataStream( return this; } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAndroidAppDataStream( - com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (androidAppDataStream_ != null) { androidAppDataStream_ = - com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder( - androidAppDataStream_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder(androidAppDataStream_).mergeFrom(value).buildPartial(); } else { androidAppDataStream_ = value; } @@ -743,16 +639,12 @@ public Builder mergeAndroidAppDataStream( return this; } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { @@ -766,69 +658,51 @@ public Builder clearAndroidAppDataStream() { return this; } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder - getAndroidAppDataStreamBuilder() { - + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamBuilder() { + onChanged(); return getAndroidAppDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { if (androidAppDataStreamBuilder_ != null) { return androidAppDataStreamBuilder_.getMessageOrBuilder(); } else { - return androidAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() - : androidAppDataStream_; + return androidAppDataStream_ == null ? + com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; } } /** - * - * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamFieldBuilder() { if (androidAppDataStreamBuilder_ == null) { - androidAppDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( - getAndroidAppDataStream(), getParentForChildren(), isClean()); + androidAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + getAndroidAppDataStream(), + getParentForChildren(), + isClean()); androidAppDataStream_ = null; } return androidAppDataStreamBuilder_; @@ -836,61 +710,45 @@ public Builder clearAndroidAppDataStream() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -906,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -928,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -955,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -978,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,32 +892,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,8 +927,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java index ecc55b89..3fdd9165 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java @@ -1,114 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAndroidAppDataStreamRequestOrBuilder - extends +public interface UpdateAndroidAppDataStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the androidAppDataStream field is set. */ boolean hasAndroidAppDataStream(); /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The androidAppDataStream. */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(); /** - * - * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder - getAndroidAppDataStreamOrBuilder(); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java index fbb48577..412795ea 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomDimensionRequest() {} + private UpdateCustomDimensionRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,83 +52,72 @@ private UpdateCustomDimensionRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; - if (customDimension_ != null) { - subBuilder = customDimension_.toBuilder(); - } - customDimension_ = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomDimension.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customDimension_); - customDimension_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; + if (customDimension_ != null) { + subBuilder = customDimension_.toBuilder(); + } + customDimension_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customDimension_); + customDimension_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -152,25 +125,18 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } /** - * - * *
    * The CustomDimension to update
    * 
@@ -185,17 +151,13 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime 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 @@ -203,17 +165,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -221,16 +179,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -238,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -267,10 +222,12 @@ public int getSerializedSize() { size = 0; if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomDimension()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +237,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,127 +279,117 @@ 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() @@ -449,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance(); } @@ -499,8 +447,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); if (customDimensionBuilder_ == null) { result.customDimension_ = customDimension_; } else { @@ -519,50 +466,46 @@ public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -588,9 +531,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,47 +543,34 @@ public Builder mergeFrom( 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 customDimensionBuilder_ != null || customDimension_ != null; } /** - * - * *
      * 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
      * 
@@ -663,8 +591,6 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -683,8 +609,6 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -695,9 +619,7 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim if (customDimensionBuilder_ == null) { if (customDimension_ != null) { customDimension_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_).mergeFrom(value).buildPartial(); } else { customDimension_ = value; } @@ -709,8 +631,6 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -729,8 +649,6 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -738,32 +656,26 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { - + onChanged(); 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
      * 
@@ -771,17 +683,14 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( - getCustomDimension(), getParentForChildren(), isClean()); + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + getCustomDimension(), + getParentForChildren(), + isClean()); customDimension_ = null; } return customDimensionBuilder_; @@ -789,61 +698,45 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .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 updateMaskBuilder_ != null || 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. */ 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) { @@ -859,18 +752,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -881,22 +772,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -908,16 +796,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -931,74 +816,61 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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); } @@ -1008,32 +880,30 @@ 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 { - return new UpdateCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +915,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java index a379c03d..936eb693 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomDimensionRequestOrBuilder - extends +public interface UpdateCustomDimensionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomDimensionRequestOrBuilder com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java similarity index 69% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java index 61e5315a..a44e9a64 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomMetricRequest() {} + private UpdateCustomMetricRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,82 +52,72 @@ private UpdateCustomMetricRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; - if (customMetric_ != null) { - subBuilder = customMetric_.toBuilder(); - } - customMetric_ = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customMetric_); - customMetric_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; + if (customMetric_ != null) { + subBuilder = customMetric_.toBuilder(); + } + customMetric_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customMetric_); + customMetric_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -151,25 +125,18 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } /** - * - * *
    * The CustomMetric to update
    * 
@@ -184,17 +151,13 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO 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 @@ -202,17 +165,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -220,16 +179,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -237,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -266,10 +222,12 @@ public int getSerializedSize() { size = 0; if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomMetric()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +237,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,127 +279,117 @@ 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() @@ -448,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance(); } @@ -498,8 +447,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); if (customMetricBuilder_ == null) { result.customMetric_ = customMetric_; } else { @@ -518,39 +466,38 @@ public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -558,9 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) return this; if (other.hasCustomMetric()) { mergeCustomMetric(other.getCustomMetric()); } @@ -586,8 +531,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +543,34 @@ public Builder mergeFrom( 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 customMetricBuilder_ != null || customMetric_ != null; } /** - * - * *
      * 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
      * 
@@ -660,8 +591,6 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -680,8 +609,6 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -692,9 +619,7 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric if (customMetricBuilder_ == null) { if (customMetric_ != null) { customMetric_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_).mergeFrom(value).buildPartial(); } else { customMetric_ = value; } @@ -706,8 +631,6 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -726,8 +649,6 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -735,13 +656,11 @@ public Builder clearCustomMetric() { * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBuilder() { - + onChanged(); return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
      * The CustomMetric to update
      * 
@@ -752,14 +671,11 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } } /** - * - * *
      * The CustomMetric to update
      * 
@@ -767,17 +683,14 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( - getCustomMetric(), getParentForChildren(), isClean()); + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + getCustomMetric(), + getParentForChildren(), + isClean()); customMetric_ = null; } return customMetricBuilder_; @@ -785,61 +698,45 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .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 updateMaskBuilder_ != null || 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. */ 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) { @@ -855,18 +752,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -877,22 +772,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -904,16 +796,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -927,74 +816,61 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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); } @@ -1004,13 +880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(); } @@ -1019,16 +894,16 @@ 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 { - return new UpdateCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,4 +918,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java index 76737db8..d088c6e3 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomMetricRequestOrBuilder - extends +public interface UpdateCustomMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomMetricRequestOrBuilder com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java index e31f0560..8844c6b7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataRetentionSettingsRequest() {} + private UpdateDataRetentionSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateDataRetentionSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,86 +52,73 @@ private UpdateDataRetentionSettingsRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null; - if (dataRetentionSettings_ != null) { - subBuilder = dataRetentionSettings_.toBuilder(); - } - dataRetentionSettings_ = - input.readMessage( - com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataRetentionSettings_); - dataRetentionSettings_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null; + if (dataRetentionSettings_ != null) { + subBuilder = dataRetentionSettings_.toBuilder(); + } + dataRetentionSettings_ = input.readMessage(com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataRetentionSettings_); + dataRetentionSettings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -156,57 +126,41 @@ public boolean hasDataRetentionSettings() { return dataRetentionSettings_ != null; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.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() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { return getDataRetentionSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -214,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -232,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -249,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -278,11 +225,12 @@ public int getSerializedSize() { size = 0; if (dataRetentionSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRetentionSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataRetentionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,21 +240,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; if (hasDataRetentionSettings() != other.hasDataRetentionSettings()) return false; if (hasDataRetentionSettings()) { - if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings() + .equals(other.getDataRetentionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,145 +282,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,16 +429,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -514,8 +450,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); if (dataRetentionSettingsBuilder_ == null) { result.dataRetentionSettings_ = dataRetentionSettings_; } else { @@ -534,51 +469,46 @@ public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -604,9 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,64 +546,44 @@ public Builder mergeFrom( 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 dataRetentionSettingsBuilder_ != null || 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. */ 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(); @@ -689,16 +597,12 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -712,26 +616,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (dataRetentionSettings_ != null) { dataRetentionSettings_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder( - dataRetentionSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder(dataRetentionSettings_).mergeFrom(value).buildPartial(); } else { dataRetentionSettings_ = value; } @@ -743,16 +639,12 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -766,69 +658,51 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { - + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { + 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_; @@ -836,61 +710,45 @@ public Builder clearDataRetentionSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -906,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -928,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -955,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -978,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,32 +892,30 @@ 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 { - return new UpdateDataRetentionSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDataRetentionSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,8 +927,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java index 3e1d5ccd..f4ff2af7 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -1,114 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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 replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java new file mode 100644 index 00000000..cf453d9b --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java @@ -0,0 +1,923 @@ +// Generated by 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 + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) + UpdateDataStreamRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpdateDataStreamRequest.newBuilder() to construct. + private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpdateDataStreamRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpdateDataStreamRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpdateDataStreamRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; + if (dataStream_ != null) { + subBuilder = dataStream_.toBuilder(); + } + dataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataStream_); + dataStream_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.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 + .ensureFieldAccessorsInitialized( + 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 + 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_; + } + /** + *
+   * The DataStream to update
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { + return getDataStream(); + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.protobuf.FieldMask updateMask_; + /** + *
+   * Required. The list of fields to be updated. Omitted fields will not be updated.
+   * To replace the entire entity, use one path with the string "*" to match
+   * all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + *
+   * Required. The list of fields to be updated. Omitted fields will not be updated.
+   * To replace the entire entity, use one path with the string "*" to match
+   * all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + *
+   * Required. The list of fields to be updated. Omitted fields will not be updated.
+   * To replace the entire entity, use one path with the string "*" to match
+   * all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + + 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 (dataStream_ != null) { + output.writeMessage(1, getDataStream()); + } + if (updateMask_ != null) { + output.writeMessage(2, getUpdateMask()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (dataStream_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataStream()); + } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)) { + return super.equals(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 (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDataStream()) { + hash = (37 * hash) + DATA_STREAM_FIELD_NUMBER; + hash = (53 * hash) + getDataStream().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( + 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) + 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) + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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); + } + 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); + } + + @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.UpdateDataStreamRequest 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 UpdateDataStream RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dataStreamBuilder_ == null) { + dataStream_ = null; + } else { + dataStream_ = null; + dataStreamBuilder_ = null; + } + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest build() { + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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 (dataStreamBuilder_ == null) { + result.dataStream_ = dataStream_; + } else { + result.dataStream_ = dataStreamBuilder_.build(); + } + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } + 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.UpdateDataStreamRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance()) return this; + if (other.hasDataStream()) { + mergeDataStream(other.getDataStream()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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_; + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * @return Whether the dataStream field is set. + */ + public boolean hasDataStream() { + return dataStreamBuilder_ != null || dataStream_ != null; + } + /** + *
+     * 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_; + } else { + return dataStreamBuilder_.getMessage(); + } + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value) { + if (dataStreamBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataStream_ = value; + onChanged(); + } else { + dataStreamBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + public Builder setDataStream( + com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { + if (dataStreamBuilder_ == null) { + dataStream_ = builderForValue.build(); + onChanged(); + } else { + dataStreamBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { + if (dataStreamBuilder_ == null) { + if (dataStream_ != null) { + dataStream_ = + com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_).mergeFrom(value).buildPartial(); + } else { + dataStream_ = value; + } + onChanged(); + } else { + dataStreamBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + public Builder clearDataStream() { + if (dataStreamBuilder_ == null) { + dataStream_ = null; + onChanged(); + } else { + dataStream_ = null; + dataStreamBuilder_ = null; + } + + return this; + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilder() { + + onChanged(); + return getDataStreamFieldBuilder().getBuilder(); + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + 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_; + } + } + /** + *
+     * The DataStream to update
+     * 
+ * + * .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> + 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()); + dataStream_ = null; + } + return dataStreamBuilder_; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(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]; + */ + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(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]; + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + } + /** + *
+     * Required. The list of fields to be updated. Omitted fields will not be updated.
+     * To replace the entire entity, use one path with the string "*" to match
+     * all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.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(); + } + + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefaultInstance() { + 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 { + return new UpdateDataStreamRequest(input, extensionRegistry); + } + }; + + 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.UpdateDataStreamRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..73253616 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface 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
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + 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]; + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + *
+   * Required. The list of fields to be updated. Omitted fields will not be updated.
+   * To replace the entire entity, use one path with the string "*" to match
+   * all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + *
+   * Required. The list of fields to be updated. Omitted fields will not be updated.
+   * To replace the entire entity, use one path with the string "*" to match
+   * all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java similarity index 58% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java index db028ab6..91ae8e3c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java @@ -1,57 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ -public final class UpdateDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private UpdateDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDisplayVideo360AdvertiserLinkRequest() {} + private UpdateDisplayVideo360AdvertiserLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,88 +52,72 @@ private UpdateDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = - null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); - } - displayVideo360AdvertiserLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + } + displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -159,56 +125,39 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { return getDisplayVideo360AdvertiserLink(); } 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 @@ -216,17 +165,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -234,16 +179,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -251,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (displayVideo360AdvertiserLink_ != null) { output.writeMessage(1, getDisplayVideo360AdvertiserLink()); } @@ -280,12 +222,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,24 +237,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) - return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - return false; + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -338,152 +278,135 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -503,22 +426,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -526,10 +446,8 @@ 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); + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); if (displayVideo360AdvertiserLinkBuilder_ == null) { result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; } else { @@ -548,53 +466,46 @@ public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -616,14 +527,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,66 +541,43 @@ public Builder mergeFrom( 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_; /** - * - * *
      * 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 displayVideo360AdvertiserLinkBuilder_ != null - || displayVideo360AdvertiserLink_ != null; + return displayVideo360AdvertiserLinkBuilder_ != null || 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. */ - 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(); @@ -706,15 +591,11 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -728,25 +609,17 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (displayVideo360AdvertiserLink_ != null) { displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( - displayVideo360AdvertiserLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); } else { displayVideo360AdvertiserLink_ = value; } @@ -758,15 +631,11 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ public Builder clearDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -780,66 +649,48 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { - + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + 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_; @@ -847,61 +698,45 @@ public Builder clearDisplayVideo360AdvertiserLink() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .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 updateMaskBuilder_ != null || 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. */ 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) { @@ -917,18 +752,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -939,22 +772,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -966,16 +796,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -989,74 +816,61 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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); } @@ -1066,34 +880,30 @@ 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 { - return new UpdateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,8 +915,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java index 7424c583..91bb9f2f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -1,112 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder - extends +public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java index 347f5eb9..f41a1341 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGoogleAdsLinkRequest() {} + private UpdateGoogleAdsLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,82 +52,72 @@ private UpdateGoogleAdsLinkRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; - if (googleAdsLink_ != null) { - subBuilder = googleAdsLink_.toBuilder(); - } - googleAdsLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleAdsLink_); - googleAdsLink_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; + if (googleAdsLink_ != null) { + subBuilder = googleAdsLink_.toBuilder(); + } + googleAdsLink_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleAdsLink_); + googleAdsLink_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -151,25 +125,18 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -184,17 +151,13 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -202,17 +165,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -220,16 +179,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -237,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (googleAdsLink_ != null) { output.writeMessage(1, getGoogleAdsLink()); } @@ -266,10 +222,12 @@ public int getSerializedSize() { size = 0; if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGoogleAdsLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +237,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,127 +279,117 @@ 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() @@ -448,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -498,8 +447,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); if (googleAdsLinkBuilder_ == null) { result.googleAdsLink_ = googleAdsLink_; } else { @@ -518,39 +466,38 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -558,9 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (other.hasGoogleAdsLink()) { mergeGoogleAdsLink(other.getGoogleAdsLink()); } @@ -586,9 +531,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,47 +543,34 @@ public Builder mergeFrom( 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 googleAdsLinkBuilder_ != null || googleAdsLink_ != null; } /** - * - * *
      * 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
      * 
@@ -661,8 +591,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -681,8 +609,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -693,9 +619,7 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi if (googleAdsLinkBuilder_ == null) { if (googleAdsLink_ != null) { googleAdsLink_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_).mergeFrom(value).buildPartial(); } else { googleAdsLink_ = value; } @@ -707,8 +631,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -727,8 +649,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -736,13 +656,11 @@ public Builder clearGoogleAdsLink() { * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { - + onChanged(); return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -753,14 +671,11 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -768,17 +683,14 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), getParentForChildren(), isClean()); + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), + getParentForChildren(), + isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; @@ -786,61 +698,45 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -856,18 +752,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -878,22 +772,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -905,16 +796,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -928,74 +816,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1005,13 +880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(); } @@ -1020,16 +894,16 @@ 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 { - return new UpdateGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,4 +918,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java similarity index 72% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java index 9a302809..7bd45e6c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateGoogleAdsLinkRequestOrBuilder - extends +public interface UpdateGoogleAdsLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java index 0e1d8961..e8822af6 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ -public final class UpdateGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGoogleSignalsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) UpdateGoogleSignalsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGoogleSignalsSettingsRequest.newBuilder() to construct. - private UpdateGoogleSignalsSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGoogleSignalsSettingsRequest() {} + private UpdateGoogleSignalsSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateGoogleSignalsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,86 +52,73 @@ private UpdateGoogleSignalsSettingsRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null; - if (googleSignalsSettings_ != null) { - subBuilder = googleSignalsSettings_.toBuilder(); - } - googleSignalsSettings_ = - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleSignalsSettings_); - googleSignalsSettings_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null; + if (googleSignalsSettings_ != null) { + subBuilder = googleSignalsSettings_.toBuilder(); + } + googleSignalsSettings_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleSignalsSettings_); + googleSignalsSettings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -156,57 +126,41 @@ 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() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { return getGoogleSignalsSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -214,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -232,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -249,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (googleSignalsSettings_ != null) { output.writeMessage(1, getGoogleSignalsSettings()); } @@ -278,11 +225,12 @@ public int getSerializedSize() { size = 0; if (googleSignalsSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleSignalsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGoogleSignalsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,21 +240,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; if (hasGoogleSignalsSettings() != other.hasGoogleSignalsSettings()) return false; if (hasGoogleSignalsSettings()) { - if (!getGoogleSignalsSettings().equals(other.getGoogleSignalsSettings())) return false; + if (!getGoogleSignalsSettings() + .equals(other.getGoogleSignalsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,145 +282,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,16 +429,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -514,8 +450,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); if (googleSignalsSettingsBuilder_ == null) { result.googleSignalsSettings_ = googleSignalsSettings_; } else { @@ -534,51 +469,46 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -604,9 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,64 +546,44 @@ public Builder mergeFrom( 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 googleSignalsSettingsBuilder_ != null || 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. */ 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(); @@ -689,16 +597,12 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -712,26 +616,18 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (googleSignalsSettings_ != null) { googleSignalsSettings_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder( - googleSignalsSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder(googleSignalsSettings_).mergeFrom(value).buildPartial(); } else { googleSignalsSettings_ = value; } @@ -743,16 +639,12 @@ public Builder mergeGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { @@ -766,69 +658,51 @@ public Builder clearGoogleSignalsSettings() { return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder - getGoogleSignalsSettingsBuilder() { - + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { + 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_; @@ -836,61 +710,45 @@ public Builder clearGoogleSignalsSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -906,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -928,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -955,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -978,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,32 +892,30 @@ 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 { - return new UpdateGoogleSignalsSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateGoogleSignalsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,8 +927,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java similarity index 62% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java index 6d1a6437..851c1109 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java @@ -1,114 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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 replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java similarity index 65% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java index 93543ad1..3557a949 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest} */ -public final class UpdateIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateIosAppDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) UpdateIosAppDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateIosAppDataStreamRequest.newBuilder() to construct. private UpdateIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateIosAppDataStreamRequest() {} + private UpdateIosAppDataStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,86 +52,73 @@ private UpdateIosAppDataStreamRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null; - if (iosAppDataStream_ != null) { - subBuilder = iosAppDataStream_.toBuilder(); - } - iosAppDataStream_ = - input.readMessage( - com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(iosAppDataStream_); - iosAppDataStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null; + if (iosAppDataStream_ != null) { + subBuilder = iosAppDataStream_.toBuilder(); + } + iosAppDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(iosAppDataStream_); + iosAppDataStream_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); } public static final int IOS_APP_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.IosAppDataStream iosAppDataStream_; /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -155,57 +126,41 @@ public boolean hasIosAppDataStream() { return iosAppDataStream_ != null; } /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The iosAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { - return iosAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() - : iosAppDataStream_; + return iosAppDataStream_ == null ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; } /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder - getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { return getIosAppDataStream(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -213,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -231,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -248,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (iosAppDataStream_ != null) { output.writeMessage(1, getIosAppDataStream()); } @@ -277,10 +225,12 @@ public int getSerializedSize() { size = 0; if (iosAppDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIosAppDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIosAppDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,21 +240,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.UpdateIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other = - (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) obj; if (hasIosAppDataStream() != other.hasIosAppDataStream()) return false; if (hasIosAppDataStream()) { - if (!getIosAppDataStream().equals(other.getIosAppDataStream())) return false; + if (!getIosAppDataStream() + .equals(other.getIosAppDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -331,127 +282,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.newBuilder() @@ -459,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +429,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance(); } @@ -509,8 +450,7 @@ public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest result = - new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(this); if (iosAppDataStreamBuilder_ == null) { result.iosAppDataStream_ = iosAppDataStream_; } else { @@ -529,50 +469,46 @@ public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance()) return this; if (other.hasIosAppDataStream()) { mergeIosAppDataStream(other.getIosAppDataStream()); } @@ -598,9 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,61 +546,42 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.IosAppDataStream iosAppDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> - iosAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamBuilder_; /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the iosAppDataStream field is set. */ public boolean hasIosAppDataStream() { return iosAppDataStreamBuilder_ != null || iosAppDataStream_ != null; } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The iosAppDataStream. */ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { if (iosAppDataStreamBuilder_ == null) { - return iosAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() - : iosAppDataStream_; + return iosAppDataStream_ == null ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; } else { return iosAppDataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { @@ -682,16 +597,12 @@ public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppData return this; } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIosAppDataStream( com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -705,25 +616,18 @@ public Builder setIosAppDataStream( return this; } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeIosAppDataStream( - com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { if (iosAppDataStream_ != null) { iosAppDataStream_ = - com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder(iosAppDataStream_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder(iosAppDataStream_).mergeFrom(value).buildPartial(); } else { iosAppDataStream_ = value; } @@ -735,16 +639,12 @@ public Builder mergeIosAppDataStream( return this; } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIosAppDataStream() { if (iosAppDataStreamBuilder_ == null) { @@ -758,69 +658,51 @@ public Builder clearIosAppDataStream() { return this; } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder - getIosAppDataStreamBuilder() { - + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamBuilder() { + onChanged(); return getIosAppDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder - getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { if (iosAppDataStreamBuilder_ != null) { return iosAppDataStreamBuilder_.getMessageOrBuilder(); } else { - return iosAppDataStream_ == null - ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() - : iosAppDataStream_; + return iosAppDataStream_ == null ? + com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; } } /** - * - * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamFieldBuilder() { if (iosAppDataStreamBuilder_ == null) { - iosAppDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, - com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( - getIosAppDataStream(), getParentForChildren(), isClean()); + iosAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + getIosAppDataStream(), + getParentForChildren(), + isClean()); iosAppDataStream_ = null; } return iosAppDataStreamBuilder_; @@ -828,61 +710,45 @@ public Builder clearIosAppDataStream() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -898,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -920,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -947,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -970,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1047,32 +892,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1084,8 +927,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java index 6eaa9606..f4b083b2 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java @@ -1,113 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateIosAppDataStreamRequestOrBuilder - extends +public interface UpdateIosAppDataStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the iosAppDataStream field is set. */ boolean hasIosAppDataStream(); /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The iosAppDataStream. */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(); /** - * - * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java similarity index 60% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java index 588545ec..588ec297 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java @@ -1,57 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateMeasurementProtocolSecretRequest() {} + private UpdateMeasurementProtocolSecretRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,87 +52,72 @@ private UpdateMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = - null; - if (measurementProtocolSecret_ != null) { - subBuilder = measurementProtocolSecret_.toBuilder(); - } - measurementProtocolSecret_ = - input.readMessage( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(measurementProtocolSecret_); - measurementProtocolSecret_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null; + if (measurementProtocolSecret_ != null) { + subBuilder = measurementProtocolSecret_.toBuilder(); + } + measurementProtocolSecret_ = input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(measurementProtocolSecret_); + measurementProtocolSecret_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -158,53 +125,37 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { return getMeasurementProtocolSecret(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -212,14 +163,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -227,8 +175,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -241,7 +187,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -270,12 +216,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,23 +231,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -328,146 +273,134 @@ 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() + // Construct using com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,22 +420,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -510,10 +440,8 @@ 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); + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); if (measurementProtocolSecretBuilder_ == null) { result.measurementProtocolSecret_ = measurementProtocolSecret_; } else { @@ -532,52 +460,46 @@ public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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()); } @@ -599,14 +521,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parsedMessage = - null; + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,62 +537,41 @@ public Builder mergeFrom( 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 measurementProtocolSecretBuilder_ != null || 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. */ - 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(); @@ -687,15 +585,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -709,25 +603,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (measurementProtocolSecret_ != null) { measurementProtocolSecret_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( - measurementProtocolSecret_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder(measurementProtocolSecret_).mergeFrom(value).buildPartial(); } else { measurementProtocolSecret_ = value; } @@ -739,15 +625,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -761,66 +643,48 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { - + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + 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_; @@ -828,47 +692,34 @@ public Builder clearMeasurementProtocolSecret() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -889,15 +740,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -908,8 +758,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -920,7 +768,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -932,8 +780,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -952,8 +798,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -961,13 +805,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -978,14 +820,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -993,24 +832,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1020,33 +856,30 @@ 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 { - return new UpdateMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,8 +891,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 6ead312f..55cd8c79 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,97 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateMeasurementProtocolSecretRequestOrBuilder - extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index 23d6bb82..4b1d668d 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePropertyRequest() {} + private UpdatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdatePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,86 +52,74 @@ private UpdatePropertyRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; - if (property_ != null) { - subBuilder = property_.toBuilder(); - } - property_ = - input.readMessage( - com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(property_); - property_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; + if (property_ != null) { + subBuilder = property_.toBuilder(); + } + property_ = input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(property_); + property_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -155,38 +127,27 @@ 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() { @@ -196,17 +157,13 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -214,17 +171,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -232,16 +185,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -249,7 +199,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +210,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -278,10 +228,12 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,21 +243,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = - (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; + com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -332,127 +285,117 @@ 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() @@ -460,15 +403,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +432,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 @@ -509,8 +453,7 @@ 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); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); if (propertyBuilder_ == null) { result.property_ = property_; } else { @@ -529,39 +472,38 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { 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; @@ -569,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -596,8 +537,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,64 +549,45 @@ public Builder mergeFrom( 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 propertyBuilder_ != null || 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. */ 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) { @@ -682,17 +603,13 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -706,25 +623,19 @@ public Builder setProperty( return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { if (property_ != null) { property_ = - com.google.analytics.admin.v1alpha.Property.newBuilder(property_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.Property.newBuilder(property_).mergeFrom(value).buildPartial(); } else { property_ = value; } @@ -736,17 +647,13 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { if (propertyBuilder_ == null) { @@ -760,70 +667,54 @@ 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() { - + onChanged(); 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_; @@ -831,61 +722,45 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -901,18 +776,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -923,22 +796,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -950,16 +820,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -973,74 +840,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1050,12 +904,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(); } @@ -1064,16 +918,16 @@ 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 { - return new UpdatePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1088,4 +942,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java index bad68db8..8c6a4482 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdatePropertyRequestOrBuilder - extends +public interface UpdatePropertyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java similarity index 63% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java index a871f44e..ef0b8087 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ -public final class UpdateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) UpdateUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserLinkRequest.newBuilder() to construct. private UpdateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateUserLinkRequest() {} + private UpdateUserLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,69 +52,59 @@ private UpdateUserLinkRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null; - if (userLink_ != null) { - subBuilder = userLink_.toBuilder(); - } - userLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(userLink_); - userLink_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null; + if (userLink_ != null) { + subBuilder = userLink_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + userLink_ = input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(userLink_); + userLink_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } public static final int USER_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ @java.lang.Override @@ -138,34 +112,23 @@ public boolean hasUserLink() { return userLink_ != null; } /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { @@ -173,7 +136,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (userLink_ != null) { output.writeMessage(1, getUserLink()); } @@ -199,7 +162,8 @@ public int getSerializedSize() { size = 0; if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUserLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -209,17 +173,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink().equals(other.getUserLink())) return false; + if (!getUserLink() + .equals(other.getUserLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -242,127 +206,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.newBuilder() @@ -370,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override @@ -413,8 +368,7 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = - new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); if (userLinkBuilder_ == null) { result.userLink_ = userLink_; } else { @@ -428,39 +382,38 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -468,8 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) return this; if (other.hasUserLink()) { mergeUserLink(other.getUserLink()); } @@ -492,8 +444,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -505,58 +456,39 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ public boolean hasUserLink() { return userLinkBuilder_ != null || userLink_ != null; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -572,15 +504,11 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -594,23 +522,17 @@ public Builder setUserLink( return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { if (userLink_ != null) { userLink_ = - com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_).mergeFrom(value).buildPartial(); } else { userLink_ = value; } @@ -622,15 +544,11 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUserLink() { if (userLinkBuilder_ == null) { @@ -644,71 +562,55 @@ public Builder clearUserLink() { return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { - + onChanged(); return getUserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), getParentForChildren(), isClean()); + userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), + getParentForChildren(), + isClean()); userLink_ = null; } return userLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.UpdateUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(); } @@ -732,16 +634,16 @@ public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,4 +658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..5f523e40 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface UpdateUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java similarity index 67% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java index d28636dc..2bfe0d65 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateWebDataStreamRequest} */ -public final class UpdateWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateWebDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) UpdateWebDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateWebDataStreamRequest.newBuilder() to construct. private UpdateWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateWebDataStreamRequest() {} + private UpdateWebDataStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,85 +52,73 @@ private UpdateWebDataStreamRequest( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; - if (webDataStream_ != null) { - subBuilder = webDataStream_.toBuilder(); - } - webDataStream_ = - input.readMessage( - com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webDataStream_); - webDataStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; + if (webDataStream_ != null) { + subBuilder = webDataStream_.toBuilder(); + } + webDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webDataStream_); + webDataStream_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); } public static final int WEB_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -154,36 +126,25 @@ public boolean hasWebDataStream() { return webDataStream_ != null; } /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { @@ -193,17 +154,13 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,17 +168,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -229,16 +182,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -246,7 +196,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (webDataStream_ != null) { output.writeMessage(1, getWebDataStream()); } @@ -275,10 +225,12 @@ public int getSerializedSize() { size = 0; if (webDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWebDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWebDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -288,21 +240,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.UpdateWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other = - (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) obj; if (hasWebDataStream() != other.hasWebDataStream()) return false; if (hasWebDataStream()) { - if (!getWebDataStream().equals(other.getWebDataStream())) return false; + if (!getWebDataStream() + .equals(other.getWebDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -329,127 +282,117 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateWebDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.newBuilder() @@ -457,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +429,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance(); } @@ -507,8 +450,7 @@ public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest result = - new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(this); if (webDataStreamBuilder_ == null) { result.webDataStream_ = webDataStream_; } else { @@ -527,39 +469,38 @@ public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -567,9 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance()) return this; if (other.hasWebDataStream()) { mergeWebDataStream(other.getWebDataStream()); } @@ -595,9 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,61 +546,42 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> - webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the webDataStream field is set. */ public boolean hasWebDataStream() { return webDataStreamBuilder_ != null || webDataStream_ != null; } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The webDataStream. */ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (webDataStreamBuilder_ == null) { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } else { return webDataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { @@ -679,16 +597,12 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWebDataStream( com.google.analytics.admin.v1alpha.WebDataStream.Builder builderForValue) { @@ -702,24 +616,18 @@ public Builder setWebDataStream( return this; } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { if (webDataStream_ != null) { webDataStream_ = - com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_).mergeFrom(value).buildPartial(); } else { webDataStream_ = value; } @@ -731,16 +639,12 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWebDataStream() { if (webDataStreamBuilder_ == null) { @@ -754,67 +658,51 @@ public Builder clearWebDataStream() { return this; } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStreamBuilder() { - + onChanged(); return getWebDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (webDataStreamBuilder_ != null) { return webDataStreamBuilder_.getMessageOrBuilder(); } else { - return webDataStream_ == null - ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() - : webDataStream_; + return webDataStream_ == null ? + com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; } } /** - * - * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { - webDataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, - com.google.analytics.admin.v1alpha.WebDataStream.Builder, - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( - getWebDataStream(), getParentForChildren(), isClean()); + webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + getWebDataStream(), + getParentForChildren(), + isClean()); webDataStream_ = null; } return webDataStreamBuilder_; @@ -822,61 +710,45 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -892,18 +764,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -914,22 +784,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -941,16 +808,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -964,74 +828,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1041,13 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(); } @@ -1056,16 +906,16 @@ public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,4 +930,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java similarity index 64% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java index e0f3c21c..e3c47b68 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java @@ -1,113 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateWebDataStreamRequestOrBuilder - extends +public interface UpdateWebDataStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the webDataStream field is set. */ boolean hasWebDataStream(); /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The webDataStream. */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); /** - * - * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java similarity index 71% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java index 97312bc1..1033e59e 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a user's permissions on an Account or
  * Property resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
  */
-public final class UserLink extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserLink extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UserLink)
     UserLinkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserLink.newBuilder() to construct.
   private UserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserLink() {
     name_ = "";
     emailAddress_ = "";
@@ -46,15 +28,16 @@ private UserLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UserLink(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,43 +57,41 @@ private UserLink(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              emailAddress_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                directRoles_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              directRoles_.add(s);
-              break;
+            emailAddress_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              directRoles_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            directRoles_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         directRoles_ = directRoles_.getUnmodifiableView();
@@ -119,33 +100,27 @@ private UserLink(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.UserLink.class,
-            com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+            com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -154,29 +129,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,14 +162,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ @java.lang.Override @@ -203,29 +175,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -236,15 +208,15 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { public static final int DIRECT_ROLES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList directRoles_; /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -252,22 +224,22 @@ public com.google.protobuf.ByteString getEmailAddressBytes() {
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_; } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -275,22 +247,21 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -298,7 +269,6 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -306,15 +276,15 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -322,16 +292,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,7 +312,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -384,17 +354,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UserLink other = - (com.google.analytics.admin.v1alpha.UserLink) obj; - - if (!getName().equals(other.getName())) return false; - if (!getEmailAddress().equals(other.getEmailAddress())) return false; - if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; + com.google.analytics.admin.v1alpha.UserLink other = (com.google.analytics.admin.v1alpha.UserLink) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; + if (!getDirectRolesList() + .equals(other.getDirectRolesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,104 +391,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a user's permissions on an Account or
    * Property resource.
@@ -524,23 +489,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UserLink)
       com.google.analytics.admin.v1alpha.UserLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.UserLink.class,
-              com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+              com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.UserLink.newBuilder()
@@ -548,15 +511,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -570,9 +534,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
@@ -591,8 +555,7 @@ public com.google.analytics.admin.v1alpha.UserLink build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
-      com.google.analytics.admin.v1alpha.UserLink result =
-          new com.google.analytics.admin.v1alpha.UserLink(this);
+      com.google.analytics.admin.v1alpha.UserLink result = new com.google.analytics.admin.v1alpha.UserLink(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.emailAddress_ = emailAddress_;
@@ -609,39 +572,38 @@ public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.UserLink) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -696,25 +658,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -723,21 +682,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -745,61 +703,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -807,20 +758,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object emailAddress_ = ""; /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -829,21 +778,20 @@ public java.lang.String getEmailAddress() { } } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -851,85 +799,76 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress(java.lang.String value) { + public Builder setEmailAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList directRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -937,22 +876,22 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -960,22 +899,21 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
      * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -983,7 +921,6 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -991,15 +928,15 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1007,23 +944,23 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1031,30 +968,30 @@ public com.google.protobuf.ByteString getDirectRolesBytes(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles(int index, java.lang.String value) { + public Builder setDirectRoles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1062,29 +999,29 @@ public Builder setDirectRoles(int index, java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles(java.lang.String value) { + public Builder addDirectRoles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1092,26 +1029,27 @@ public Builder addDirectRoles(java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles(java.lang.Iterable values) { + public Builder addAllDirectRoles( + java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directRoles_); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1119,7 +1057,6 @@ public Builder addAllDirectRoles(java.lang.Iterable values) {
      * 
* * repeated string direct_roles = 3; - * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1129,15 +1066,15 @@ public Builder clearDirectRoles() { return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
-     * predefinedRoles/read
-     * predefinedRoles/collaborate
-     * predefinedRoles/edit
-     * predefinedRoles/manage-users
+     * predefinedRoles/viewer
+     * predefinedRoles/analyst
+     * predefinedRoles/editor
+     * predefinedRoles/admin
+     * predefinedRoles/no-cost-data
+     * predefinedRoles/no-revenue-data
      * Excludes roles that are inherited from a higher-level entity, group,
      * or organization admin role.
      * A UserLink that is updated to have an empty list of direct_roles will be
@@ -1145,23 +1082,23 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; - * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { + public Builder addDirectRolesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1171,12 +1108,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UserLink) private static final com.google.analytics.admin.v1alpha.UserLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UserLink(); } @@ -1185,16 +1122,16 @@ public static com.google.analytics.admin.v1alpha.UserLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserLink(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1209,4 +1146,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java similarity index 68% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java index 986cc9d5..74182bc3 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java @@ -1,88 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface UserLinkOrBuilder - extends +public interface UserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString getEmailAddressBytes(); + com.google.protobuf.ByteString + getEmailAddressBytes(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -90,20 +64,20 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - java.util.List getDirectRolesList(); + java.util.List + getDirectRolesList(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -111,20 +85,19 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ int getDirectRolesCount(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -132,21 +105,20 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
-   * predefinedRoles/read
-   * predefinedRoles/collaborate
-   * predefinedRoles/edit
-   * predefinedRoles/manage-users
+   * predefinedRoles/viewer
+   * predefinedRoles/analyst
+   * predefinedRoles/editor
+   * predefinedRoles/admin
+   * predefinedRoles/no-cost-data
+   * predefinedRoles/no-revenue-data
    * Excludes roles that are inherited from a higher-level entity, group,
    * or organization admin role.
    * A UserLink that is updated to have an empty list of direct_roles will be
@@ -154,9 +126,9 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString getDirectRolesBytes(int index); + com.google.protobuf.ByteString + getDirectRolesBytes(int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java similarity index 70% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java index d51cfd07..d1425caf 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics web stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.WebDataStream} */ -public final class WebDataStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WebDataStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.WebDataStream) WebDataStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WebDataStream.newBuilder() to construct. private WebDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebDataStream() { name_ = ""; measurementId_ = ""; @@ -47,15 +29,16 @@ private WebDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,110 +57,97 @@ private WebDataStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - measurementId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + measurementId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + firebaseAppId_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - defaultUri_ = s; - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultUri_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.WebDataStream.class, - com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); + com.google.analytics.admin.v1alpha.WebDataStream.class, com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -185,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -194,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -210,15 +178,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -229,15 +198,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MEASUREMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object measurementId_; /** - * - * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ @java.lang.Override @@ -246,30 +212,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** - * - * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.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 { @@ -280,15 +246,12 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 3; 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -297,30 +260,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 = 3 [(.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 { @@ -331,15 +294,11 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { 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 @@ -347,15 +306,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -363,14 +318,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -380,15 +332,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -396,15 +344,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -412,14 +356,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -429,15 +370,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DEFAULT_URI_FIELD_NUMBER = 6; private volatile java.lang.Object defaultUri_; /** - * - * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ @java.lang.Override @@ -446,30 +384,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** - * - * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -480,15 +418,12 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Human-readable display name for the Data Stream.
-   * The max allowed display name length is 100 UTF-16 code units.
+   * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -497,30 +432,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for the Data Stream.
-   * The max allowed display name length is 100 UTF-16 code units.
+   * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.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 { @@ -529,7 +464,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -541,7 +475,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -582,10 +517,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, firebaseAppId_); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, defaultUri_); @@ -601,27 +538,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.WebDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.WebDataStream other = - (com.google.analytics.admin.v1alpha.WebDataStream) obj; + com.google.analytics.admin.v1alpha.WebDataStream other = (com.google.analytics.admin.v1alpha.WebDataStream) obj; - if (!getName().equals(other.getName())) return false; - if (!getMeasurementId().equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getMeasurementId() + .equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) 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 (!getDefaultUri().equals(other.getDefaultUri())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDefaultUri() + .equals(other.getDefaultUri())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -656,127 +599,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.WebDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 web stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.WebDataStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.WebDataStream) com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.WebDataStream.class, - com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); + com.google.analytics.admin.v1alpha.WebDataStream.class, com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.WebDataStream.newBuilder() @@ -784,15 +718,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -822,9 +757,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_WebDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override @@ -843,8 +778,7 @@ public com.google.analytics.admin.v1alpha.WebDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream buildPartial() { - com.google.analytics.admin.v1alpha.WebDataStream result = - new com.google.analytics.admin.v1alpha.WebDataStream(this); + com.google.analytics.admin.v1alpha.WebDataStream result = new com.google.analytics.admin.v1alpha.WebDataStream(this); result.name_ = name_; result.measurementId_ = measurementId_; result.firebaseAppId_ = firebaseAppId_; @@ -868,39 +802,38 @@ public com.google.analytics.admin.v1alpha.WebDataStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.WebDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream) other); + return mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream)other); } else { super.mergeFrom(other); return this; @@ -908,8 +841,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.WebDataStream other) { - if (other == com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -967,8 +899,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -976,13 +906,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; @@ -991,8 +921,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -1000,14 +928,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1015,8 +944,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -1024,22 +951,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -1047,18 +972,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -1066,16 +988,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1083,21 +1005,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object measurementId_ = ""; /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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; @@ -1106,22 +1026,21 @@ public java.lang.String getMeasurementId() { } } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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 { @@ -1129,64 +1048,57 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { } } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId(java.lang.String value) { + public Builder setMeasurementId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + measurementId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMeasurementId() { - + measurementId_ = getDefaultInstance().getMeasurementId(); onChanged(); return this; } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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) { + public Builder setMeasurementIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + measurementId_ = value; onChanged(); return this; @@ -1194,21 +1106,19 @@ public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 3 [(.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; @@ -1217,22 +1127,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 3 [(.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 { @@ -1240,64 +1149,57 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { + public Builder setFirebaseAppId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 3 [(.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) { + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1305,58 +1207,39 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || 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. */ 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) { @@ -1372,17 +1255,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1393,21 +1273,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1419,15 +1295,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when this stream was originally created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1441,64 +1313,48 @@ 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() { - + onChanged(); 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_; @@ -1506,58 +1362,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || 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. */ 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) { @@ -1573,17 +1410,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1594,21 +1428,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1620,15 +1450,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when stream payload fields were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1642,64 +1468,48 @@ 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() { - + onChanged(); 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_; @@ -1707,21 +1517,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object defaultUri_ = ""; /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1730,22 +1538,21 @@ public java.lang.String getDefaultUri() { } } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1753,64 +1560,57 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { } } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri(java.lang.String value) { + public Builder setDefaultUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultUri_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearDefaultUri() { - + defaultUri_ = getDefaultInstance().getDefaultUri(); onChanged(); return this; } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultUri_ = value; onChanged(); return this; @@ -1818,21 +1618,19 @@ public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for the Data Stream.
-     * The max allowed display name length is 100 UTF-16 code units.
+     * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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; @@ -1841,22 +1639,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for the Data Stream.
-     * The max allowed display name length is 100 UTF-16 code units.
+     * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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 { @@ -1864,71 +1661,64 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for the Data Stream.
-     * The max allowed display name length is 100 UTF-16 code units.
+     * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for the Data Stream.
-     * The max allowed display name length is 100 UTF-16 code units.
+     * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for the Data Stream.
-     * The max allowed display name length is 100 UTF-16 code units.
+     * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1938,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.WebDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.WebDataStream) private static final com.google.analytics.admin.v1alpha.WebDataStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.WebDataStream(); } @@ -1952,16 +1742,16 @@ public static com.google.analytics.admin.v1alpha.WebDataStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1976,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.WebDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java similarity index 100% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java similarity index 75% rename from proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java index 51007ff4..6a419c75 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface WebDataStreamOrBuilder - extends +public interface WebDataStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.WebDataStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -33,13 +15,10 @@ public interface WebDataStreamOrBuilder
    * 
* * 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}/webDataStreams/{stream_id}
@@ -47,192 +26,150 @@ public interface WebDataStreamOrBuilder
    * 
* * 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. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ java.lang.String getMeasurementId(); /** - * - * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
    * 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(); /** - * - * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** - * - * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString getDefaultUriBytes(); + com.google.protobuf.ByteString + getDefaultUriBytes(); /** - * - * *
    * Required. Human-readable display name for the Data Stream.
-   * The max allowed display name length is 100 UTF-16 code units.
+   * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for the Data Stream.
-   * The max allowed display name length is 100 UTF-16 code units.
+   * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto similarity index 94% rename from proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto index 4f2beb4b..ff367e3f 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto @@ -405,27 +405,6 @@ service AnalyticsAdminService { option (google.api.method_signature) = "parent"; } - // Returns the singleton enhanced measurement settings for this web stream. - // Note that the stream must enable enhanced measurement for these settings to - // take effect. - rpc GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest) returns (EnhancedMeasurementSettings) { - option (google.api.http) = { - get: "/v1alpha/{name=properties/*/webDataStreams/*/enhancedMeasurementSettings}" - }; - option (google.api.method_signature) = "name"; - } - - // Updates the singleton enhanced measurement settings for this web stream. - // Note that the stream must enable enhanced measurement for these settings to - // take effect. - rpc UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest) returns (EnhancedMeasurementSettings) { - option (google.api.http) = { - patch: "/v1alpha/{enhanced_measurement_settings.name=properties/*/webDataStreams/*/enhancedMeasurementSettings}" - body: "enhanced_measurement_settings" - }; - option (google.api.method_signature) = "enhanced_measurement_settings,update_mask"; - } - // Creates a FirebaseLink. // // Properties can have at most one FirebaseLink. @@ -583,6 +562,17 @@ service AnalyticsAdminService { option (google.api.method_signature) = "measurement_protocol_secret,update_mask"; } + // Acknowledges the terms of user data collection for the specified property. + // + // This acknowledgement must be completed (either in the Google Analytics UI + // or via this API) before MeasurementProtocolSecret resources may be created. + rpc AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest) returns (AcknowledgeUserDataCollectionResponse) { + option (google.api.http) = { + post: "/v1alpha/{property=properties/*}:acknowledgeUserDataCollection" + body: "*" + }; + } + // Searches through all changes to an account or its children given the // specified set of filters. rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) returns (SearchChangeHistoryEventsResponse) { @@ -848,6 +838,48 @@ service AnalyticsAdminService { }; option (google.api.method_signature) = "data_retention_settings,update_mask"; } + + // Creates a DataStream. + rpc CreateDataStream(CreateDataStreamRequest) returns (DataStream) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/dataStreams" + body: "data_stream" + }; + option (google.api.method_signature) = "parent,data_stream"; + } + + // Deletes a DataStream on a property. + rpc DeleteDataStream(DeleteDataStreamRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/dataStreams/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a DataStream on a property. + rpc UpdateDataStream(UpdateDataStreamRequest) returns (DataStream) { + option (google.api.http) = { + patch: "/v1alpha/{data_stream.name=properties/*/dataStreams/*}" + body: "data_stream" + }; + option (google.api.method_signature) = "data_stream,update_mask"; + } + + // Lists DataStreams on a property. + rpc ListDataStreams(ListDataStreamsRequest) returns (ListDataStreamsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/dataStreams" + }; + option (google.api.method_signature) = "parent"; + } + + // Lookup for a single DataStream. + rpc GetDataStream(GetDataStreamRequest) returns (DataStream) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/dataStreams/*}" + }; + option (google.api.method_signature) = "name"; + } } // Request message for GetAccount RPC. @@ -1479,32 +1511,6 @@ message ListAndroidAppDataStreamsResponse { string next_page_token = 2; } -// Request message for GetEnhancedMeasurementSettings RPC. -message GetEnhancedMeasurementSettingsRequest { - // Required. The name of the settings to lookup. - // Format: - // properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - // Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/EnhancedMeasurementSettings" - } - ]; -} - -// Request message for UpdateEnhancedMeasurementSettings RPC. -message UpdateEnhancedMeasurementSettingsRequest { - // Required. The settings to update. - // The `name` field is used to identify the settings to be updated. - EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; -} - // Request message for CreateFirebaseLink RPC message CreateFirebaseLinkRequest { // Required. Format: properties/{property_id} @@ -1689,6 +1695,32 @@ message ListAccountSummariesResponse { string next_page_token = 2; } +// Request message for AcknowledgeUserDataCollection RPC. +message AcknowledgeUserDataCollectionRequest { + // Required. The property for which to acknowledge user data collection. + string property = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Property" + } + ]; + + // Required. An acknowledgement that the caller of this method understands the terms + // of user data collection. + // + // This field must contain the exact value: + // "I acknowledge that I have the necessary privacy disclosures and rights + // from my end users for the collection and processing of their data, + // including the association of such data with the visitation information + // Google Analytics collects from my site and/or app property." + string acknowledgement = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for AcknowledgeUserDataCollection RPC. +message AcknowledgeUserDataCollectionResponse { + +} + // Request message for SearchChangeHistoryEvents RPC. message SearchChangeHistoryEventsRequest { // Required. The account resource for which to return change history resources. @@ -2314,3 +2346,85 @@ message UpdateDataRetentionSettingsRequest { // the entire entity, use one path with the string "*" to match all fields. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } + +// Request message for CreateDataStream RPC. +message CreateDataStreamRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/DataStream" + } + ]; + + // Required. The DataStream to create. + DataStream data_stream = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteDataStream RPC. +message DeleteDataStreamRequest { + // 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) = { + type: "analyticsadmin.googleapis.com/DataStream" + } + ]; +} + +// Request message for UpdateDataStream RPC. +message UpdateDataStreamRequest { + // The DataStream to update + DataStream data_stream = 1; + + // Required. The list of fields to be updated. Omitted fields will not be updated. + // To replace the entire entity, use one path with the string "*" to match + // all fields. + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for ListDataStreams RPC. +message ListDataStreamsRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/DataStream" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2; + + // A page token, received from a previous `ListDataStreams` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListDataStreams` must + // match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListDataStreams RPC. +message ListDataStreamsResponse { + // List of DataStreams. + repeated DataStream data_streams = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for GetDataStream RPC. +message GetDataStreamRequest { + // 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) = { + type: "analyticsadmin.googleapis.com/DataStream" + } + ]; +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto similarity index 89% rename from proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto rename to owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto index ec9d4c99..4820ec8c 100644 --- a/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto +++ b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto @@ -196,6 +196,12 @@ enum ChangeHistoryResourceType { // DataRetentionSettings resource DATA_RETENTION_SETTINGS = 13; + + // DisplayVideo360AdvertiserLink resource + DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + + // DisplayVideo360AdvertiserLinkProposal resource + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; } // Status of the Google Signals settings (i.e., whether this feature has been @@ -364,6 +370,16 @@ message Property { // deleted. If not set, then this property is not currently in the trash can // and is not slated to be deleted. google.protobuf.Timestamp expire_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The resource name of the parent account + // Format: accounts/{account_id} + // Example: "accounts/123" + string account = 13 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Account" + } + ]; } // A resource message representing a Google Analytics Android app stream. @@ -465,10 +481,113 @@ message WebDataStream { // Required. Human-readable display name for the Data Stream. // - // The max allowed display name length is 100 UTF-16 code units. + // The max allowed display name length is 255 UTF-16 code units. string display_name = 7 [(google.api.field_behavior) = REQUIRED]; } +// A resource message representing a data stream. +message DataStream { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/DataStream" + pattern: "properties/{property}/dataStreams/{data_stream}" + }; + + // Data specific to web streams. + message WebStreamData { + // Output only. Analytics "Measurement ID", without the "G-" prefix. + // Example: "G-1A2BCD345E" would just be "1A2BCD345E" + string measurement_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // 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]; + + // Immutable. Domain name of the web app being measured, or empty. + // Example: "http://www.google.com", "https://www.google.com" + string default_uri = 3 [(google.api.field_behavior) = IMMUTABLE]; + } + + // Data specific to Android app streams. + message AndroidAppStreamData { + // 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]; + + // Immutable. The package name for the app being measured. + // Example: "com.example.myandroidapp" + string package_name = 2 [(google.api.field_behavior) = IMMUTABLE]; + } + + // Data specific to iOS app streams. + message IosAppStreamData { + // 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]; + + // 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 + ]; + } + + // The type of the data stream. + enum DataStreamType { + // Type unknown or not specified. + DATA_STREAM_TYPE_UNSPECIFIED = 0; + + // Web data stream. + WEB_DATA_STREAM = 1; + + // Android app data stream. + ANDROID_APP_DATA_STREAM = 2; + + // iOS app data stream. + IOS_APP_DATA_STREAM = 3; + } + + // Data for specific data stream types. The message that will be + // set corresponds to the type of this stream. + oneof stream_data { + // Data specific to web streams. Must be populated if type is + // WEB_DATA_STREAM. + WebStreamData web_stream_data = 6; + + // Data specific to Android app streams. Must be populated if type is + // ANDROID_APP_DATA_STREAM. + AndroidAppStreamData android_app_stream_data = 7; + + // Data specific to iOS app streams. Must be populated if type is + // IOS_APP_DATA_STREAM. + IosAppStreamData ios_app_stream_data = 8; + } + + // Output only. Resource name of this Data Stream. + // Format: properties/{property_id}/dataStreams/{stream_id} + // Example: "properties/1000/dataStreams/2000" + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Immutable. The type of this DataStream resource. + DataStreamType type = 2 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.field_behavior) = REQUIRED + ]; + + // Human-readable display name for the Data Stream. + // + // Required for web data streams. + // + // The max allowed display name length is 255 UTF-16 code units. + string display_name = 3; + + // Output only. Time when this stream was originally created. + google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when stream payload fields were last updated. + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // A resource message representing a user's permissions on an Account or // Property resource. message UserLink { @@ -487,10 +606,12 @@ message UserLink { // Roles directly assigned to this user for this account or property. // // Valid values: - // predefinedRoles/read - // predefinedRoles/collaborate - // predefinedRoles/edit - // predefinedRoles/manage-users + // predefinedRoles/viewer + // predefinedRoles/analyst + // predefinedRoles/editor + // predefinedRoles/admin + // predefinedRoles/no-cost-data + // predefinedRoles/no-revenue-data // // Excludes roles that are inherited from a higher-level entity, group, // or organization admin role. @@ -510,7 +631,7 @@ message AuditUserLink { // Roles directly assigned to this user for this entity. // - // Format: predefinedRoles/read + // Format: predefinedRoles/viewer // // Excludes roles that are inherited from an account (if this is for a // property), group, or organization admin role. @@ -519,72 +640,11 @@ message AuditUserLink { // Union of all permissions a user has at this account or property (includes // direct permissions, group-inherited permissions, etc.). // - // Format: predefinedRoles/read + // Format: predefinedRoles/viewer repeated string effective_roles = 4; } -// Singleton resource under a WebDataStream, configuring measurement of -// additional site interactions and content. -message EnhancedMeasurementSettings { - option (google.api.resource) = { - type: "analyticsadmin.googleapis.com/EnhancedMeasurementSettings" - pattern: "properties/{property}/webDataStreams/{web_data_stream}/enhancedMeasurementSettings" - }; - - // Output only. Resource name of this Data Stream. - // Format: - // properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - // Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicates whether Enhanced Measurement Settings will be used to - // automatically measure interactions and content on this web stream. - // - // Changing this value does not affect the settings themselves, but determines - // whether they are respected. - bool stream_enabled = 2; - - // Output only. If enabled, capture a page view event each time a page loads or the - // website changes the browser history state. - bool page_views_enabled = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // If enabled, capture scroll events each time a visitor gets to the bottom of - // a page. - bool scrolls_enabled = 4; - - // 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 = 5; - - // 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 = 7; - - // If enabled, capture video play, progress, and complete events as visitors - // view embedded videos on your site. - bool video_engagement_enabled = 9; - - // 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 = 10; - - // Output only. If enabled, capture a page view event each time a page loads. - bool page_loads_enabled = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // If enabled, capture a page view event each time the website changes the - // browser history state. - bool page_changes_enabled = 13; - - // Required. URL query parameters to interpret as site search parameters. - // Max length is 1024 characters. Must not be empty. - string search_query_parameter = 16 [(google.api.field_behavior) = REQUIRED]; - - // Additional URL query parameters. - // Max length is 1024 characters. - string uri_query_parameter = 17; -} - -// A link between an GA4 property and a Firebase project. +// A link between a GA4 property and a Firebase project. message FirebaseLink { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/FirebaseLink" @@ -624,7 +684,7 @@ message GlobalSiteTag { string snippet = 2 [(google.api.field_behavior) = IMMUTABLE]; } -// A link between an GA4 property and a Google Ads account. +// A link between a GA4 property and a Google Ads account. message GoogleAdsLink { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/GoogleAdsLink" @@ -719,7 +779,7 @@ message AccountSummary { repeated PropertySummary property_summaries = 4; } -// A virtual resource representing metadata for an GA4 property. +// A virtual resource representing metadata for a GA4 property. message PropertySummary { // Resource name of property referred to by this property summary // Format: properties/{property_id} @@ -728,7 +788,7 @@ message PropertySummary { type: "analyticsadmin.googleapis.com/Property" }]; - // Display name for the property referred to in this account summary. + // Display name for the property referred to in this property summary. string display_name = 2; } @@ -882,14 +942,14 @@ message DisplayVideo360AdvertiserLink { google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Enables the import of cost data from Display & Video 360 into the GA4 - // property. This can only be enabled if campaign_data_import_enabled is + // property. This can only be enabled if campaign_data_sharing_enabled is // enabled. After link creation, this can only be updated from the Display & // Video 360 product. // If this field is not set on create, it will be defaulted to true. google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(google.api.field_behavior) = IMMUTABLE]; } -// A proposal for a link between an GA4 property and a Display & Video 360 +// A proposal for a link between a GA4 property and a Display & Video 360 // advertiser. // // A proposal is converted to a DisplayVideo360AdvertiserLink once approved. @@ -935,7 +995,7 @@ message DisplayVideo360AdvertiserLinkProposal { google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Enables the import of cost data from Display & Video 360. - // This can only be enabled if campaign_data_import_enabled is enabled. + // 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]; } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java deleted file mode 100644 index 9ac59334..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java +++ /dev/null @@ -1,2170 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public final class AnalyticsAdminProto { - private AnalyticsAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_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_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_SearchChangeHistoryEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - - 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\032.google/analytics/admin/v1alpha/r" - + "esources.proto\032\034google/api/annotations.p" - + "roto\032\027google/api/client.proto\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resou" - + "rce.proto\032\033google/protobuf/empty.proto\032 " - + "google/protobuf/field_mask.proto\032\037google" - + "/protobuf/timestamp.proto\"P\n\021GetAccountR" - + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsa" - + "dmin.googleapis.com/Account\"R\n\023ListAccou" - + "ntsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" - + "ken\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"j\n\024ListA" - + "ccountsResponse\0229\n\010accounts\030\001 \003(\0132\'.goog" - + "le.analytics.admin.v1alpha.Account\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"S\n\024DeleteAccountRequ" - + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" - + "n.googleapis.com/Account\"\213\001\n\024UpdateAccou" - + "ntRequest\022=\n\007account\030\001 \001(\0132\'.google.anal" - + "ytics.admin.v1alpha.AccountB\003\340A\002\0224\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002\"o\n\035ProvisionAccountTicketRequest\022" - + "8\n\007account\030\001 \001(\0132\'.google.analytics.admi" - + "n.v1alpha.Account\022\024\n\014redirect_uri\030\002 \001(\t\"" - + ";\n\036ProvisionAccountTicketResponse\022\031\n\021acc" - + "ount_ticket_id\030\001 \001(\t\"R\n\022GetPropertyReque" - + "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin" - + ".googleapis.com/Property\"i\n\025ListProperti" - + "esRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_de" - + "leted\030\004 \001(\010\"o\n\026ListPropertiesResponse\022<\n" - + "\nproperties\030\001 \003(\0132(.google.analytics.adm" - + "in.v1alpha.Property\022\027\n\017next_page_token\030\002" - + " \001(\t\"\216\001\n\025UpdatePropertyRequest\022?\n\010proper" - + "ty\030\001 \001(\0132(.google.analytics.admin.v1alph" - + "a.PropertyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\003\340A\002\"X\n\025CreateP" - + "ropertyRequest\022?\n\010property\030\001 \001(\0132(.googl" - + "e.analytics.admin.v1alpha.PropertyB\003\340A\002\"" - + "U\n\025DeletePropertyRequest\022<\n\004name\030\001 \001(\tB." - + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Pr" - + "operty\"R\n\022GetUserLinkRequest\022<\n\004name\030\001 \001" - + "(\tB.\340A\002\372A(\n&analyticsadmin.googleapis.co" - + "m/UserLink\"\231\001\n\030BatchGetUserLinksRequest\022" - + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin." - + "googleapis.com/UserLink\022=\n\005names\030\002 \003(\tB." - + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Us" - + "erLink\"Y\n\031BatchGetUserLinksResponse\022<\n\nu" - + "ser_links\030\001 \003(\0132(.google.analytics.admin" - + ".v1alpha.UserLink\"}\n\024ListUserLinksReques" - + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" - + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025ListUserLink" - + "sResponse\022<\n\nuser_links\030\001 \003(\0132(.google.a" - + "nalytics.admin.v1alpha.UserLink\022\027\n\017next_" - + "page_token\030\002 \001(\t\"~\n\025AuditUserLinksReques" - + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" - + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026AuditUserLin" - + "ksResponse\022A\n\nuser_links\030\001 \003(\0132-.google." - + "analytics.admin.v1alpha.AuditUserLink\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\267\001\n\025CreateUserLin" - + "kRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt" - + "icsadmin.googleapis.com/UserLink\022\034\n\017noti" - + "fy_new_user\030\002 \001(\010B\003\340A\001\022@\n\tuser_link\030\003 \001(" - + "\0132(.google.analytics.admin.v1alpha.UserL" - + "inkB\003\340A\002\"\312\001\n\033BatchCreateUserLinksRequest" - + "\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin" - + ".googleapis.com/UserLink\022\035\n\020notify_new_u" - + "sers\030\002 \001(\010B\003\340A\001\022L\n\010requests\030\003 \003(\01325.goog" - + "le.analytics.admin.v1alpha.CreateUserLin" - + "kRequestB\003\340A\002\"\\\n\034BatchCreateUserLinksRes" - + "ponse\022<\n\nuser_links\030\001 \003(\0132(.google.analy" - + "tics.admin.v1alpha.UserLink\"Y\n\025UpdateUse" - + "rLinkRequest\022@\n\tuser_link\030\001 \001(\0132(.google" - + ".analytics.admin.v1alpha.UserLinkB\003\340A\002\"\253" - + "\001\n\033BatchUpdateUserLinksRequest\022>\n\006parent" - + "\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleapi" - + "s.com/UserLink\022L\n\010requests\030\002 \003(\01325.googl" - + "e.analytics.admin.v1alpha.UpdateUserLink" - + "RequestB\003\340A\002\"\\\n\034BatchUpdateUserLinksResp" - + "onse\022<\n\nuser_links\030\001 \003(\0132(.google.analyt" - + "ics.admin.v1alpha.UserLink\"U\n\025DeleteUser" - + "LinkRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analy" - + "ticsadmin.googleapis.com/UserLink\"\253\001\n\033Ba" - + "tchDeleteUserLinksRequest\022>\n\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com" - + "/UserLink\022L\n\010requests\030\002 \003(\01325.google.ana" - + "lytics.admin.v1alpha.DeleteUserLinkReque" - + "stB\003\340A\002\"\\\n\027GetWebDataStreamRequest\022A\n\004na" - + "me\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googlea" - + "pis.com/WebDataStream\"_\n\032DeleteWebDataSt" - + "reamRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analy" - + "ticsadmin.googleapis.com/WebDataStream\"\237" - + "\001\n\032UpdateWebDataStreamRequest\022K\n\017web_dat" - + "a_stream\030\001 \001(\0132-.google.analytics.admin." - + "v1alpha.WebDataStreamB\003\340A\002\0224\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" - + "\"\256\001\n\032CreateWebDataStreamRequest\022K\n\017web_d" - + "ata_stream\030\001 \001(\0132-.google.analytics.admi" - + "n.v1alpha.WebDataStreamB\003\340A\002\022C\n\006parent\030\002" - + " \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis." - + "com/WebDataStream\"\207\001\n\031ListWebDataStreams" - + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyti" - + "csadmin.googleapis.com/WebDataStream\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n\032L" - + "istWebDataStreamsResponse\022G\n\020web_data_st" - + "reams\030\001 \003(\0132-.google.analytics.admin.v1a" - + "lpha.WebDataStream\022\027\n\017next_page_token\030\002 " - + "\001(\t\"b\n\032GetIosAppDataStreamRequest\022D\n\004nam" - + "e\030\001 \001(\tB6\340A\002\372A0\n.analyticsadmin.googleap" - + "is.com/IosAppDataStream\"e\n\035DeleteIosAppD" - + "ataStreamRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n." - + "analyticsadmin.googleapis.com/IosAppData" - + "Stream\"\251\001\n\035UpdateIosAppDataStreamRequest" - + "\022R\n\023ios_app_data_stream\030\001 \001(\01320.google.a" - + "nalytics.admin.v1alpha.IosAppDataStreamB" - + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMaskB\003\340A\002\"\215\001\n\034ListIosAppDataStr" - + "eamsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.ana" - + "lyticsadmin.googleapis.com/IosAppDataStr" - + "eam\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\"\210\001\n\035ListIosAppDataStreamsResponse\022N\n\024" - + "ios_app_data_streams\030\001 \003(\01320.google.anal" - + "ytics.admin.v1alpha.IosAppDataStream\022\027\n\017" - + "next_page_token\030\002 \001(\t\"j\n\036GetAndroidAppDa" - + "taStreamRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2a" - + "nalyticsadmin.googleapis.com/AndroidAppD" - + "ataStream\"m\n!DeleteAndroidAppDataStreamR" - + "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2analyticsa" - + "dmin.googleapis.com/AndroidAppDataStream" - + "\"\265\001\n!UpdateAndroidAppDataStreamRequest\022Z" - + "\n\027android_app_data_stream\030\001 \001(\01324.google" - + ".analytics.admin.v1alpha.AndroidAppDataS" - + "treamB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMaskB\003\340A\002\"\225\001\n ListAndroid" - + "AppDataStreamsRequest\022J\n\006parent\030\001 \001(\tB:\340" - + "A\002\372A4\0222analyticsadmin.googleapis.com/And" - + "roidAppDataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\224\001\n!ListAndroidAppDataS" - + "treamsResponse\022V\n\030android_app_data_strea" - + "ms\030\001 \003(\01324.google.analytics.admin.v1alph" - + "a.AndroidAppDataStream\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"x\n%GetEnhancedMeasurementSetting" - + "sRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9analytic" - + "sadmin.googleapis.com/EnhancedMeasuremen" - + "tSettings\"\311\001\n(UpdateEnhancedMeasurementS" - + "ettingsRequest\022g\n\035enhanced_measurement_s" - + "ettings\030\001 \001(\0132;.google.analytics.admin.v" - + "1alpha.EnhancedMeasurementSettingsB\003\340A\002\022" - + "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" - + "ieldMaskB\003\340A\002\"\251\001\n\031CreateFirebaseLinkRequ" - + "est\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsad" - + "min.googleapis.com/FirebaseLink\022H\n\rfireb" - + "ase_link\030\002 \001(\0132,.google.analytics.admin." - + "v1alpha.FirebaseLinkB\003\340A\002\"]\n\031DeleteFireb" - + "aseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*an" - + "alyticsadmin.googleapis.com/FirebaseLink" - + "\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006parent\030" - + "\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis" - + ".com/FirebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"z\n\031ListFirebaseLinksRes" - + "ponse\022D\n\016firebase_links\030\001 \003(\0132,.google.a" - + "nalytics.admin.v1alpha.FirebaseLink\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"\\\n\027GetGlobalSiteTag" - + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analytics" - + "admin.googleapis.com/GlobalSiteTag\"\256\001\n\032C" - + "reateGoogleAdsLinkRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com" - + "/GoogleAdsLink\022K\n\017google_ads_link\030\002 \001(\0132" - + "-.google.analytics.admin.v1alpha.GoogleA" - + "dsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLinkReque" - + "st\022F\n\017google_ads_link\030\001 \001(\0132-.google.ana" - + "lytics.admin.v1alpha.GoogleAdsLink\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\"_\n\032DeleteGoogleAdsLinkRequest\022A" - + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.goo" - + "gleapis.com/GoogleAdsLink\"\207\001\n\031ListGoogle" - + "AdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022" - + "+analyticsadmin.googleapis.com/GoogleAds" - + "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"~\n\032ListGoogleAdsLinksResponse\022G\n\020goo" - + "gle_ads_links\030\001 \003(\0132-.google.analytics.a" - + "dmin.v1alpha.GoogleAdsLink\022\027\n\017next_page_" - + "token\030\002 \001(\t\"h\n\035GetDataSharingSettingsReq" - + "uest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyticsadm" - + "in.googleapis.com/DataSharingSettings\"D\n" - + "\033ListAccountSummariesRequest\022\021\n\tpage_siz" - + "e\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAcco" - + "untSummariesResponse\022I\n\021account_summarie" - + "s\030\001 \003(\0132..google.analytics.admin.v1alpha" - + ".AccountSummary\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\203\004\n SearchChangeHistoryEventsRequest\022>\n" - + "\007account\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmin.g" - + "oogleapis.com/Account\022@\n\010property\030\002 \001(\tB" - + ".\340A\001\372A(\n&analyticsadmin.googleapis.com/P" - + "roperty\022U\n\rresource_type\030\003 \003(\01629.google." - + "analytics.admin.v1alpha.ChangeHistoryRes" - + "ourceTypeB\003\340A\001\022?\n\006action\030\004 \003(\0162*.google." - + "analytics.admin.v1alpha.ActionTypeB\003\340A\001\022" - + "\030\n\013actor_email\030\005 \003(\tB\003\340A\001\022=\n\024earliest_ch" - + "ange_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\001\022;\n\022latest_change_time\030\007 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\001\022\026\n\tpage_si" - + "ze\030\010 \001(\005B\003\340A\001\022\027\n\npage_token\030\t \001(\tB\003\340A\001\"\217" - + "\001\n!SearchChangeHistoryEventsResponse\022Q\n\025" - + "change_history_events\030\001 \003(\01322.google.ana" - + "lytics.admin.v1alpha.ChangeHistoryEvent\022" - + "\027\n\017next_page_token\030\002 \001(\t\"t\n#GetMeasureme" - + "ntProtocolSecretRequest\022M\n\004name\030\001 \001(\tB?\340" - + "A\002\372A9\n7analyticsadmin.googleapis.com/Mea" - + "surementProtocolSecret\"\336\001\n&CreateMeasure" - + "mentProtocolSecretRequest\022O\n\006parent\030\001 \001(" - + "\tB?\340A\002\372A9\0227analyticsadmin.googleapis.com" - + "/MeasurementProtocolSecret\022c\n\033measuremen" - + "t_protocol_secret\030\002 \001(\01329.google.analyti" - + "cs.admin.v1alpha.MeasurementProtocolSecr" - + "etB\003\340A\002\"w\n&DeleteMeasurementProtocolSecr" - + "etRequest\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyti" - + "csadmin.googleapis.com/MeasurementProtoc" - + "olSecret\"\276\001\n&UpdateMeasurementProtocolSe" - + "cretRequest\022c\n\033measurement_protocol_secr" - + "et\030\001 \001(\01329.google.analytics.admin.v1alph" - + "a.MeasurementProtocolSecretB\003\340A\002\022/\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "k\"\237\001\n%ListMeasurementProtocolSecretsRequ" - + "est\022O\n\006parent\030\001 \001(\tB?\340A\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\"l\n\037GetGoogleSignalsSettingsRequ" - + "est\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3analyticsadmi" - + "n.googleapis.com/GoogleSignalsSettings\"\267" - + "\001\n\"UpdateGoogleSignalsSettingsRequest\022[\n" - + "\027google_signals_settings\030\001 \001(\01325.google." - + "analytics.admin.v1alpha.GoogleSignalsSet" - + "tingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMaskB\003\340A\002\"\265\001\n\034CreateConve" - + "rsionEventRequest\022N\n\020conversion_event\030\001 " - + "\001(\0132/.google.analytics.admin.v1alpha.Con" - + "versionEventB\003\340A\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A" - + "/\022-analyticsadmin.googleapis.com/Convers" - + "ionEvent\"`\n\031GetConversionEventRequest\022C\n" - + "\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.goog" - + "leapis.com/ConversionEvent\"c\n\034DeleteConv" - + "ersionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/" - + "\n-analyticsadmin.googleapis.com/Conversi" - + "onEvent\"\213\001\n\033ListConversionEventsRequest\022" - + "E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin." - + "googleapis.com/ConversionEvent\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034ListCo" - + "nversionEventsResponse\022J\n\021conversion_eve" - + "nts\030\001 \003(\0132/.google.analytics.admin.v1alp" - + "ha.ConversionEvent\022\027\n\017next_page_token\030\002 " - + "\001(\t\"|\n\'GetDisplayVideo360AdvertiserLinkR" - + "equest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=\n;analyticsa" - + "dmin.googleapis.com/DisplayVideo360Adver" - + "tiserLink\"\247\001\n)ListDisplayVideo360Adverti" - + "serLinksRequest\022S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022" - + ";analyticsadmin.googleapis.com/DisplayVi" - + "deo360AdvertiserLink\022\021\n\tpage_size\030\002 \001(\005\022" - + "\022\n\npage_token\030\003 \001(\t\"\260\001\n*ListDisplayVideo" - + "360AdvertiserLinksResponse\022i\n\"display_vi" - + "deo_360_advertiser_links\030\001 \003(\0132=.google." - + "analytics.admin.v1alpha.DisplayVideo360A" - + "dvertiserLink\022\027\n\017next_page_token\030\002 \001(\t\"\360" - + "\001\n*CreateDisplayVideo360AdvertiserLinkRe" - + "quest\022S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analytics" - + "admin.googleapis.com/DisplayVideo360Adve" - + "rtiserLink\022m\n!display_video_360_advertis" - + "er_link\030\002 \001(\0132=.google.analytics.admin.v" - + "1alpha.DisplayVideo360AdvertiserLinkB\003\340A" - + "\002\"\177\n*DeleteDisplayVideo360AdvertiserLink" - + "Request\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=\n;analytics" - + "admin.googleapis.com/DisplayVideo360Adve" - + "rtiserLink\"\314\001\n*UpdateDisplayVideo360Adve" - + "rtiserLinkRequest\022h\n!display_video_360_a" - + "dvertiser_link\030\001 \001(\0132=.google.analytics." - + "admin.v1alpha.DisplayVideo360AdvertiserL" - + "ink\0224\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\002\"\214\001\n/GetDisplayVideo360" - + "AdvertiserLinkProposalRequest\022Y\n\004name\030\001 " - + "\001(\tBK\340A\002\372AE\nCanalyticsadmin.googleapis.c" - + "om/DisplayVideo360AdvertiserLinkProposal" - + "\"\267\001\n1ListDisplayVideo360AdvertiserLinkPr" - + "oposalsRequest\022[\n\006parent\030\001 \001(\tBK\340A\002\372AE\022C" - + "analyticsadmin.googleapis.com/DisplayVid" - + "eo360AdvertiserLinkProposal\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\311\001\n2ListDispl" - + "ayVideo360AdvertiserLinkProposalsRespons" - + "e\022z\n+display_video_360_advertiser_link_p" - + "roposals\030\001 \003(\0132E.google.analytics.admin." - + "v1alpha.DisplayVideo360AdvertiserLinkPro" - + "posal\022\027\n\017next_page_token\030\002 \001(\t\"\221\002\n2Creat" - + "eDisplayVideo360AdvertiserLinkProposalRe" - + "quest\022[\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalytics" - + "admin.googleapis.com/DisplayVideo360Adve" - + "rtiserLinkProposal\022~\n*display_video_360_" - + "advertiser_link_proposal\030\002 \001(\0132E.google." - + "analytics.admin.v1alpha.DisplayVideo360A" - + "dvertiserLinkProposalB\003\340A\002\"\217\001\n2DeleteDis" - + "playVideo360AdvertiserLinkProposalReques" - + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." - + "googleapis.com/DisplayVideo360Advertiser" - + "LinkProposal\"\220\001\n3ApproveDisplayVideo360A" - + "dvertiserLinkProposalRequest\022Y\n\004name\030\001 \001" - + "(\tBK\340A\002\372AE\nCanalyticsadmin.googleapis.co" - + "m/DisplayVideo360AdvertiserLinkProposal\"" - + "\240\001\n4ApproveDisplayVideo360AdvertiserLink" - + "ProposalResponse\022h\n!display_video_360_ad" - + "vertiser_link\030\001 \001(\0132=.google.analytics.a" - + "dmin.v1alpha.DisplayVideo360AdvertiserLi" - + "nk\"\217\001\n2CancelDisplayVideo360AdvertiserLi" - + "nkProposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\n" - + "Canalyticsadmin.googleapis.com/DisplayVi" - + "deo360AdvertiserLinkProposal\"\265\001\n\034CreateC" - + "ustomDimensionRequest\022E\n\006parent\030\001 \001(\tB5\340" - + "A\002\372A/\022-analyticsadmin.googleapis.com/Cus" - + "tomDimension\022N\n\020custom_dimension\030\002 \001(\0132/" - + ".google.analytics.admin.v1alpha.CustomDi" - + "mensionB\003\340A\002\"\237\001\n\034UpdateCustomDimensionRe" - + "quest\022I\n\020custom_dimension\030\001 \001(\0132/.google" - + ".analytics.admin.v1alpha.CustomDimension" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\"\213\001\n\033ListCustomDimensionsR" - + "equest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analytic" - + "sadmin.googleapis.com/CustomDimension\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001\n" - + "\034ListCustomDimensionsResponse\022J\n\021custom_" - + "dimensions\030\001 \003(\0132/.google.analytics.admi" - + "n.v1alpha.CustomDimension\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"d\n\035ArchiveCustomDimensionRequ" - + "est\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmi" - + "n.googleapis.com/CustomDimension\"`\n\031GetC" - + "ustomDimensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002" - + "\372A/\n-analyticsadmin.googleapis.com/Custo" - + "mDimension\"\251\001\n\031CreateCustomMetricRequest" - + "\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin" - + ".googleapis.com/CustomMetric\022H\n\rcustom_m" - + "etric\030\002 \001(\0132,.google.analytics.admin.v1a" - + "lpha.CustomMetricB\003\340A\002\"\226\001\n\031UpdateCustomM" - + "etricRequest\022C\n\rcustom_metric\030\001 \001(\0132,.go" - + "ogle.analytics.admin.v1alpha.CustomMetri" - + "c\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMaskB\003\340A\002\"\205\001\n\030ListCustomMetricsReq" - + "uest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsa" - + "dmin.googleapis.com/CustomMetric\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListC" - + "ustomMetricsResponse\022D\n\016custom_metrics\030\001" - + " \003(\0132,.google.analytics.admin.v1alpha.Cu" - + "stomMetric\022\027\n\017next_page_token\030\002 \001(\t\"^\n\032A" - + "rchiveCustomMetricRequest\022@\n\004name\030\001 \001(\tB" - + "2\340A\002\372A,\n*analyticsadmin.googleapis.com/C" - + "ustomMetric\"Z\n\026GetCustomMetricRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" - + "leapis.com/CustomMetric\"l\n\037GetDataRetent" - + "ionSettingsRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5" - + "\n3analyticsadmin.googleapis.com/DataRete" - + "ntionSettings\"\267\001\n\"UpdateDataRetentionSet" - + "tingsRequest\022[\n\027data_retention_settings\030" - + "\001 \001(\01325.google.analytics.admin.v1alpha.D" - + "ataRetentionSettingsB\003\340A\002\0224\n\013update_mask" - + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\0022" - + "\242\232\001\n\025AnalyticsAdminService\022\223\001\n\nGetAccoun" - + "t\0221.google.analytics.admin.v1alpha.GetAc" - + "countRequest\032\'.google.analytics.admin.v1" - + "alpha.Account\")\202\323\344\223\002\034\022\032/v1alpha/{name=ac" - + "counts/*}\332A\004name\022\224\001\n\014ListAccounts\0223.goog" - + "le.analytics.admin.v1alpha.ListAccountsR" - + "equest\0324.google.analytics.admin.v1alpha." - + "ListAccountsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/a" - + "ccounts\022\210\001\n\rDeleteAccount\0224.google.analy" - + "tics.admin.v1alpha.DeleteAccountRequest\032" - + "\026.google.protobuf.Empty\")\202\323\344\223\002\034*\032/v1alph" - + "a/{name=accounts/*}\332A\004name\022\271\001\n\rUpdateAcc" - + "ount\0224.google.analytics.admin.v1alpha.Up" - + "dateAccountRequest\032\'.google.analytics.ad" - + "min.v1alpha.Account\"I\202\323\344\223\002-2\"/v1alpha/{a" - + "ccount.name=accounts/*}:\007account\332A\023accou" - + "nt,update_mask\022\314\001\n\026ProvisionAccountTicke" - + "t\022=.google.analytics.admin.v1alpha.Provi" - + "sionAccountTicketRequest\032>.google.analyt" - + "ics.admin.v1alpha.ProvisionAccountTicket" - + "Response\"3\202\323\344\223\002-\"(/v1alpha/accounts:prov" - + "isionAccountTicket:\001*\022\264\001\n\024ListAccountSum" - + "maries\022;.google.analytics.admin.v1alpha." - + "ListAccountSummariesRequest\032<.google.ana" - + "lytics.admin.v1alpha.ListAccountSummarie" - + "sResponse\"!\202\323\344\223\002\033\022\031/v1alpha/accountSumma" - + "ries\022\230\001\n\013GetProperty\0222.google.analytics." - + "admin.v1alpha.GetPropertyRequest\032(.googl" - + "e.analytics.admin.v1alpha.Property\"+\202\323\344\223" - + "\002\036\022\034/v1alpha/{name=properties/*}\332A\004name\022" - + "\234\001\n\016ListProperties\0225.google.analytics.ad" - + "min.v1alpha.ListPropertiesRequest\0326.goog" - + "le.analytics.admin.v1alpha.ListPropertie" - + "sResponse\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243", - "\001\n\016CreateProperty\0225.google.analytics.adm" - + "in.v1alpha.CreatePropertyRequest\032(.googl" - + "e.analytics.admin.v1alpha.Property\"0\202\323\344\223" - + "\002\037\"\023/v1alpha/properties:\010property\332A\010prop" - + "erty\022\236\001\n\016DeleteProperty\0225.google.analyti" - + "cs.admin.v1alpha.DeletePropertyRequest\032(" - + ".google.analytics.admin.v1alpha.Property" - + "\"+\202\323\344\223\002\036*\034/v1alpha/{name=properties/*}\332A" - + "\004name\022\301\001\n\016UpdateProperty\0225.google.analyt" - + "ics.admin.v1alpha.UpdatePropertyRequest\032" - + "(.google.analytics.admin.v1alpha.Propert" - + "y\"N\202\323\344\223\00212%/v1alpha/{property.name=prope" - + "rties/*}:\010property\332A\024property,update_mas" - + "k\022\316\001\n\013GetUserLink\0222.google.analytics.adm" - + "in.v1alpha.GetUserLinkRequest\032(.google.a" - + "nalytics.admin.v1alpha.UserLink\"a\202\323\344\223\002T\022" - + "&/v1alpha/{name=accounts/*/userLinks/*}Z" - + "*\022(/v1alpha/{name=properties/*/userLinks" - + "/*}\332A\004name\022\366\001\n\021BatchGetUserLinks\0228.googl" - + "e.analytics.admin.v1alpha.BatchGetUserLi" - + "nksRequest\0329.google.analytics.admin.v1al" - + "pha.BatchGetUserLinksResponse\"l\202\323\344\223\002f\022//" - + "v1alpha/{parent=accounts/*}/userLinks:ba" - + "tchGetZ3\0221/v1alpha/{parent=properties/*}" - + "/userLinks:batchGet\022\341\001\n\rListUserLinks\0224." - + "google.analytics.admin.v1alpha.ListUserL" - + "inksRequest\0325.google.analytics.admin.v1a" - + "lpha.ListUserLinksResponse\"c\202\323\344\223\002T\022&/v1a" - + "lpha/{parent=accounts/*}/userLinksZ*\022(/v" - + "1alpha/{parent=properties/*}/userLinks\332A" - + "\006parent\022\355\001\n\016AuditUserLinks\0225.google.anal" - + "ytics.admin.v1alpha.AuditUserLinksReques" - + "t\0326.google.analytics.admin.v1alpha.Audit" - + "UserLinksResponse\"l\202\323\344\223\002f\",/v1alpha/{par" - + "ent=accounts/*}/userLinks:audit:\001*Z3\"./v" - + "1alpha/{parent=properties/*}/userLinks:a" - + "udit:\001*\022\367\001\n\016CreateUserLink\0225.google.anal" - + "ytics.admin.v1alpha.CreateUserLinkReques" - + "t\032(.google.analytics.admin.v1alpha.UserL" - + "ink\"\203\001\202\323\344\223\002j\"&/v1alpha/{parent=accounts/" - + "*}/userLinks:\tuser_linkZ5\"(/v1alpha/{par" - + "ent=properties/*}/userLinks:\tuser_link\332A" - + "\020parent,user_link\022\213\002\n\024BatchCreateUserLin" - + "ks\022;.google.analytics.admin.v1alpha.Batc" - + "hCreateUserLinksRequest\032<.google.analyti" - + "cs.admin.v1alpha.BatchCreateUserLinksRes" - + "ponse\"x\202\323\344\223\002r\"2/v1alpha/{parent=accounts" - + "/*}/userLinks:batchCreate:\001*Z9\"4/v1alpha" - + "/{parent=properties/*}/userLinks:batchCr" - + "eate:\001*\022\204\002\n\016UpdateUserLink\0225.google.anal" - + "ytics.admin.v1alpha.UpdateUserLinkReques" - + "t\032(.google.analytics.admin.v1alpha.UserL" - + "ink\"\220\001\202\323\344\223\002~20/v1alpha/{user_link.name=a" - + "ccounts/*/userLinks/*}:\tuser_linkZ?22/v1" - + "alpha/{user_link.name=properties/*/userL" - + "inks/*}:\tuser_link\332A\tuser_link\022\213\002\n\024Batch" - + "UpdateUserLinks\022;.google.analytics.admin" - + ".v1alpha.BatchUpdateUserLinksRequest\032<.g" - + "oogle.analytics.admin.v1alpha.BatchUpdat" - + "eUserLinksResponse\"x\202\323\344\223\002r\"2/v1alpha/{pa" - + "rent=accounts/*}/userLinks:batchUpdate:\001" - + "*Z9\"4/v1alpha/{parent=properties/*}/user" - + "Links:batchUpdate:\001*\022\302\001\n\016DeleteUserLink\022" - + "5.google.analytics.admin.v1alpha.DeleteU" - + "serLinkRequest\032\026.google.protobuf.Empty\"a" - + "\202\323\344\223\002T*&/v1alpha/{name=accounts/*/userLi" - + "nks/*}Z**(/v1alpha/{name=properties/*/us" - + "erLinks/*}\332A\004name\022\345\001\n\024BatchDeleteUserLin" - + "ks\022;.google.analytics.admin.v1alpha.Batc" - + "hDeleteUserLinksRequest\032\026.google.protobu" - + "f.Empty\"x\202\323\344\223\002r\"2/v1alpha/{parent=accoun" - + "ts/*}/userLinks:batchDelete:\001*Z9\"4/v1alp" - + "ha/{parent=properties/*}/userLinks:batch" - + "Delete:\001*\022\270\001\n\020GetWebDataStream\0227.google." - + "analytics.admin.v1alpha.GetWebDataStream" - + "Request\032-.google.analytics.admin.v1alpha" - + ".WebDataStream\"<\202\323\344\223\002/\022-/v1alpha/{name=p" - + "roperties/*/webDataStreams/*}\332A\004name\022\247\001\n" - + "\023DeleteWebDataStream\022:.google.analytics." - + "admin.v1alpha.DeleteWebDataStreamRequest" - + "\032\026.google.protobuf.Empty\"<\202\323\344\223\002/*-/v1alp" - + "ha/{name=properties/*/webDataStreams/*}\332" - + "A\004name\022\366\001\n\023UpdateWebDataStream\022:.google." - + "analytics.admin.v1alpha.UpdateWebDataStr" - + "eamRequest\032-.google.analytics.admin.v1al" - + "pha.WebDataStream\"t\202\323\344\223\002P2=/v1alpha/{web" - + "_data_stream.name=properties/*/webDataSt" - + "reams/*}:\017web_data_stream\332A\033web_data_str" - + "eam,update_mask\022\341\001\n\023CreateWebDataStream\022" - + ":.google.analytics.admin.v1alpha.CreateW" - + "ebDataStreamRequest\032-.google.analytics.a" - + "dmin.v1alpha.WebDataStream\"_\202\323\344\223\002@\"-/v1a" - + "lpha/{parent=properties/*}/webDataStream" - + "s:\017web_data_stream\332A\026parent,web_data_str" - + "eam\022\313\001\n\022ListWebDataStreams\0229.google.anal" - + "ytics.admin.v1alpha.ListWebDataStreamsRe" - + "quest\032:.google.analytics.admin.v1alpha.L" - + "istWebDataStreamsResponse\">\202\323\344\223\002/\022-/v1al" - + "pha/{parent=properties/*}/webDataStreams" - + "\332A\006parent\022\304\001\n\023GetIosAppDataStream\022:.goog" - + "le.analytics.admin.v1alpha.GetIosAppData" - + "StreamRequest\0320.google.analytics.admin.v" - + "1alpha.IosAppDataStream\"?\202\323\344\223\0022\0220/v1alph" - + "a/{name=properties/*/iosAppDataStreams/*" - + "}\332A\004name\022\260\001\n\026DeleteIosAppDataStream\022=.go" - + "ogle.analytics.admin.v1alpha.DeleteIosAp" - + "pDataStreamRequest\032\026.google.protobuf.Emp" - + "ty\"?\202\323\344\223\0022*0/v1alpha/{name=properties/*/" - + "iosAppDataStreams/*}\332A\004name\022\217\002\n\026UpdateIo" - + "sAppDataStream\022=.google.analytics.admin." - + "v1alpha.UpdateIosAppDataStreamRequest\0320." - + "google.analytics.admin.v1alpha.IosAppDat" - + "aStream\"\203\001\202\323\344\223\002[2D/v1alpha/{ios_app_data" - + "_stream.name=properties/*/iosAppDataStre" - + "ams/*}:\023ios_app_data_stream\332A\037ios_app_da" - + "ta_stream,update_mask\022\327\001\n\025ListIosAppData" - + "Streams\022<.google.analytics.admin.v1alpha" - + ".ListIosAppDataStreamsRequest\032=.google.a" - + "nalytics.admin.v1alpha.ListIosAppDataStr" - + "eamsResponse\"A\202\323\344\223\0022\0220/v1alpha/{parent=p" - + "roperties/*}/iosAppDataStreams\332A\006parent\022" - + "\324\001\n\027GetAndroidAppDataStream\022>.google.ana" - + "lytics.admin.v1alpha.GetAndroidAppDataSt" - + "reamRequest\0324.google.analytics.admin.v1a" - + "lpha.AndroidAppDataStream\"C\202\323\344\223\0026\0224/v1al" - + "pha/{name=properties/*/androidAppDataStr" - + "eams/*}\332A\004name\022\274\001\n\032DeleteAndroidAppDataS" - + "tream\022A.google.analytics.admin.v1alpha.D" - + "eleteAndroidAppDataStreamRequest\032\026.googl" - + "e.protobuf.Empty\"C\202\323\344\223\0026*4/v1alpha/{name" - + "=properties/*/androidAppDataStreams/*}\332A" - + "\004name\022\253\002\n\032UpdateAndroidAppDataStream\022A.g" - + "oogle.analytics.admin.v1alpha.UpdateAndr" - + "oidAppDataStreamRequest\0324.google.analyti" - + "cs.admin.v1alpha.AndroidAppDataStream\"\223\001" - + "\202\323\344\223\002g2L/v1alpha/{android_app_data_strea" - + "m.name=properties/*/androidAppDataStream" - + "s/*}:\027android_app_data_stream\332A#android_" - + "app_data_stream,update_mask\022\347\001\n\031ListAndr" - + "oidAppDataStreams\022@.google.analytics.adm" - + "in.v1alpha.ListAndroidAppDataStreamsRequ" - + "est\032A.google.analytics.admin.v1alpha.Lis" - + "tAndroidAppDataStreamsResponse\"E\202\323\344\223\0026\0224" - + "/v1alpha/{parent=properties/*}/androidAp" - + "pDataStreams\332A\006parent\022\376\001\n\036GetEnhancedMea" - + "surementSettings\022E.google.analytics.admi" - + "n.v1alpha.GetEnhancedMeasurementSettings" - + "Request\032;.google.analytics.admin.v1alpha" - + ".EnhancedMeasurementSettings\"X\202\323\344\223\002K\022I/v" - + "1alpha/{name=properties/*/webDataStreams" - + "/*/enhancedMeasurementSettings}\332A\004name\022\350" - + "\002\n!UpdateEnhancedMeasurementSettings\022H.g" - + "oogle.analytics.admin.v1alpha.UpdateEnha" - + "ncedMeasurementSettingsRequest\032;.google." - + "analytics.admin.v1alpha.EnhancedMeasurem" - + "entSettings\"\273\001\202\323\344\223\002\210\0012g/v1alpha/{enhance" - + "d_measurement_settings.name=properties/*" - + "/webDataStreams/*/enhancedMeasurementSet" - + "tings}:\035enhanced_measurement_settings\332A)" - + "enhanced_measurement_settings,update_mas" - + "k\022\331\001\n\022CreateFirebaseLink\0229.google.analyt" - + "ics.admin.v1alpha.CreateFirebaseLinkRequ" - + "est\032,.google.analytics.admin.v1alpha.Fir" - + "ebaseLink\"Z\202\323\344\223\002=\",/v1alpha/{parent=prop" - + "erties/*}/firebaseLinks:\rfirebase_link\332A" - + "\024parent,firebase_link\022\244\001\n\022DeleteFirebase" - + "Link\0229.google.analytics.admin.v1alpha.De" - + "leteFirebaseLinkRequest\032\026.google.protobu" - + "f.Empty\";\202\323\344\223\002.*,/v1alpha/{name=properti" - + "es/*/firebaseLinks/*}\332A\004name\022\307\001\n\021ListFir" - + "ebaseLinks\0228.google.analytics.admin.v1al" - + "pha.ListFirebaseLinksRequest\0329.google.an" - + "alytics.admin.v1alpha.ListFirebaseLinksR" - + "esponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=proper" - + "ties/*}/firebaseLinks\332A\006parent\022\306\001\n\020GetGl" - + "obalSiteTag\0227.google.analytics.admin.v1a" - + "lpha.GetGlobalSiteTagRequest\032-.google.an" - + "alytics.admin.v1alpha.GlobalSiteTag\"J\202\323\344" - + "\223\002=\022;/v1alpha/{name=properties/*/webData" - + "Streams/*/globalSiteTag}\332A\004name\022\341\001\n\023Crea" - + "teGoogleAdsLink\022:.google.analytics.admin" - + ".v1alpha.CreateGoogleAdsLinkRequest\032-.go" - + "ogle.analytics.admin.v1alpha.GoogleAdsLi" - + "nk\"_\202\323\344\223\002@\"-/v1alpha/{parent=properties/" - + "*}/googleAdsLinks:\017google_ads_link\332A\026par" - + "ent,google_ads_link\022\366\001\n\023UpdateGoogleAdsL" - + "ink\022:.google.analytics.admin.v1alpha.Upd" - + "ateGoogleAdsLinkRequest\032-.google.analyti" - + "cs.admin.v1alpha.GoogleAdsLink\"t\202\323\344\223\002P2=" - + "/v1alpha/{google_ads_link.name=propertie" - + "s/*/googleAdsLinks/*}:\017google_ads_link\332A" - + "\033google_ads_link,update_mask\022\247\001\n\023DeleteG" - + "oogleAdsLink\022:.google.analytics.admin.v1" - + "alpha.DeleteGoogleAdsLinkRequest\032\026.googl" - + "e.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{name" - + "=properties/*/googleAdsLinks/*}\332A\004name\022\313" - + "\001\n\022ListGoogleAdsLinks\0229.google.analytics" - + ".admin.v1alpha.ListGoogleAdsLinksRequest" - + "\032:.google.analytics.admin.v1alpha.ListGo" - + "ogleAdsLinksResponse\">\202\323\344\223\002/\022-/v1alpha/{" - + "parent=properties/*}/googleAdsLinks\332A\006pa" - + "rent\022\313\001\n\026GetDataSharingSettings\022=.google" - + ".analytics.admin.v1alpha.GetDataSharingS" - + "ettingsRequest\0323.google.analytics.admin." - + "v1alpha.DataSharingSettings\"=\202\323\344\223\0020\022./v1" - + "alpha/{name=accounts/*/dataSharingSettin" - + "gs}\332A\004name\022\241\003\n\034GetMeasurementProtocolSec" - + "ret\022C.google.analytics.admin.v1alpha.Get" - + "MeasurementProtocolSecretRequest\0329.googl" - + "e.analytics.admin.v1alpha.MeasurementPro" - + "tocolSecret\"\200\002\202\323\344\223\002\362\001\022J/v1alpha/{name=pr" - + "operties/*/webDataStreams/*/measurementP" - + "rotocolSecrets/*}ZO\022M/v1alpha/{name=prop" - + "erties/*/iosAppDataStreams/*/measurement" - + "ProtocolSecrets/*}ZS\022Q/v1alpha/{name=pro" - + "perties/*/androidAppDataStreams/*/measur" - + "ementProtocolSecrets/*}\332A\004name\022\264\003\n\036ListM" - + "easurementProtocolSecrets\022E.google.analy" - + "tics.admin.v1alpha.ListMeasurementProtoc" - + "olSecretsRequest\032F.google.analytics.admi" - + "n.v1alpha.ListMeasurementProtocolSecrets" - + "Response\"\202\002\202\323\344\223\002\362\001\022J/v1alpha/{parent=pro" - + "perties/*/webDataStreams/*}/measurementP" - + "rotocolSecretsZO\022M/v1alpha/{parent=prope" - + "rties/*/iosAppDataStreams/*}/measurement" - + "ProtocolSecretsZS\022Q/v1alpha/{parent=prop" - + "erties/*/androidAppDataStreams/*}/measur" - + "ementProtocolSecrets\332A\006parent\022\234\004\n\037Create" - + "MeasurementProtocolSecret\022F.google.analy" - + "tics.admin.v1alpha.CreateMeasurementProt" - + "ocolSecretRequest\0329.google.analytics.adm" - + "in.v1alpha.MeasurementProtocolSecret\"\365\002\202" - + "\323\344\223\002\311\002\"J/v1alpha/{parent=properties/*/we" - + "bDataStreams/*}/measurementProtocolSecre" - + "ts:\033measurement_protocol_secretZl\"M/v1al" - + "pha/{parent=properties/*/iosAppDataStrea" - + "ms/*}/measurementProtocolSecrets:\033measur" - + "ement_protocol_secretZp\"Q/v1alpha/{paren" - + "t=properties/*/androidAppDataStreams/*}/" - + "measurementProtocolSecrets:\033measurement_" - + "protocol_secret\332A\"parent,measurement_pro" - + "tocol_secret\022\204\003\n\037DeleteMeasurementProtoc" - + "olSecret\022F.google.analytics.admin.v1alph" - + "a.DeleteMeasurementProtocolSecretRequest" - + "\032\026.google.protobuf.Empty\"\200\002\202\323\344\223\002\362\001*J/v1a" - + "lpha/{name=properties/*/webDataStreams/*" - + "/measurementProtocolSecrets/*}ZO*M/v1alp" - + "ha/{name=properties/*/iosAppDataStreams/" - + "*/measurementProtocolSecrets/*}ZS*Q/v1al" - + "pha/{name=properties/*/androidAppDataStr" - + "eams/*/measurementProtocolSecrets/*}\332A\004n" - + "ame\022\367\004\n\037UpdateMeasurementProtocolSecret\022" - + "F.google.analytics.admin.v1alpha.UpdateM" - + "easurementProtocolSecretRequest\0329.google" - + ".analytics.admin.v1alpha.MeasurementProt" - + "ocolSecret\"\320\003\202\323\344\223\002\237\0032f/v1alpha/{measurem" - + "ent_protocol_secret.name=properties/*/we" - + "bDataStreams/*/measurementProtocolSecret" - + "s/*}:\033measurement_protocol_secretZ\210\0012i/v" - + "1alpha/{measurement_protocol_secret.name" - + "=properties/*/iosAppDataStreams/*/measur" - + "ementProtocolSecrets/*}:\033measurement_pro" - + "tocol_secretZ\214\0012m/v1alpha/{measurement_p" - + "rotocol_secret.name=properties/*/android" - + "AppDataStreams/*/measurementProtocolSecr" - + "ets/*}:\033measurement_protocol_secret\332A\'me" - + "asurement_protocol_secret,update_mask\022\344\001" - + "\n\031SearchChangeHistoryEvents\022@.google.ana" - + "lytics.admin.v1alpha.SearchChangeHistory" - + "EventsRequest\032A.google.analytics.admin.v" - + "1alpha.SearchChangeHistoryEventsResponse" - + "\"B\202\323\344\223\002<\"7/v1alpha/{account=accounts/*}:" - + "searchChangeHistoryEvents:\001*\022\325\001\n\030GetGoog" - + "leSignalsSettings\022?.google.analytics.adm" - + "in.v1alpha.GetGoogleSignalsSettingsReque" - + "st\0325.google.analytics.admin.v1alpha.Goog" - + "leSignalsSettings\"A\202\323\344\223\0024\0222/v1alpha/{nam" - + "e=properties/*/googleSignalsSettings}\332A\004" - + "name\022\254\002\n\033UpdateGoogleSignalsSettings\022B.g" - + "oogle.analytics.admin.v1alpha.UpdateGoog" - + "leSignalsSettingsRequest\0325.google.analyt" - + "ics.admin.v1alpha.GoogleSignalsSettings\"" - + "\221\001\202\323\344\223\002e2J/v1alpha/{google_signals_setti" - + "ngs.name=properties/*/googleSignalsSetti" - + "ngs}:\027google_signals_settings\332A#google_s" - + "ignals_settings,update_mask\022\353\001\n\025CreateCo" - + "nversionEvent\022<.google.analytics.admin.v" - + "1alpha.CreateConversionEventRequest\032/.go" - + "ogle.analytics.admin.v1alpha.ConversionE" - + "vent\"c\202\323\344\223\002C\"//v1alpha/{parent=propertie" - + "s/*}/conversionEvents:\020conversion_event\332" - + "A\027parent,conversion_event\022\300\001\n\022GetConvers" - + "ionEvent\0229.google.analytics.admin.v1alph" - + "a.GetConversionEventRequest\032/.google.ana" - + "lytics.admin.v1alpha.ConversionEvent\">\202\323" - + "\344\223\0021\022//v1alpha/{name=properties/*/conver" - + "sionEvents/*}\332A\004name\022\255\001\n\025DeleteConversio" - + "nEvent\022<.google.analytics.admin.v1alpha." - + "DeleteConversionEventRequest\032\026.google.pr" - + "otobuf.Empty\">\202\323\344\223\0021*//v1alpha/{name=pro" - + "perties/*/conversionEvents/*}\332A\004name\022\323\001\n" - + "\024ListConversionEvents\022;.google.analytics" - + ".admin.v1alpha.ListConversionEventsReque" - + "st\032<.google.analytics.admin.v1alpha.List" - + "ConversionEventsResponse\"@\202\323\344\223\0021\022//v1alp" - + "ha/{parent=properties/*}/conversionEvent" - + "s\332A\006parent\022\370\001\n GetDisplayVideo360Adverti" - + "serLink\022G.google.analytics.admin.v1alpha" - + ".GetDisplayVideo360AdvertiserLinkRequest" - + "\032=.google.analytics.admin.v1alpha.Displa" - + "yVideo360AdvertiserLink\"L\202\323\344\223\002?\022=/v1alph" - + "a/{name=properties/*/displayVideo360Adve" - + "rtiserLinks/*}\332A\004name\022\213\002\n\"ListDisplayVid" - + "eo360AdvertiserLinks\022I.google.analytics." - + "admin.v1alpha.ListDisplayVideo360Adverti" - + "serLinksRequest\032J.google.analytics.admin" - + ".v1alpha.ListDisplayVideo360AdvertiserLi" - + "nksResponse\"N\202\323\344\223\002?\022=/v1alpha/{parent=pr" - + "operties/*}/displayVideo360AdvertiserLin" - + "ks\332A\006parent\022\306\002\n#CreateDisplayVideo360Adv" - + "ertiserLink\022J.google.analytics.admin.v1a" - + "lpha.CreateDisplayVideo360AdvertiserLink" - + "Request\032=.google.analytics.admin.v1alpha" - + ".DisplayVideo360AdvertiserLink\"\223\001\202\323\344\223\002b\"" - + "=/v1alpha/{parent=properties/*}/displayV" - + "ideo360AdvertiserLinks:!display_video_36" - + "0_advertiser_link\332A(parent,display_video" - + "_360_advertiser_link\022\327\001\n#DeleteDisplayVi" - + "deo360AdvertiserLink\022J.google.analytics." - + "admin.v1alpha.DeleteDisplayVideo360Adver" - + "tiserLinkRequest\032\026.google.protobuf.Empty" - + "\"L\202\323\344\223\002?*=/v1alpha/{name=properties/*/di" - + "splayVideo360AdvertiserLinks/*}\332A\004name\022\356" - + "\002\n#UpdateDisplayVideo360AdvertiserLink\022J" - + ".google.analytics.admin.v1alpha.UpdateDi" - + "splayVideo360AdvertiserLinkRequest\032=.goo" - + "gle.analytics.admin.v1alpha.DisplayVideo" - + "360AdvertiserLink\"\273\001\202\323\344\223\002\204\0012_/v1alpha/{d" - + "isplay_video_360_advertiser_link.name=pr" - + "operties/*/displayVideo360AdvertiserLink" - + "s/*}:!display_video_360_advertiser_link\332" - + "A-display_video_360_advertiser_link,upda" - + "te_mask\022\230\002\n(GetDisplayVideo360Advertiser" - + "LinkProposal\022O.google.analytics.admin.v1" - + "alpha.GetDisplayVideo360AdvertiserLinkPr" - + "oposalRequest\032E.google.analytics.admin.v" - + "1alpha.DisplayVideo360AdvertiserLinkProp" - + "osal\"T\202\323\344\223\002G\022E/v1alpha/{name=properties/" - + "*/displayVideo360AdvertiserLinkProposals" - + "/*}\332A\004name\022\253\002\n*ListDisplayVideo360Advert" - + "iserLinkProposals\022Q.google.analytics.adm" - + "in.v1alpha.ListDisplayVideo360Advertiser" - + "LinkProposalsRequest\032R.google.analytics." - + "admin.v1alpha.ListDisplayVideo360Adverti" - + "serLinkProposalsResponse\"V\202\323\344\223\002G\022E/v1alp" - + "ha/{parent=properties/*}/displayVideo360" - + "AdvertiserLinkProposals\332A\006parent\022\370\002\n+Cre" - + "ateDisplayVideo360AdvertiserLinkProposal" - + "\022R.google.analytics.admin.v1alpha.Create" - + "DisplayVideo360AdvertiserLinkProposalReq" - + "uest\032E.google.analytics.admin.v1alpha.Di" - + "splayVideo360AdvertiserLinkProposal\"\255\001\202\323" - + "\344\223\002s\"E/v1alpha/{parent=properties/*}/dis" - + "playVideo360AdvertiserLinkProposals:*dis" - + "play_video_360_advertiser_link_proposal\332" - + "A1parent,display_video_360_advertiser_li" - + "nk_proposal\022\357\001\n+DeleteDisplayVideo360Adv" - + "ertiserLinkProposal\022R.google.analytics.a" - + "dmin.v1alpha.DeleteDisplayVideo360Advert" - + "iserLinkProposalRequest\032\026.google.protobu" - + "f.Empty\"T\202\323\344\223\002G*E/v1alpha/{name=properti" - + "es/*/displayVideo360AdvertiserLinkPropos" - + "als/*}\332A\004name\022\263\002\n,ApproveDisplayVideo360" - + "AdvertiserLinkProposal\022S.google.analytic" - + "s.admin.v1alpha.ApproveDisplayVideo360Ad" - + "vertiserLinkProposalRequest\032T.google.ana" - + "lytics.admin.v1alpha.ApproveDisplayVideo" - + "360AdvertiserLinkProposalResponse\"X\202\323\344\223\002" - + "R\"M/v1alpha/{name=properties/*/displayVi" - + "deo360AdvertiserLinkProposals/*}:approve" - + ":\001*\022\241\002\n+CancelDisplayVideo360AdvertiserL" - + "inkProposal\022R.google.analytics.admin.v1a" - + "lpha.CancelDisplayVideo360AdvertiserLink" - + "ProposalRequest\032E.google.analytics.admin" - + ".v1alpha.DisplayVideo360AdvertiserLinkPr" - + "oposal\"W\202\323\344\223\002Q\"L/v1alpha/{name=propertie" - + "s/*/displayVideo360AdvertiserLinkProposa" - + "ls/*}:cancel:\001*\022\353\001\n\025CreateCustomDimensio" - + "n\022<.google.analytics.admin.v1alpha.Creat" - + "eCustomDimensionRequest\032/.google.analyti" - + "cs.admin.v1alpha.CustomDimension\"c\202\323\344\223\002C" - + "\"//v1alpha/{parent=properties/*}/customD" - + "imensions:\020custom_dimension\332A\027parent,cus" - + "tom_dimension\022\201\002\n\025UpdateCustomDimension\022" - + "<.google.analytics.admin.v1alpha.UpdateC" - + "ustomDimensionRequest\032/.google.analytics" - + ".admin.v1alpha.CustomDimension\"y\202\323\344\223\002T2@" - + "/v1alpha/{custom_dimension.name=properti" - + "es/*/customDimensions/*}:\020custom_dimensi" - + "on\332A\034custom_dimension,update_mask\022\323\001\n\024Li", - "stCustomDimensions\022;.google.analytics.ad" - + "min.v1alpha.ListCustomDimensionsRequest\032" - + "<.google.analytics.admin.v1alpha.ListCus" - + "tomDimensionsResponse\"@\202\323\344\223\0021\022//v1alpha/" - + "{parent=properties/*}/customDimensions\332A" - + "\006parent\022\272\001\n\026ArchiveCustomDimension\022=.goo" - + "gle.analytics.admin.v1alpha.ArchiveCusto" - + "mDimensionRequest\032\026.google.protobuf.Empt" - + "y\"I\202\323\344\223\002<\"7/v1alpha/{name=properties/*/c" - + "ustomDimensions/*}:archive:\001*\332A\004name\022\300\001\n" - + "\022GetCustomDimension\0229.google.analytics.a" - + "dmin.v1alpha.GetCustomDimensionRequest\032/" - + ".google.analytics.admin.v1alpha.CustomDi" - + "mension\">\202\323\344\223\0021\022//v1alpha/{name=properti" - + "es/*/customDimensions/*}\332A\004name\022\331\001\n\022Crea" - + "teCustomMetric\0229.google.analytics.admin." - + "v1alpha.CreateCustomMetricRequest\032,.goog" - + "le.analytics.admin.v1alpha.CustomMetric\"" - + "Z\202\323\344\223\002=\",/v1alpha/{parent=properties/*}/" - + "customMetrics:\rcustom_metric\332A\024parent,cu" - + "stom_metric\022\354\001\n\022UpdateCustomMetric\0229.goo" - + "gle.analytics.admin.v1alpha.UpdateCustom" - + "MetricRequest\032,.google.analytics.admin.v" - + "1alpha.CustomMetric\"m\202\323\344\223\002K2:/v1alpha/{c" - + "ustom_metric.name=properties/*/customMet" - + "rics/*}:\rcustom_metric\332A\031custom_metric,u" - + "pdate_mask\022\307\001\n\021ListCustomMetrics\0228.googl" - + "e.analytics.admin.v1alpha.ListCustomMetr" - + "icsRequest\0329.google.analytics.admin.v1al" - + "pha.ListCustomMetricsResponse\"=\202\323\344\223\002.\022,/" - + "v1alpha/{parent=properties/*}/customMetr" - + "ics\332A\006parent\022\261\001\n\023ArchiveCustomMetric\022:.g" - + "oogle.analytics.admin.v1alpha.ArchiveCus" - + "tomMetricRequest\032\026.google.protobuf.Empty" - + "\"F\202\323\344\223\0029\"4/v1alpha/{name=properties/*/cu" - + "stomMetrics/*}:archive:\001*\332A\004name\022\264\001\n\017Get" - + "CustomMetric\0226.google.analytics.admin.v1" - + "alpha.GetCustomMetricRequest\032,.google.an" - + "alytics.admin.v1alpha.CustomMetric\";\202\323\344\223" - + "\002.\022,/v1alpha/{name=properties/*/customMe" - + "trics/*}\332A\004name\022\325\001\n\030GetDataRetentionSett" - + "ings\022?.google.analytics.admin.v1alpha.Ge" - + "tDataRetentionSettingsRequest\0325.google.a" - + "nalytics.admin.v1alpha.DataRetentionSett" - + "ings\"A\202\323\344\223\0024\0222/v1alpha/{name=properties/" - + "*/dataRetentionSettings}\332A\004name\022\254\002\n\033Upda" - + "teDataRetentionSettings\022B.google.analyti" - + "cs.admin.v1alpha.UpdateDataRetentionSett" - + "ingsRequest\0325.google.analytics.admin.v1a" - + "lpha.DataRetentionSettings\"\221\001\202\323\344\223\002e2J/v1" - + "alpha/{data_retention_settings.name=prop" - + "erties/*/dataRetentionSettings}:\027data_re" - + "tention_settings\332A#data_retention_settin" - + "gs,update_mask\032\374\001\312A\035analyticsadmin.googl" - + "eapis.com\322A\330\001https://www.googleapis.com/" - + "auth/analytics.edit,https://www.googleap" - + "is.com/auth/analytics.manage.users,https" - + "://www.googleapis.com/auth/analytics.man" - + "age.users.readonly,https://www.googleapi" - + "s.com/auth/analytics.readonlyB\200\001\n\"com.go" - + "ogle.analytics.admin.v1alphaB\023AnalyticsA" - + "dminProtoP\001ZCgoogle.golang.org/genproto/" - + "googleapis/analytics/admin/v1alpha;admin" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - 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(1); - 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(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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(12); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Names", - }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "NotifyNewUser", "UserLink", - }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "NotifyNewUsers", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, - new java.lang.String[] { - "UserLink", - }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor, - new java.lang.String[] { - "WebDataStream", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor, - new java.lang.String[] { - "WebDataStream", "Parent", - }); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor, - new java.lang.String[] { - "WebDataStreams", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor, - new java.lang.String[] { - "IosAppDataStream", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor, - new java.lang.String[] { - "IosAppDataStreams", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { - "AndroidAppDataStream", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor, - new java.lang.String[] { - "AndroidAppDataStreams", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - 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(45); - 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_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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_SearchChangeHistoryEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(59); - 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(60); - 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(61); - 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(62); - 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(63); - 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(64); - 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(65); - 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(66); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { - "MeasurementProtocolSecrets", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(67); - 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(68); - 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(69); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, - new java.lang.String[] { - "ConversionEvent", "Parent", - }); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(70); - 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(71); - 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(72); - 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(73); - 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(74); - 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(75); - 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(76); - 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(77); - 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(78); - 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(79); - 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(80); - 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(81); - 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(82); - 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(83); - 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(84); - 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(85); - 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(86); - 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(87); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - 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(89); - 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(90); - 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(91); - 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(92); - 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(93); - 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(94); - 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(95); - 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(96); - 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(97); - 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(98); - 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(99); - 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(100); - 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(101); - 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", - }); - 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.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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 67c2a9de..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,719 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ApproveDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest( - input, extensionRegistry); - } - }; - - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index db4a4828..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java deleted file mode 100644 index 4e25cada..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java +++ /dev/null @@ -1,851 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ApproveDisplayVideo360AdvertiserLinkProposalResponse() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ApproveDisplayVideo360AdvertiserLinkProposalResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = - null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); - } - displayVideo360AdvertiserLink_ = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 getDisplayVideo360AdvertiserLink(); - } - - 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()); - } - unknownFields.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 += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDisplayVideo360AdvertiserLink()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); - } - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = null; - } else { - displayVideo360AdvertiserLink_ = null; - 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 (displayVideo360AdvertiserLinkBuilder_ == null) { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; - } else { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_.build(); - } - 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.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.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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 displayVideo360AdvertiserLinkBuilder_ != null - || 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. - */ - 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; - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(value); - } - - 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(); - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); - } - - 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 (displayVideo360AdvertiserLink_ != null) { - displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( - displayVideo360AdvertiserLink_) - .mergeFrom(value) - .buildPartial(); - } else { - displayVideo360AdvertiserLink_ = value; - } - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); - } - - 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() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = null; - onChanged(); - } else { - displayVideo360AdvertiserLink_ = null; - displayVideo360AdvertiserLinkBuilder_ = null; - } - - 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() { - - 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 { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse( - input, extensionRegistry); - } - }; - - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java deleted file mode 100644 index 3bdcd0ef..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 08faf12c..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ArchiveCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index f7d638fc..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ArchiveCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 231a70d9..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,716 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CancelDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CancelDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CancelDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CancelDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest( - input, extensionRegistry); - } - }; - - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 9f4a2a4d..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java deleted file mode 100644 index 9efd85dc..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the conversionEvent field is set. - */ - boolean hasConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The conversionEvent. - */ - com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); - - /** - * - * - *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
-   * 
- * - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
-   * 
- * - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index a49f402b..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customDimension field is set. - */ - boolean hasCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customDimension. - */ - com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index 1cf913ab..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customMetric field is set. - */ - boolean hasCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customMetric. - */ - com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index fbe33191..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,1035 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CreateDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CreateDisplayVideo360AdvertiserLinkProposalRequest() { - parent_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CreateDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - subBuilder = null; - if (displayVideo360AdvertiserLinkProposal_ != null) { - subBuilder = displayVideo360AdvertiserLinkProposal_.toBuilder(); - } - displayVideo360AdvertiserLinkProposal_ = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLinkProposal_); - displayVideo360AdvertiserLinkProposal_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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 getDisplayVideo360AdvertiserLinkProposal(); - } - - 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()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (displayVideo360AdvertiserLinkProposal_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getDisplayVideo360AdvertiserLinkProposal()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + 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) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = null; - } else { - displayVideo360AdvertiserLinkProposal_ = null; - 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); - result.parent_ = parent_; - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposal_; - } else { - result.displayVideo360AdvertiserLinkProposal_ = - displayVideo360AdvertiserLinkProposalBuilder_.build(); - } - 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.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_; - onChanged(); - } - if (other.hasDisplayVideo360AdvertiserLinkProposal()) { - mergeDisplayVideo360AdvertiserLinkProposal( - other.getDisplayVideo360AdvertiserLinkProposal()); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 displayVideo360AdvertiserLinkProposalBuilder_ != null - || 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. - */ - 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; - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); - } - - 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(); - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); - } - - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - displayVideo360AdvertiserLinkProposal_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder( - displayVideo360AdvertiserLinkProposal_) - .mergeFrom(value) - .buildPartial(); - } else { - displayVideo360AdvertiserLinkProposal_ = value; - } - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); - } - - 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() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = null; - onChanged(); - } else { - displayVideo360AdvertiserLinkProposal_ = null; - displayVideo360AdvertiserLinkProposalBuilder_ = null; - } - - 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() { - - 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 { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest( - input, extensionRegistry); - } - }; - - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 91d8814f..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - boolean hasDisplayVideo360AdvertiserLinkProposal(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLinkProposal. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 53dabbab..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index af6b2f56..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Format: properties/{property_id}
-   * Example: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Format: properties/{property_id}
-   * Example: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the firebaseLink field is set. - */ - boolean hasFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The firebaseLink. - */ - com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index bd09628d..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: properties/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the googleAdsLink field is set. - */ - boolean hasGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The googleAdsLink. - */ - com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index 0cc75c3e..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreatePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the property field is set. - */ - boolean hasProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The property. - */ - com.google.analytics.admin.v1alpha.Property getProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java deleted file mode 100644 index c6291c96..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: accounts/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Optional. If set, then email the new user notifying them that they've been granted
-   * permissions to the resource.
-   * 
- * - * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The notifyNewUser. - */ - boolean getNotifyNewUser(); - - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java deleted file mode 100644 index c1f26635..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateWebDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The web stream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the webDataStream field is set. - */ - boolean hasWebDataStream(); - /** - * - * - *
-   * Required. The web stream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The webDataStream. - */ - com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); - /** - * - * - *
-   * Required. The web stream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); - - /** - * - * - *
-   * Required. The parent resource where this web data stream 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 parent resource where this web data stream 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 80336640..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java deleted file mode 100644 index 7d15f80c..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteAndroidAppDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the android app data stream to delete.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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 android app data stream to delete.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index 251995e6..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 6f410e2e..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,716 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DeleteDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest( - input, extensionRegistry); - } - }; - - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index ae5ef085..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 0bbad963..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index 19376846..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 7a0b6064..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java deleted file mode 100644 index 7a15026b..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteIosAppDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the iOS app data stream to delete.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to delete.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index a987d0fc..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeletePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java deleted file mode 100644 index d264010f..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java deleted file mode 100644 index ba9b0585..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteWebDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the web data stream to delete.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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 web data stream to delete.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java deleted file mode 100644 index 7e3e7c69..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java +++ /dev/null @@ -1,1888 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/resources.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Singleton resource under a WebDataStream, configuring measurement of
- * additional site interactions and content.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.EnhancedMeasurementSettings} - */ -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; - // Use EnhancedMeasurementSettings.newBuilder() to construct. - private EnhancedMeasurementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private EnhancedMeasurementSettings() { - name_ = ""; - searchQueryParameter_ = ""; - uriQueryParameter_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new EnhancedMeasurementSettings(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private EnhancedMeasurementSettings( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: - { - streamEnabled_ = input.readBool(); - break; - } - case 24: - { - pageViewsEnabled_ = input.readBool(); - break; - } - case 32: - { - scrollsEnabled_ = input.readBool(); - break; - } - case 40: - { - outboundClicksEnabled_ = input.readBool(); - break; - } - case 56: - { - siteSearchEnabled_ = input.readBool(); - break; - } - case 72: - { - videoEngagementEnabled_ = input.readBool(); - break; - } - case 80: - { - fileDownloadsEnabled_ = input.readBool(); - break; - } - case 96: - { - pageLoadsEnabled_ = input.readBool(); - break; - } - case 104: - { - pageChangesEnabled_ = input.readBool(); - break; - } - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); - - searchQueryParameter_ = s; - break; - } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - - uriQueryParameter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Output only. Resource name of this Data Stream.
-   * Format:
-   * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Resource name of this Data Stream.
-   * Format:
-   * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STREAM_ENABLED_FIELD_NUMBER = 2; - private boolean streamEnabled_; - /** - * - * - *
-   * Indicates whether Enhanced Measurement Settings will be used to
-   * automatically measure interactions and content on this web stream.
-   * Changing this value does not affect the settings themselves, but determines
-   * whether they are respected.
-   * 
- * - * bool stream_enabled = 2; - * - * @return The streamEnabled. - */ - @java.lang.Override - public boolean getStreamEnabled() { - return streamEnabled_; - } - - public static final int PAGE_VIEWS_ENABLED_FIELD_NUMBER = 3; - private boolean pageViewsEnabled_; - /** - * - * - *
-   * Output only. If enabled, capture a page view event each time a page loads or the
-   * website changes the browser history state.
-   * 
- * - * bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageViewsEnabled. - */ - @java.lang.Override - public boolean getPageViewsEnabled() { - return pageViewsEnabled_; - } - - public static final int SCROLLS_ENABLED_FIELD_NUMBER = 4; - private boolean scrollsEnabled_; - /** - * - * - *
-   * If enabled, capture scroll events each time a visitor gets to the bottom of
-   * a page.
-   * 
- * - * bool scrolls_enabled = 4; - * - * @return The scrollsEnabled. - */ - @java.lang.Override - public boolean getScrollsEnabled() { - return scrollsEnabled_; - } - - public static final int OUTBOUND_CLICKS_ENABLED_FIELD_NUMBER = 5; - 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 = 5; - * - * @return The outboundClicksEnabled. - */ - @java.lang.Override - public boolean getOutboundClicksEnabled() { - return outboundClicksEnabled_; - } - - public static final int SITE_SEARCH_ENABLED_FIELD_NUMBER = 7; - 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 = 7; - * - * @return The siteSearchEnabled. - */ - @java.lang.Override - public boolean getSiteSearchEnabled() { - return siteSearchEnabled_; - } - - public static final int VIDEO_ENGAGEMENT_ENABLED_FIELD_NUMBER = 9; - private boolean videoEngagementEnabled_; - /** - * - * - *
-   * If enabled, capture video play, progress, and complete events as visitors
-   * view embedded videos on your site.
-   * 
- * - * bool video_engagement_enabled = 9; - * - * @return The videoEngagementEnabled. - */ - @java.lang.Override - public boolean getVideoEngagementEnabled() { - return videoEngagementEnabled_; - } - - public static final int FILE_DOWNLOADS_ENABLED_FIELD_NUMBER = 10; - 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 = 10; - * - * @return The fileDownloadsEnabled. - */ - @java.lang.Override - public boolean getFileDownloadsEnabled() { - return fileDownloadsEnabled_; - } - - public static final int PAGE_LOADS_ENABLED_FIELD_NUMBER = 12; - private boolean pageLoadsEnabled_; - /** - * - * - *
-   * Output only. If enabled, capture a page view event each time a page loads.
-   * 
- * - * bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageLoadsEnabled. - */ - @java.lang.Override - public boolean getPageLoadsEnabled() { - return pageLoadsEnabled_; - } - - public static final int PAGE_CHANGES_ENABLED_FIELD_NUMBER = 13; - private boolean pageChangesEnabled_; - /** - * - * - *
-   * If enabled, capture a page view event each time the website changes the
-   * browser history state.
-   * 
- * - * bool page_changes_enabled = 13; - * - * @return The pageChangesEnabled. - */ - @java.lang.Override - public boolean getPageChangesEnabled() { - return pageChangesEnabled_; - } - - public static final int SEARCH_QUERY_PARAMETER_FIELD_NUMBER = 16; - 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 = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The searchQueryParameter. - */ - @java.lang.Override - public java.lang.String getSearchQueryParameter() { - java.lang.Object ref = searchQueryParameter_; - 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(); - 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 = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for searchQueryParameter. - */ - @java.lang.Override - 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); - searchQueryParameter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int URI_QUERY_PARAMETER_FIELD_NUMBER = 17; - private volatile java.lang.Object uriQueryParameter_; - /** - * - * - *
-   * Additional URL query parameters.
-   * Max length is 1024 characters.
-   * 
- * - * string uri_query_parameter = 17; - * - * @return The uriQueryParameter. - */ - @java.lang.Override - public java.lang.String getUriQueryParameter() { - java.lang.Object ref = uriQueryParameter_; - 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(); - uriQueryParameter_ = s; - return s; - } - } - /** - * - * - *
-   * Additional URL query parameters.
-   * Max length is 1024 characters.
-   * 
- * - * string uri_query_parameter = 17; - * - * @return The bytes for uriQueryParameter. - */ - @java.lang.Override - 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); - uriQueryParameter_ = 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_); - } - if (streamEnabled_ != false) { - output.writeBool(2, streamEnabled_); - } - if (pageViewsEnabled_ != false) { - output.writeBool(3, pageViewsEnabled_); - } - if (scrollsEnabled_ != false) { - output.writeBool(4, scrollsEnabled_); - } - if (outboundClicksEnabled_ != false) { - output.writeBool(5, outboundClicksEnabled_); - } - if (siteSearchEnabled_ != false) { - output.writeBool(7, siteSearchEnabled_); - } - if (videoEngagementEnabled_ != false) { - output.writeBool(9, videoEngagementEnabled_); - } - if (fileDownloadsEnabled_ != false) { - output.writeBool(10, fileDownloadsEnabled_); - } - if (pageLoadsEnabled_ != false) { - output.writeBool(12, pageLoadsEnabled_); - } - if (pageChangesEnabled_ != false) { - output.writeBool(13, pageChangesEnabled_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchQueryParameter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, searchQueryParameter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uriQueryParameter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, uriQueryParameter_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (streamEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, streamEnabled_); - } - if (pageViewsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, pageViewsEnabled_); - } - if (scrollsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, scrollsEnabled_); - } - if (outboundClicksEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outboundClicksEnabled_); - } - if (siteSearchEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, siteSearchEnabled_); - } - if (videoEngagementEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, videoEngagementEnabled_); - } - if (fileDownloadsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, fileDownloadsEnabled_); - } - if (pageLoadsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, pageLoadsEnabled_); - } - if (pageChangesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, pageChangesEnabled_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchQueryParameter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, searchQueryParameter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uriQueryParameter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, uriQueryParameter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (getPageViewsEnabled() != other.getPageViewsEnabled()) 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 (getPageLoadsEnabled() != other.getPageLoadsEnabled()) return false; - if (getPageChangesEnabled() != other.getPageChangesEnabled()) return false; - if (!getSearchQueryParameter().equals(other.getSearchQueryParameter())) return false; - if (!getUriQueryParameter().equals(other.getUriQueryParameter())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + 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 = (37 * hash) + PAGE_VIEWS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPageViewsEnabled()); - hash = (37 * hash) + SCROLLS_ENABLED_FIELD_NUMBER; - 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 = (37 * hash) + SITE_SEARCH_ENABLED_FIELD_NUMBER; - 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 = (37 * hash) + FILE_DOWNLOADS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFileDownloadsEnabled()); - hash = (37 * hash) + PAGE_LOADS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPageLoadsEnabled()); - hash = (37 * hash) + PAGE_CHANGES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPageChangesEnabled()); - hash = (37 * hash) + SEARCH_QUERY_PARAMETER_FIELD_NUMBER; - hash = (53 * hash) + getSearchQueryParameter().hashCode(); - hash = (37 * hash) + URI_QUERY_PARAMETER_FIELD_NUMBER; - hash = (53 * hash) + getUriQueryParameter().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - 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) - 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 { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings 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.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) - throws java.io.IOException { - 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - 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); - } - - 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); - } - - @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.EnhancedMeasurementSettings 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; - } - /** - * - * - *
-   * Singleton resource under a WebDataStream, configuring measurement of
-   * additional site interactions and content.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.EnhancedMeasurementSettings} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - streamEnabled_ = false; - - pageViewsEnabled_ = false; - - scrollsEnabled_ = false; - - outboundClicksEnabled_ = false; - - siteSearchEnabled_ = false; - - videoEngagementEnabled_ = false; - - fileDownloadsEnabled_ = false; - - pageLoadsEnabled_ = false; - - pageChangesEnabled_ = false; - - searchQueryParameter_ = ""; - - uriQueryParameter_ = ""; - - 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_EnhancedMeasurementSettings_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings build() { - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - result.name_ = name_; - result.streamEnabled_ = streamEnabled_; - result.pageViewsEnabled_ = pageViewsEnabled_; - result.scrollsEnabled_ = scrollsEnabled_; - result.outboundClicksEnabled_ = outboundClicksEnabled_; - result.siteSearchEnabled_ = siteSearchEnabled_; - result.videoEngagementEnabled_ = videoEngagementEnabled_; - result.fileDownloadsEnabled_ = fileDownloadsEnabled_; - result.pageLoadsEnabled_ = pageLoadsEnabled_; - result.pageChangesEnabled_ = pageChangesEnabled_; - result.searchQueryParameter_ = searchQueryParameter_; - result.uriQueryParameter_ = uriQueryParameter_; - 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.EnhancedMeasurementSettings) { - return mergeFrom((com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings other) { - if (other - == com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.getStreamEnabled() != false) { - setStreamEnabled(other.getStreamEnabled()); - } - if (other.getPageViewsEnabled() != false) { - setPageViewsEnabled(other.getPageViewsEnabled()); - } - if (other.getScrollsEnabled() != false) { - setScrollsEnabled(other.getScrollsEnabled()); - } - if (other.getOutboundClicksEnabled() != false) { - setOutboundClicksEnabled(other.getOutboundClicksEnabled()); - } - if (other.getSiteSearchEnabled() != false) { - setSiteSearchEnabled(other.getSiteSearchEnabled()); - } - if (other.getVideoEngagementEnabled() != false) { - setVideoEngagementEnabled(other.getVideoEngagementEnabled()); - } - if (other.getFileDownloadsEnabled() != false) { - setFileDownloadsEnabled(other.getFileDownloadsEnabled()); - } - if (other.getPageLoadsEnabled() != false) { - setPageLoadsEnabled(other.getPageLoadsEnabled()); - } - if (other.getPageChangesEnabled() != false) { - setPageChangesEnabled(other.getPageChangesEnabled()); - } - if (!other.getSearchQueryParameter().isEmpty()) { - searchQueryParameter_ = other.searchQueryParameter_; - onChanged(); - } - if (!other.getUriQueryParameter().isEmpty()) { - uriQueryParameter_ = other.uriQueryParameter_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Output only. Resource name of this Data Stream.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Resource name of this Data Stream.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Resource name of this Data Stream.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Resource name of this Data Stream.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Resource name of this Data Stream.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private boolean streamEnabled_; - /** - * - * - *
-     * Indicates whether Enhanced Measurement Settings will be used to
-     * automatically measure interactions and content on this web stream.
-     * Changing this value does not affect the settings themselves, but determines
-     * whether they are respected.
-     * 
- * - * bool stream_enabled = 2; - * - * @return The streamEnabled. - */ - @java.lang.Override - public boolean getStreamEnabled() { - return streamEnabled_; - } - /** - * - * - *
-     * Indicates whether Enhanced Measurement Settings will be used to
-     * automatically measure interactions and content on this web stream.
-     * Changing this value does not affect the settings themselves, but determines
-     * whether they are respected.
-     * 
- * - * bool stream_enabled = 2; - * - * @param value The streamEnabled to set. - * @return This builder for chaining. - */ - public Builder setStreamEnabled(boolean value) { - - streamEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Indicates whether Enhanced Measurement Settings will be used to
-     * automatically measure interactions and content on this web stream.
-     * Changing this value does not affect the settings themselves, but determines
-     * whether they are respected.
-     * 
- * - * bool stream_enabled = 2; - * - * @return This builder for chaining. - */ - public Builder clearStreamEnabled() { - - streamEnabled_ = false; - onChanged(); - return this; - } - - private boolean pageViewsEnabled_; - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads or the
-     * website changes the browser history state.
-     * 
- * - * bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageViewsEnabled. - */ - @java.lang.Override - public boolean getPageViewsEnabled() { - return pageViewsEnabled_; - } - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads or the
-     * website changes the browser history state.
-     * 
- * - * bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The pageViewsEnabled to set. - * @return This builder for chaining. - */ - public Builder setPageViewsEnabled(boolean value) { - - pageViewsEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads or the
-     * website changes the browser history state.
-     * 
- * - * bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearPageViewsEnabled() { - - pageViewsEnabled_ = false; - onChanged(); - return this; - } - - private boolean scrollsEnabled_; - /** - * - * - *
-     * If enabled, capture scroll events each time a visitor gets to the bottom of
-     * a page.
-     * 
- * - * bool scrolls_enabled = 4; - * - * @return The scrollsEnabled. - */ - @java.lang.Override - public boolean getScrollsEnabled() { - return scrollsEnabled_; - } - /** - * - * - *
-     * If enabled, capture scroll events each time a visitor gets to the bottom of
-     * a page.
-     * 
- * - * bool scrolls_enabled = 4; - * - * @param value The scrollsEnabled to set. - * @return This builder for chaining. - */ - public Builder setScrollsEnabled(boolean value) { - - scrollsEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If enabled, capture scroll events each time a visitor gets to the bottom of
-     * a page.
-     * 
- * - * bool scrolls_enabled = 4; - * - * @return This builder for chaining. - */ - public Builder clearScrollsEnabled() { - - scrollsEnabled_ = false; - onChanged(); - return this; - } - - 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 = 5; - * - * @return The outboundClicksEnabled. - */ - @java.lang.Override - 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 = 5; - * - * @param value The outboundClicksEnabled to set. - * @return This builder for chaining. - */ - public Builder setOutboundClicksEnabled(boolean value) { - - outboundClicksEnabled_ = value; - onChanged(); - 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 = 5; - * - * @return This builder for chaining. - */ - public Builder clearOutboundClicksEnabled() { - - outboundClicksEnabled_ = false; - onChanged(); - return this; - } - - 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 = 7; - * - * @return The siteSearchEnabled. - */ - @java.lang.Override - 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 = 7; - * - * @param value The siteSearchEnabled to set. - * @return This builder for chaining. - */ - public Builder setSiteSearchEnabled(boolean value) { - - siteSearchEnabled_ = value; - onChanged(); - 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 = 7; - * - * @return This builder for chaining. - */ - public Builder clearSiteSearchEnabled() { - - siteSearchEnabled_ = false; - onChanged(); - return this; - } - - private boolean videoEngagementEnabled_; - /** - * - * - *
-     * If enabled, capture video play, progress, and complete events as visitors
-     * view embedded videos on your site.
-     * 
- * - * bool video_engagement_enabled = 9; - * - * @return The videoEngagementEnabled. - */ - @java.lang.Override - 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 = 9; - * - * @param value The videoEngagementEnabled to set. - * @return This builder for chaining. - */ - public Builder setVideoEngagementEnabled(boolean value) { - - videoEngagementEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If enabled, capture video play, progress, and complete events as visitors
-     * view embedded videos on your site.
-     * 
- * - * bool video_engagement_enabled = 9; - * - * @return This builder for chaining. - */ - public Builder clearVideoEngagementEnabled() { - - videoEngagementEnabled_ = false; - onChanged(); - return this; - } - - 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 = 10; - * - * @return The fileDownloadsEnabled. - */ - @java.lang.Override - 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 = 10; - * - * @param value The fileDownloadsEnabled to set. - * @return This builder for chaining. - */ - public Builder setFileDownloadsEnabled(boolean value) { - - fileDownloadsEnabled_ = value; - onChanged(); - 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 = 10; - * - * @return This builder for chaining. - */ - public Builder clearFileDownloadsEnabled() { - - fileDownloadsEnabled_ = false; - onChanged(); - return this; - } - - private boolean pageLoadsEnabled_; - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads.
-     * 
- * - * bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageLoadsEnabled. - */ - @java.lang.Override - public boolean getPageLoadsEnabled() { - return pageLoadsEnabled_; - } - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads.
-     * 
- * - * bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The pageLoadsEnabled to set. - * @return This builder for chaining. - */ - public Builder setPageLoadsEnabled(boolean value) { - - pageLoadsEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. If enabled, capture a page view event each time a page loads.
-     * 
- * - * bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearPageLoadsEnabled() { - - pageLoadsEnabled_ = false; - onChanged(); - return this; - } - - private boolean pageChangesEnabled_; - /** - * - * - *
-     * If enabled, capture a page view event each time the website changes the
-     * browser history state.
-     * 
- * - * bool page_changes_enabled = 13; - * - * @return The pageChangesEnabled. - */ - @java.lang.Override - 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 = 13; - * - * @param value The pageChangesEnabled to set. - * @return This builder for chaining. - */ - public Builder setPageChangesEnabled(boolean value) { - - pageChangesEnabled_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If enabled, capture a page view event each time the website changes the
-     * browser history state.
-     * 
- * - * bool page_changes_enabled = 13; - * - * @return This builder for chaining. - */ - public Builder clearPageChangesEnabled() { - - pageChangesEnabled_ = false; - onChanged(); - return this; - } - - 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 = 16 [(.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; - java.lang.String s = bs.toStringUtf8(); - searchQueryParameter_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. URL query parameters to interpret as site search parameters.
-     * Max length is 1024 characters. Must not be empty.
-     * 
- * - * string search_query_parameter = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for searchQueryParameter. - */ - 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); - searchQueryParameter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. URL query parameters to interpret as site search parameters.
-     * Max length is 1024 characters. Must not be empty.
-     * 
- * - * string search_query_parameter = 16 [(.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(); - } - - searchQueryParameter_ = value; - 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 = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearSearchQueryParameter() { - - searchQueryParameter_ = getDefaultInstance().getSearchQueryParameter(); - 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 = 16 [(.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(); - } - checkByteStringIsUtf8(value); - - searchQueryParameter_ = value; - onChanged(); - return this; - } - - private java.lang.Object uriQueryParameter_ = ""; - /** - * - * - *
-     * Additional URL query parameters.
-     * Max length is 1024 characters.
-     * 
- * - * string uri_query_parameter = 17; - * - * @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; - java.lang.String s = bs.toStringUtf8(); - uriQueryParameter_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Additional URL query parameters.
-     * Max length is 1024 characters.
-     * 
- * - * string uri_query_parameter = 17; - * - * @return The bytes for uriQueryParameter. - */ - 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); - uriQueryParameter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Additional URL query parameters.
-     * Max length is 1024 characters.
-     * 
- * - * string uri_query_parameter = 17; - * - * @param value The uriQueryParameter to set. - * @return This builder for chaining. - */ - public Builder setUriQueryParameter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uriQueryParameter_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Additional URL query parameters.
-     * Max length is 1024 characters.
-     * 
- * - * string uri_query_parameter = 17; - * - * @return This builder for chaining. - */ - public Builder clearUriQueryParameter() { - - uriQueryParameter_ = getDefaultInstance().getUriQueryParameter(); - onChanged(); - return this; - } - /** - * - * - *
-     * Additional URL query parameters.
-     * Max length is 1024 characters.
-     * 
- * - * string uri_query_parameter = 17; - * - * @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(); - } - checkByteStringIsUtf8(value); - - uriQueryParameter_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) - 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() { - 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 { - return new EnhancedMeasurementSettings(input, extensionRegistry); - } - }; - - 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.EnhancedMeasurementSettings - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java deleted file mode 100644 index f341b9d2..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/resources.proto - -package com.google.analytics.admin.v1alpha; - -public interface EnhancedMeasurementSettingsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Resource name of this Data Stream.
-   * Format:
-   * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * 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}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Indicates whether Enhanced Measurement Settings will be used to
-   * automatically measure interactions and content on this web stream.
-   * Changing this value does not affect the settings themselves, but determines
-   * whether they are respected.
-   * 
- * - * bool stream_enabled = 2; - * - * @return The streamEnabled. - */ - boolean getStreamEnabled(); - - /** - * - * - *
-   * Output only. If enabled, capture a page view event each time a page loads or the
-   * website changes the browser history state.
-   * 
- * - * bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageViewsEnabled. - */ - boolean getPageViewsEnabled(); - - /** - * - * - *
-   * If enabled, capture scroll events each time a visitor gets to the bottom of
-   * a page.
-   * 
- * - * bool scrolls_enabled = 4; - * - * @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 = 5; - * - * @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 = 7; - * - * @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 = 9; - * - * @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 = 10; - * - * @return The fileDownloadsEnabled. - */ - boolean getFileDownloadsEnabled(); - - /** - * - * - *
-   * Output only. If enabled, capture a page view event each time a page loads.
-   * 
- * - * bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The pageLoadsEnabled. - */ - boolean getPageLoadsEnabled(); - - /** - * - * - *
-   * If enabled, capture a page view event each time the website changes the
-   * browser history state.
-   * 
- * - * bool page_changes_enabled = 13; - * - * @return The pageChangesEnabled. - */ - boolean getPageChangesEnabled(); - - /** - * - * - *
-   * Required. URL query parameters to interpret as site search parameters.
-   * Max length is 1024 characters. Must not be empty.
-   * 
- * - * string search_query_parameter = 16 [(.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 = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for searchQueryParameter. - */ - com.google.protobuf.ByteString getSearchQueryParameterBytes(); - - /** - * - * - *
-   * Additional URL query parameters.
-   * Max length is 1024 characters.
-   * 
- * - * string uri_query_parameter = 17; - * - * @return The uriQueryParameter. - */ - java.lang.String getUriQueryParameter(); - /** - * - * - *
-   * Additional URL query parameters.
-   * Max length is 1024 characters.
-   * 
- * - * string uri_query_parameter = 17; - * - * @return The bytes for uriQueryParameter. - */ - com.google.protobuf.ByteString getUriQueryParameterBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java deleted file mode 100644 index c9770c3a..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java deleted file mode 100644 index b9239067..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetAndroidAppDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the android app data stream to lookup.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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 android app data stream to lookup.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index 986523b1..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 4055eb55..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index b1979473..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index 246749d9..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDataRetentionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 332a29a4..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDataSharingSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 47e4394e..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 5b243e80..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java deleted file mode 100644 index a20dfe14..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java +++ /dev/null @@ -1,690 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for GetEnhancedMeasurementSettings RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest} - */ -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; - // Use GetEnhancedMeasurementSettingsRequest.newBuilder() to construct. - 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) { - return new GetEnhancedMeasurementSettingsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private GetEnhancedMeasurementSettingsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * - * 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 settings to lookup.
-   * Format:
-   * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * - * 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest other = - (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( - 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) - 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 { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest 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.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) - throws java.io.IOException { - 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, com.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); - } - - 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); - } - - @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.GetEnhancedMeasurementSettingsRequest 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 GetEnhancedMeasurementSettings RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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_GetEnhancedMeasurementSettingsRequest_descriptor; - } - - @java.lang.Override - 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(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - result.name_ = name_; - 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.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; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Required. The name of the settings to lookup.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * - * 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 settings to lookup.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * - * 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 settings to lookup.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * - * 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; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The name of the settings to lookup.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The name of the settings to lookup.
-     * Format:
-     * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-     * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
-     * 
- * - * - * 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; - 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.GetEnhancedMeasurementSettingsRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest(); - } - - 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 { - return new GetEnhancedMeasurementSettingsRequest(input, extensionRegistry); - } - }; - - 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.GetEnhancedMeasurementSettingsRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java deleted file mode 100644 index 6ebb6e69..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface 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_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/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_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
-   * Example: "properties/1000/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java deleted file mode 100644 index 9b61ee92..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetGoogleSignalsSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java deleted file mode 100644 index c46888b1..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetIosAppDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the iOS app data stream to lookup.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to lookup.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java deleted file mode 100644 index 20cd31c0..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetPropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java deleted file mode 100644 index b9a66481..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java deleted file mode 100644 index 8b9ab86d..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetWebDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the web data stream to lookup.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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 web data stream to lookup.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java deleted file mode 100644 index bc2b9f9a..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - java.util.List - getDisplayVideo360AdvertiserLinkProposalsList(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - int getDisplayVideo360AdvertiserLinkProposalsCount(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index cb7fb24b..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ProvisionAccountTicketResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The accountTicketId. - */ - java.lang.String getAccountTicketId(); - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The bytes for accountTicketId. - */ - com.google.protobuf.ByteString getAccountTicketIdBytes(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java deleted file mode 100644 index 46fe827e..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,747 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/resources.proto - -package com.google.analytics.admin.v1alpha; - -public final class ResourcesProto { - private ResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Account_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_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_FirebaseLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/analytics/admin/v1alpha/resourc" - + "es.proto\022\036google.analytics.admin.v1alpha" - + "\032\037google/api/field_behavior.proto\032\031googl" - + "e/api/resource.proto\032\037google/protobuf/ti" - + "mestamp.proto\032\036google/protobuf/wrappers." - + "proto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" - + "create_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022\031\n\014display_name" - + "\030\004 \001(\tB\003\340A\002\022\023\n\013region_code\030\005 \001(\t\022\024\n\007dele" - + "ted\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.goog" - + "leapis.com/Account\022\022accounts/{account}\"\257" - + "\004\n\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022" - + "\031\n\014display_name\030\005 \001(\tB\003\340A\002\022K\n\021industry_c" - + "ategory\030\006 \001(\01620.google.analytics.admin.v" - + "1alpha.IndustryCategory\022\026\n\ttime_zone\030\007 \001" - + "(\tB\003\340A\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rservic" - + "e_level\030\n \001(\0162,.google.analytics.admin.v" - + "1alpha.ServiceLevelB\003\340A\003\0224\n\013delete_time\030" - + "\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" - + "\n\013expire_time\030\014 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003:B\352A?\n&analyticsadmin.google" - + "apis.com/Property\022\025properties/{property}" - + "\"\344\002\n\024AndroidAppDataStream\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\022\034\n\017firebase_app_id\030\002 \001(\tB\003\340A\003\0224\n\013cr" - + "eate_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\031\n\014package_name\030\005" - + " \001(\tB\003\340A\005\022\024\n\014display_name\030\006 \001(\t:~\352A{\n2an" - + "alyticsadmin.googleapis.com/AndroidAppDa" - + "taStream\022Eproperties/{property}/androidA" - + "ppDataStreams/{android_app_data_stream}\"" - + "\324\002\n\020IosAppDataStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "\034\n\017firebase_app_id\030\002 \001(\tB\003\340A\003\0224\n\013create_" - + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\022\031\n\tbundle_id\030\005 \001(\tB\006\340A" - + "\005\340A\002\022\024\n\014display_name\030\006 \001(\t:r\352Ao\n.analyti" - + "csadmin.googleapis.com/IosAppDataStream\022" - + "=properties/{property}/iosAppDataStreams" - + "/{ios_app_data_stream}\"\350\002\n\rWebDataStream" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\016measurement_id\030\002 " - + "\001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\003 \001(\tB\003\340A\003\0224" - + "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022\030\n\013default_ur" - + "i\030\006 \001(\tB\003\340A\005\022\031\n\014display_name\030\007 \001(\tB\003\340A\002:" - + "h\352Ae\n+analyticsadmin.googleapis.com/WebD" - + "ataStream\0226properties/{property}/webData" - + "Streams/{web_data_stream}\"\324\001\n\010UserLink\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\remail_address\030\002 \001(\t" - + "B\003\340A\005\022\024\n\014direct_roles\030\003 \003(\t:\202\001\352A\177\n&analy" - + "ticsadmin.googleapis.com/UserLink\022(accou" - + "nts/{account}/userLinks/{user_link}\022+pro" - + "perties/{property}/userLinks/{user_link}" - + "\"c\n\rAuditUserLink\022\014\n\004name\030\001 \001(\t\022\025\n\remail" - + "_address\030\002 \001(\t\022\024\n\014direct_roles\030\003 \003(\t\022\027\n\017" - + "effective_roles\030\004 \003(\t\"\231\004\n\033EnhancedMeasur" - + "ementSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026\n\016stre" - + "am_enabled\030\002 \001(\010\022\037\n\022page_views_enabled\030\003" - + " \001(\010B\003\340A\003\022\027\n\017scrolls_enabled\030\004 \001(\010\022\037\n\027ou" - + "tbound_clicks_enabled\030\005 \001(\010\022\033\n\023site_sear" - + "ch_enabled\030\007 \001(\010\022 \n\030video_engagement_ena" - + "bled\030\t \001(\010\022\036\n\026file_downloads_enabled\030\n \001" - + "(\010\022\037\n\022page_loads_enabled\030\014 \001(\010B\003\340A\003\022\034\n\024p" - + "age_changes_enabled\030\r \001(\010\022#\n\026search_quer" - + "y_parameter\030\020 \001(\tB\003\340A\002\022\033\n\023uri_query_para" - + "meter\030\021 \001(\t:\223\001\352A\217\001\n9analyticsadmin.googl" - + "eapis.com/EnhancedMeasurementSettings\022Rp" - + "roperties/{property}/webDataStreams/{web" - + "_data_stream}/enhancedMeasurementSetting" - + "s\"\323\001\n\014FirebaseLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n" - + "\007project\030\002 \001(\tB\003\340A\005\0224\n\013create_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003:d\352Aa\n*" - + "analyticsadmin.googleapis.com/FirebaseLi" - + "nk\0223properties/{property}/firebaseLinks/" - + "{firebase_link}\"\217\001\n\rGlobalSiteTag\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\003\022\024\n\007snippet\030\002 \001(\tB\003\340A\005:U\352AR\n" - + "+analyticsadmin.googleapis.com/GlobalSit" - + "eTag\022#properties/{property}/globalSiteTa" - + "g\"\230\003\n\rGoogleAdsLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030" - + "\n\013customer_id\030\003 \001(\tB\003\340A\005\022\037\n\022can_manage_c" - + "lients\030\004 \001(\010B\003\340A\003\022?\n\033ads_personalization" - + "_enabled\030\005 \001(\0132\032.google.protobuf.BoolVal" - + "ue\0224\n\013create_time\030\007 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\022\"\n\025creato" - + "r_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analyti" - + "csadmin.googleapis.com/GoogleAdsLink\0226pr" - + "operties/{property}/googleAdsLinks/{goog" - + "le_ads_link}\"\353\002\n\023DataSharingSettings\022\021\n\004" - + "name\030\001 \001(\tB\003\340A\003\022+\n#sharing_with_google_s" - + "upport_enabled\030\002 \001(\010\0222\n*sharing_with_goo" - + "gle_assigned_sales_enabled\030\003 \001(\010\022-\n%shar" - + "ing_with_google_any_sales_enabled\030\004 \001(\010\022" - + ",\n$sharing_with_google_products_enabled\030" - + "\005 \001(\010\022#\n\033sharing_with_others_enabled\030\006 \001" - + "(\010:^\352A[\n1analyticsadmin.googleapis.com/D" - + "ataSharingSettings\022&accounts/{account}/d" - + "ataSharingSettings\"\225\002\n\016AccountSummary\022\014\n" - + "\004name\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%analy" - + "ticsadmin.googleapis.com/Account\022\024\n\014disp" - + "lay_name\030\003 \001(\t\022K\n\022property_summaries\030\004 \003" - + "(\0132/.google.analytics.admin.v1alpha.Prop" - + "ertySummary:U\352AR\n,analyticsadmin.googlea" - + "pis.com/AccountSummary\022\"accountSummaries" - + "/{account_summary}\"f\n\017PropertySummary\022=\n" - + "\010property\030\001 \001(\tB+\372A(\n&analyticsadmin.goo" - + "gleapis.com/Property\022\024\n\014display_name\030\002 \001" - + "(\t\"\225\002\n\031MeasurementProtocolSecret\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\031" - + "\n\014secret_value\030\003 \001(\tB\003\340A\003:\256\001\352A\252\001\n7analyt" - + "icsadmin.googleapis.com/MeasurementProto" - + "colSecret\022oproperties/{property}/webData" - + "Streams/{web_data_stream}/measurementPro" - + "tocolSecrets/{measurement_protocol_secre" - + "t}\"\212\002\n\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n" - + "\013change_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estamp\022=\n\nactor_type\030\003 \001(\0162).google.anal" - + "ytics.admin.v1alpha.ActorType\022\030\n\020user_ac" - + "tor_email\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(" - + "\010\022D\n\007changes\030\006 \003(\01323.google.analytics.ad" - + "min.v1alpha.ChangeHistoryChange\"\275\014\n\023Chan" - + "geHistoryChange\022\020\n\010resource\030\001 \001(\t\022:\n\006act" - + "ion\030\002 \001(\0162*.google.analytics.admin.v1alp" - + "ha.ActionType\022i\n\026resource_before_change\030" - + "\003 \001(\0132I.google.analytics.admin.v1alpha.C" - + "hangeHistoryChange.ChangeHistoryResource" - + "\022h\n\025resource_after_change\030\004 \001(\0132I.google" - + ".analytics.admin.v1alpha.ChangeHistoryCh" - + "ange.ChangeHistoryResource\032\202\n\n\025ChangeHis" - + "toryResource\022:\n\007account\030\001 \001(\0132\'.google.a" - + "nalytics.admin.v1alpha.AccountH\000\022<\n\010prop" - + "erty\030\002 \001(\0132(.google.analytics.admin.v1al" - + "pha.PropertyH\000\022H\n\017web_data_stream\030\003 \001(\0132" - + "-.google.analytics.admin.v1alpha.WebData" - + "StreamH\000\022W\n\027android_app_data_stream\030\004 \001(" - + "\01324.google.analytics.admin.v1alpha.Andro" - + "idAppDataStreamH\000\022O\n\023ios_app_data_stream" - + "\030\005 \001(\01320.google.analytics.admin.v1alpha." - + "IosAppDataStreamH\000\022E\n\rfirebase_link\030\006 \001(" - + "\0132,.google.analytics.admin.v1alpha.Fireb" - + "aseLinkH\000\022H\n\017google_ads_link\030\007 \001(\0132-.goo" - + "gle.analytics.admin.v1alpha.GoogleAdsLin" - + "kH\000\022X\n\027google_signals_settings\030\010 \001(\01325.g" - + "oogle.analytics.admin.v1alpha.GoogleSign" - + "alsSettingsH\000\022j\n!display_video_360_adver" - + "tiser_link\030\t \001(\0132=.google.analytics.admi" - + "n.v1alpha.DisplayVideo360AdvertiserLinkH" - + "\000\022{\n*display_video_360_advertiser_link_p" - + "roposal\030\n \001(\0132E.google.analytics.admin.v" - + "1alpha.DisplayVideo360AdvertiserLinkProp" - + "osalH\000\022K\n\020conversion_event\030\013 \001(\0132/.googl" - + "e.analytics.admin.v1alpha.ConversionEven" - + "tH\000\022`\n\033measurement_protocol_secret\030\014 \001(\013" - + "29.google.analytics.admin.v1alpha.Measur" - + "ementProtocolSecretH\000\022K\n\020custom_dimensio" - + "n\030\r \001(\0132/.google.analytics.admin.v1alpha" - + ".CustomDimensionH\000\022E\n\rcustom_metric\030\016 \001(" - + "\0132,.google.analytics.admin.v1alpha.Custo" - + "mMetricH\000\022X\n\027data_retention_settings\030\017 \001" - + "(\01325.google.analytics.admin.v1alpha.Data" - + "RetentionSettingsH\000B\n\n\010resource\"\337\003\n\035Disp" - + "layVideo360AdvertiserLink\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\022\032\n\radvertiser_id\030\002 \001(\tB\003\340A\005\022$\n\027adve" - + "rtiser_display_name\030\003 \001(\tB\003\340A\003\022?\n\033ads_pe" - + "rsonalization_enabled\030\004 \001(\0132\032.google.pro" - + "tobuf.BoolValue\022F\n\035campaign_data_sharing" - + "_enabled\030\005 \001(\0132\032.google.protobuf.BoolVal" - + "ueB\003\340A\005\022B\n\031cost_data_sharing_enabled\030\006 \001" - + "(\0132\032.google.protobuf.BoolValueB\003\340A\005:\233\001\352A" - + "\227\001\n;analyticsadmin.googleapis.com/Displa" - + "yVideo360AdvertiserLink\022Xproperties/{pro" - + "perty}/displayVideo360AdvertiserLinks/{d" - + "isplay_video_360_advertiser_link}\"\212\005\n%Di" - + "splayVideo360AdvertiserLinkProposal\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\003\022\032\n\radvertiser_id\030\002 \001(\tB\003\340" - + "A\005\022d\n\034link_proposal_status_details\030\003 \001(\013" - + "29.google.analytics.admin.v1alpha.LinkPr" - + "oposalStatusDetailsB\003\340A\003\022$\n\027advertiser_d" - + "isplay_name\030\004 \001(\tB\003\340A\003\022\035\n\020validation_ema" - + "il\030\005 \001(\tB\003\340A\004\022D\n\033ads_personalization_ena" - + "bled\030\006 \001(\0132\032.google.protobuf.BoolValueB\003" - + "\340A\005\022F\n\035campaign_data_sharing_enabled\030\007 \001" - + "(\0132\032.google.protobuf.BoolValueB\003\340A\005\022B\n\031c" - + "ost_data_sharing_enabled\030\010 \001(\0132\032.google." - + "protobuf.BoolValueB\003\340A\005:\264\001\352A\260\001\nCanalytic" - + "sadmin.googleapis.com/DisplayVideo360Adv" - + "ertiserLinkProposal\022iproperties/{propert" - + "y}/displayVideo360AdvertiserLinkProposal" - + "s/{display_video_360_advertiser_link_pro" - + "posal}\"\374\001\n\031LinkProposalStatusDetails\022l\n " - + "link_proposal_initiating_product\030\001 \001(\0162=" - + ".google.analytics.admin.v1alpha.LinkProp" - + "osalInitiatingProductB\003\340A\003\022\034\n\017requestor_" - + "email\030\002 \001(\tB\003\340A\003\022S\n\023link_proposal_state\030" - + "\003 \001(\01621.google.analytics.admin.v1alpha.L" - + "inkProposalStateB\003\340A\003\"\217\002\n\017ConversionEven" - + "t\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\027\n\nevent_name\030\002 \001(\t" - + "B\003\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003" - + "\340A\003\022\023\n\006custom\030\005 \001(\010B\003\340A\003:m\352Aj\n-analytics" - + "admin.googleapis.com/ConversionEvent\0229pr" - + "operties/{property}/conversionEvents/{co" - + "nversion_event}\"\240\002\n\025GoogleSignalsSetting" - + "s\022\021\n\004name\030\001 \001(\tB\003\340A\003\022A\n\005state\030\003 \001(\01622.go" - + "ogle.analytics.admin.v1alpha.GoogleSigna" - + "lsState\022J\n\007consent\030\004 \001(\01624.google.analyt" - + "ics.admin.v1alpha.GoogleSignalsConsentB\003" - + "\340A\003:e\352Ab\n3analyticsadmin.googleapis.com/" - + "GoogleSignalsSettings\022+properties/{prope" - + "rty}/googleSignalsSettings\"\237\003\n\017CustomDim" - + "ension\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016parameter_n" - + "ame\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030\003 \001(\tB" - + "\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022U\n\005scope\030" - + "\005 \001(\0162>.google.analytics.admin.v1alpha.C" - + "ustomDimension.DimensionScopeB\006\340A\002\340A\005\022)\n" - + "\034disallow_ads_personalization\030\006 \001(\010B\003\340A\001" - + "\"F\n\016DimensionScope\022\037\n\033DIMENSION_SCOPE_UN" - + "SPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002:Z\352AW\n-a" - + "nalyticsadmin.googleapis.com/CustomDimen" - + "sion\022&properties/{property}/customDimens" - + "ions\"\354\004\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340A\003" - + "\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014disp" - + "lay_name\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\t" - + "B\003\340A\001\022[\n\020measurement_unit\030\005 \001(\0162<.google" - + ".analytics.admin.v1alpha.CustomMetric.Me" - + "asurementUnitB\003\340A\002\022O\n\005scope\030\006 \001(\01628.goog" - + "le.analytics.admin.v1alpha.CustomMetric." - + "MetricScopeB\006\340A\002\340A\005\"\267\001\n\017MeasurementUnit\022" - + " \n\034MEASUREMENT_UNIT_UNSPECIFIED\020\000\022\014\n\010STA" - + "NDARD\020\001\022\014\n\010CURRENCY\020\002\022\010\n\004FEET\020\003\022\n\n\006METER" - + "S\020\004\022\016\n\nKILOMETERS\020\005\022\t\n\005MILES\020\006\022\020\n\014MILLIS" - + "ECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n\007MINUTES\020\t\022\t\n\005HO" - + "URS\020\n\"6\n\013MetricScope\022\034\n\030METRIC_SCOPE_UNS" - + "PECIFIED\020\000\022\t\n\005EVENT\020\001:T\352AQ\n*analyticsadm" - + "in.googleapis.com/CustomMetric\022#properti" - + "es/{property}/customMetrics\"\302\003\n\025DataRete" - + "ntionSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022e\n\024even" - + "t_data_retention\030\002 \001(\0162G.google.analytic" - + "s.admin.v1alpha.DataRetentionSettings.Re" - + "tentionDuration\022\'\n\037reset_user_data_on_ne" - + "w_activity\030\003 \001(\010\"\236\001\n\021RetentionDuration\022\"" - + "\n\036RETENTION_DURATION_UNSPECIFIED\020\000\022\016\n\nTW" - + "O_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022\025\n\021TWENT" - + "Y_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_MONTHS\020\005\022" - + "\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analyticsadmin.g" - + "oogleapis.com/DataRetentionSettings\022+pro" - + "perties/{property}/dataRetentionSettings" - + "*\252\004\n\020IndustryCategory\022!\n\035INDUSTRY_CATEGO" - + "RY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSI" - + "NESS_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\006TR" - + "AVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_ENTERTAINM" - + "ENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n\024BOOKS_A" - + "ND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRINK\020\013\022\t\n\005G" - + "AMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022\023\n\017HOME_" - + "AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TELECOM\020\017\022\026" - + "\n\022LAW_AND_GOVERNMENT\020\020\022\010\n\004NEWS\020\021\022\026\n\022ONLI" - + "NE_COMMUNITIES\020\022\022\026\n\022PEOPLE_AND_SOCIETY\020\023" - + "\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_ESTATE\020\025\022" - + "\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022" - + "\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPPING\020\032*f\n" - + "\014ServiceLevel\022\035\n\031SERVICE_LEVEL_UNSPECIFI" - + "ED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDARD\020\001\022\030\n\024G" - + "OOGLE_ANALYTICS_360\020\002*J\n\tActorType\022\032\n\026AC" - + "TOR_TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\n\n\006SYST" - + "EM\020\002\022\013\n\007SUPPORT\020\003*P\n\nActionType\022\033\n\027ACTIO" - + "N_TYPE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPD" - + "ATED\020\002\022\013\n\007DELETED\020\003*\361\002\n\031ChangeHistoryRes" - + "ourceType\022,\n(CHANGE_HISTORY_RESOURCE_TYP" - + "E_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010PROPERTY" - + "\020\002\022\023\n\017WEB_DATA_STREAM\020\003\022\033\n\027ANDROID_APP_D" - + "ATA_STREAM\020\004\022\027\n\023IOS_APP_DATA_STREAM\020\005\022\021\n" - + "\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_ADS_LINK\020\007\022\033\n" - + "\027GOOGLE_SIGNALS_SETTINGS\020\010\022\024\n\020CONVERSION" - + "_EVENT\020\t\022\037\n\033MEASUREMENT_PROTOCOL_SECRET\020" - + "\n\022\024\n\020CUSTOM_DIMENSION\020\013\022\021\n\rCUSTOM_METRIC" - + "\020\014\022\033\n\027DATA_RETENTION_SETTINGS\020\r*s\n\022Googl" - + "eSignalsState\022$\n GOOGLE_SIGNALS_STATE_UN" - + "SPECIFIED\020\000\022\032\n\026GOOGLE_SIGNALS_ENABLED\020\001\022" - + "\033\n\027GOOGLE_SIGNALS_DISABLED\020\002*\216\001\n\024GoogleS" - + "ignalsConsent\022&\n\"GOOGLE_SIGNALS_CONSENT_" - + "UNSPECIFIED\020\000\022$\n GOOGLE_SIGNALS_CONSENT_" - + "CONSENTED\020\002\022(\n$GOOGLE_SIGNALS_CONSENT_NO" - + "T_CONSENTED\020\001*{\n\035LinkProposalInitiatingP" - + "roduct\0220\n,LINK_PROPOSAL_INITIATING_PRODU" - + "CT_UNSPECIFIED\020\000\022\024\n\020GOOGLE_ANALYTICS\020\001\022\022" - + "\n\016LINKED_PRODUCT\020\002*\304\001\n\021LinkProposalState" - + "\022#\n\037LINK_PROPOSAL_STATE_UNSPECIFIED\020\000\022)\n" - + "%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\020\001" - + "\022\'\n#AWAITING_REVIEW_FROM_LINKED_PRODUCT\020" - + "\002\022\r\n\tWITHDRAWN\020\003\022\014\n\010DECLINED\020\004\022\013\n\007EXPIRE" - + "D\020\005\022\014\n\010OBSOLETE\020\006B{\n\"com.google.analytic" - + "s.admin.v1alphaB\016ResourcesProtoP\001ZCgoogl" - + "e.golang.org/genproto/googleapis/analyti" - + "cs/admin/v1alpha;adminb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - 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", - "CreateTime", - "UpdateTime", - "Parent", - "DisplayName", - "IndustryCategory", - "TimeZone", - "CurrencyCode", - "ServiceLevel", - "DeleteTime", - "ExpireTime", - }); - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor, - new java.lang.String[] { - "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "PackageName", "DisplayName", - }); - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor, - new java.lang.String[] { - "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "BundleId", "DisplayName", - }); - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor, - new java.lang.String[] { - "Name", - "MeasurementId", - "FirebaseAppId", - "CreateTime", - "UpdateTime", - "DefaultUri", - "DisplayName", - }); - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, - new java.lang.String[] { - "Name", "EmailAddress", "DirectRoles", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, - new java.lang.String[] { - "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", - }); - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor = - getDescriptor().getMessageTypes().get(7); - 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", - "PageViewsEnabled", - "ScrollsEnabled", - "OutboundClicksEnabled", - "SiteSearchEnabled", - "VideoEngagementEnabled", - "FileDownloadsEnabled", - "PageLoadsEnabled", - "PageChangesEnabled", - "SearchQueryParameter", - "UriQueryParameter", - }); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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", - }); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "SecretValue", - }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(15); - 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(16); - 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", - "WebDataStream", - "AndroidAppDataStream", - "IosAppDataStream", - "FirebaseLink", - "GoogleAdsLink", - "GoogleSignalsSettings", - "DisplayVideo360AdvertiserLink", - "DisplayVideo360AdvertiserLinkProposal", - "ConversionEvent", - "MeasurementProtocolSecret", - "CustomDimension", - "CustomMetric", - "DataRetentionSettings", - "Resource", - }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = - getDescriptor().getMessageTypes().get(17); - 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(18); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, - new java.lang.String[] { - "Name", - "AdvertiserId", - "LinkProposalStatusDetails", - "AdvertiserDisplayName", - "ValidationEmail", - "AdsPersonalizationEnabled", - "CampaignDataSharingEnabled", - "CostDataSharingEnabled", - }); - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = - getDescriptor().getMessageTypes().get(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", - }); - 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", - }); - 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", - }); - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java deleted file mode 100644 index 8a84e47a..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java +++ /dev/null @@ -1,1120 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for UpdateEnhancedMeasurementSettings RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest} - */ -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; - // Use UpdateEnhancedMeasurementSettingsRequest.newBuilder() to construct. - private UpdateEnhancedMeasurementSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private UpdateEnhancedMeasurementSettingsRequest() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateEnhancedMeasurementSettingsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private UpdateEnhancedMeasurementSettingsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder subBuilder = - null; - if (enhancedMeasurementSettings_ != null) { - subBuilder = enhancedMeasurementSettings_.toBuilder(); - } - enhancedMeasurementSettings_ = - input.readMessage( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(enhancedMeasurementSettings_); - enhancedMeasurementSettings_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.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 - .ensureFieldAccessorsInitialized( - 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_; - /** - * - * - *
-   * 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]; - * - * - * @return Whether the enhancedMeasurementSettings field is set. - */ - @java.lang.Override - 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]; - * - * - * @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_; - } - /** - * - * - *
-   * 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]; - * - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder - getEnhancedMeasurementSettingsOrBuilder() { - return getEnhancedMeasurementSettings(); - } - - public static final int UPDATE_MASK_FIELD_NUMBER = 2; - private com.google.protobuf.FieldMask updateMask_; - /** - * - * - *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the updateMask field is set. - */ - @java.lang.Override - public boolean hasUpdateMask() { - return updateMask_ != null; - } - /** - * - * - *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The updateMask. - */ - @java.lang.Override - public com.google.protobuf.FieldMask getUpdateMask() { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; - } - /** - * - * - *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - return getUpdateMask(); - } - - 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 (enhancedMeasurementSettings_ != null) { - output.writeMessage(1, getEnhancedMeasurementSettings()); - } - if (updateMask_ != null) { - output.writeMessage(2, getUpdateMask()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (enhancedMeasurementSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getEnhancedMeasurementSettings()); - } - if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest)) { - return super.equals(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 (hasUpdateMask() != other.hasUpdateMask()) return false; - if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEnhancedMeasurementSettings()) { - hash = (37 * hash) + ENHANCED_MEASUREMENT_SETTINGS_FIELD_NUMBER; - hash = (53 * hash) + getEnhancedMeasurementSettings().hashCode(); - } - if (hasUpdateMask()) { - hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; - hash = (53 * hash) + getUpdateMask().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - 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 { - return PARSER.parseFrom(data, extensionRegistry); - } - - 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 { - return PARSER.parseFrom(data, extensionRegistry); - } - - 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 { - 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, com.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, com.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, - 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.UpdateEnhancedMeasurementSettingsRequest 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 UpdateEnhancedMeasurementSettings RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (enhancedMeasurementSettingsBuilder_ == null) { - enhancedMeasurementSettings_ = null; - } else { - enhancedMeasurementSettings_ = null; - enhancedMeasurementSettingsBuilder_ = null; - } - if (updateMaskBuilder_ == null) { - updateMask_ = null; - } else { - updateMask_ = null; - updateMaskBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; - } - - @java.lang.Override - 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(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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 (enhancedMeasurementSettingsBuilder_ == null) { - result.enhancedMeasurementSettings_ = enhancedMeasurementSettings_; - } else { - result.enhancedMeasurementSettings_ = enhancedMeasurementSettingsBuilder_.build(); - } - if (updateMaskBuilder_ == null) { - result.updateMask_ = updateMask_; - } else { - result.updateMask_ = updateMaskBuilder_.build(); - } - 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.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; - if (other.hasEnhancedMeasurementSettings()) { - mergeEnhancedMeasurementSettings(other.getEnhancedMeasurementSettings()); - } - if (other.hasUpdateMask()) { - mergeUpdateMask(other.getUpdateMask()); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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_; - /** - * - * - *
-     * 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]; - * - * - * @return Whether the enhancedMeasurementSettings field is set. - */ - public boolean hasEnhancedMeasurementSettings() { - return enhancedMeasurementSettingsBuilder_ != null || 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]; - * - * - * @return The enhancedMeasurementSettings. - */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings - getEnhancedMeasurementSettings() { - if (enhancedMeasurementSettingsBuilder_ == null) { - 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]; - * - */ - public Builder setEnhancedMeasurementSettings( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { - if (enhancedMeasurementSettingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - enhancedMeasurementSettings_ = value; - onChanged(); - } else { - enhancedMeasurementSettingsBuilder_.setMessage(value); - } - - 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]; - * - */ - public Builder setEnhancedMeasurementSettings( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder builderForValue) { - if (enhancedMeasurementSettingsBuilder_ == null) { - enhancedMeasurementSettings_ = builderForValue.build(); - onChanged(); - } else { - enhancedMeasurementSettingsBuilder_.setMessage(builderForValue.build()); - } - - 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]; - * - */ - public Builder mergeEnhancedMeasurementSettings( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { - if (enhancedMeasurementSettingsBuilder_ == null) { - if (enhancedMeasurementSettings_ != null) { - enhancedMeasurementSettings_ = - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.newBuilder( - enhancedMeasurementSettings_) - .mergeFrom(value) - .buildPartial(); - } else { - enhancedMeasurementSettings_ = value; - } - onChanged(); - } else { - enhancedMeasurementSettingsBuilder_.mergeFrom(value); - } - - 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]; - * - */ - public Builder clearEnhancedMeasurementSettings() { - if (enhancedMeasurementSettingsBuilder_ == null) { - enhancedMeasurementSettings_ = null; - onChanged(); - } else { - enhancedMeasurementSettings_ = null; - enhancedMeasurementSettingsBuilder_ = null; - } - - 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]; - * - */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder - getEnhancedMeasurementSettingsBuilder() { - - 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]; - * - */ - 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_; - } - } - /** - * - * - *
-     * 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]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - 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()); - enhancedMeasurementSettings_ = null; - } - return enhancedMeasurementSettingsBuilder_; - } - - private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the updateMask field is set. - */ - public boolean hasUpdateMask() { - return updateMaskBuilder_ != null || updateMask_ != null; - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The updateMask. - */ - public com.google.protobuf.FieldMask getUpdateMask() { - if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } else { - return updateMaskBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateMask_ = value; - onChanged(); - } else { - updateMaskBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { - if (updateMaskBuilder_ == null) { - updateMask_ = builderForValue.build(); - onChanged(); - } else { - updateMaskBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (updateMask_ != null) { - updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); - } else { - updateMask_ = value; - } - onChanged(); - } else { - updateMaskBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearUpdateMask() { - if (updateMaskBuilder_ == null) { - updateMask_ = null; - onChanged(); - } else { - updateMask_ = null; - updateMaskBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - - onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - if (updateMaskBuilder_ != null) { - return updateMaskBuilder_.getMessageOrBuilder(); - } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } - } - /** - * - * - *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { - if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); - updateMask_ = null; - } - return updateMaskBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest(); - } - - 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 { - return new UpdateEnhancedMeasurementSettingsRequest(input, extensionRegistry); - } - }; - - 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.UpdateEnhancedMeasurementSettingsRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java deleted file mode 100644 index 0a1d9b8f..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface 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]; - * - * - * @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]; - * - * - * @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]; - * - */ - 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 replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the updateMask field is set. - */ - boolean hasUpdateMask(); - /** - * - * - *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The updateMask. - */ - com.google.protobuf.FieldMask getUpdateMask(); - /** - * - * - *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java deleted file mode 100644 index 4378c44f..00000000 --- a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} From d51d87ba382132cd3f013ec1a39929d502c16c97 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 16 Dec 2021 22:52:55 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= 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 --- .../v1alpha/AnalyticsAdminServiceClient.java | 321 +- .../AnalyticsAdminServiceSettings.java | 55 +- .../admin/v1alpha/gapic_metadata.json | 0 .../analytics/admin/v1alpha/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 0 .../AnalyticsAdminServiceStubSettings.java | 195 +- ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 1 - .../AnalyticsAdminServiceClientTest.java | 0 .../v1alpha/MockAnalyticsAdminService.java | 0 .../MockAnalyticsAdminServiceImpl.java | 0 .../v1alpha/AnalyticsAdminServiceGrpc.java | 11057 ++++++++++++++++ .../v1alpha/AnalyticsAdminServiceGrpc.java | 7677 ----------- ...geUserDataCollectionResponseOrBuilder.java | 9 - .../admin/v1alpha/AnalyticsAdminProto.java | 2141 --- ...Video360AdvertiserLinkProposalRequest.java | 600 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkProposalResponse.java | 675 - ...vertiserLinkProposalResponseOrBuilder.java | 39 - ...rchiveCustomDimensionRequestOrBuilder.java | 31 - .../ArchiveCustomMetricRequestOrBuilder.java | 31 - ...Video360AdvertiserLinkProposalRequest.java | 600 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...CreateConversionEventRequestOrBuilder.java | 58 - ...CreateCustomDimensionRequestOrBuilder.java | 56 - .../CreateCustomMetricRequestOrBuilder.java | 56 - .../CreateDataStreamRequestOrBuilder.java | 56 - ...Video360AdvertiserLinkProposalRequest.java | 829 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - .../CreateFirebaseLinkRequestOrBuilder.java | 58 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 - .../CreatePropertyRequestOrBuilder.java | 39 - .../CreateUserLinkRequestOrBuilder.java | 67 - .../CreateWebDataStreamRequestOrBuilder.java | 58 - .../DeleteAccountRequestOrBuilder.java | 33 - ...eAndroidAppDataStreamRequestOrBuilder.java | 33 - ...DeleteConversionEventRequestOrBuilder.java | 33 - .../DeleteDataStreamRequestOrBuilder.java | 31 - ...Video360AdvertiserLinkProposalRequest.java | 600 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - .../DeleteFirebaseLinkRequestOrBuilder.java | 31 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 - ...eleteIosAppDataStreamRequestOrBuilder.java | 33 - .../DeletePropertyRequestOrBuilder.java | 33 - .../DeleteUserLinkRequestOrBuilder.java | 29 - .../DeleteWebDataStreamRequestOrBuilder.java | 33 - .../v1alpha/GetAccountRequestOrBuilder.java | 33 - ...tAndroidAppDataStreamRequestOrBuilder.java | 33 - .../GetConversionEventRequestOrBuilder.java | 33 - .../GetCustomDimensionRequestOrBuilder.java | 31 - .../GetCustomMetricRequestOrBuilder.java | 31 - ...DataRetentionSettingsRequestOrBuilder.java | 35 - ...etDataSharingSettingsRequestOrBuilder.java | 33 - .../GetDataStreamRequestOrBuilder.java | 31 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - ...GoogleSignalsSettingsRequestOrBuilder.java | 31 - .../GetIosAppDataStreamRequestOrBuilder.java | 33 - .../v1alpha/GetPropertyRequestOrBuilder.java | 33 - .../v1alpha/GetUserLinkRequestOrBuilder.java | 29 - .../GetWebDataStreamRequestOrBuilder.java | 33 - ...ertiserLinkProposalsResponseOrBuilder.java | 75 - ...ovisionAccountTicketResponseOrBuilder.java | 29 - .../admin/v1alpha/ResourcesProto.java | 684 - .../UpdateUserLinkRequestOrBuilder.java | 36 - .../analytics/admin/v1alpha/Account.java | 778 +- .../analytics/admin/v1alpha/AccountName.java | 0 .../admin/v1alpha/AccountOrBuilder.java | 82 +- .../admin/v1alpha/AccountSummary.java | 613 +- .../v1alpha/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 468 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 288 +- ...geUserDataCollectionResponseOrBuilder.java | 24 + .../analytics/admin/v1alpha/ActionType.java | 89 +- .../analytics/admin/v1alpha/ActorType.java | 89 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2269 ++++ .../admin/v1alpha/AndroidAppDataStream.java | 831 +- .../v1alpha/AndroidAppDataStreamName.java | 0 .../AndroidAppDataStreamOrBuilder.java | 88 +- ...Video360AdvertiserLinkProposalRequest.java | 719 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...ideo360AdvertiserLinkProposalResponse.java | 851 ++ ...vertiserLinkProposalResponseOrBuilder.java | 71 + .../ArchiveCustomDimensionRequest.java | 363 +- ...rchiveCustomDimensionRequestOrBuilder.java | 56 + .../v1alpha/ArchiveCustomMetricRequest.java | 350 +- .../ArchiveCustomMetricRequestOrBuilder.java | 56 + .../admin/v1alpha/AuditUserLink.java | 608 +- .../admin/v1alpha/AuditUserLinkOrBuilder.java | 72 +- .../admin/v1alpha/AuditUserLinksRequest.java | 455 +- .../AuditUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/AuditUserLinksResponse.java | 459 +- .../AuditUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/BatchCreateUserLinksRequest.java | 642 +- .../BatchCreateUserLinksRequestOrBuilder.java | 76 +- .../v1alpha/BatchCreateUserLinksResponse.java | 405 +- ...BatchCreateUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchDeleteUserLinksRequest.java | 605 +- .../BatchDeleteUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchGetUserLinksRequest.java | 505 +- .../BatchGetUserLinksRequestOrBuilder.java | 69 +- .../v1alpha/BatchGetUserLinksResponse.java | 391 +- .../BatchGetUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchUpdateUserLinksRequest.java | 605 +- .../BatchUpdateUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchUpdateUserLinksResponse.java | 405 +- ...BatchUpdateUserLinksResponseOrBuilder.java | 36 +- ...Video360AdvertiserLinkProposalRequest.java | 716 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + .../admin/v1alpha/ChangeHistoryChange.java | 3522 +++-- .../v1alpha/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1alpha/ChangeHistoryEvent.java | 725 +- .../v1alpha/ChangeHistoryEventOrBuilder.java | 71 +- .../v1alpha/ChangeHistoryResourceType.java | 166 +- .../admin/v1alpha/ConversionEvent.java | 603 +- .../admin/v1alpha/ConversionEventName.java | 0 .../v1alpha/ConversionEventOrBuilder.java | 59 +- .../v1alpha/CreateConversionEventRequest.java | 515 +- ...CreateConversionEventRequestOrBuilder.java | 97 + .../v1alpha/CreateCustomDimensionRequest.java | 513 +- ...CreateCustomDimensionRequestOrBuilder.java | 95 + .../v1alpha/CreateCustomMetricRequest.java | 495 +- .../CreateCustomMetricRequestOrBuilder.java | 95 + .../v1alpha/CreateDataStreamRequest.java | 488 +- .../CreateDataStreamRequestOrBuilder.java | 95 + ...Video360AdvertiserLinkProposalRequest.java | 1035 ++ ...dvertiserLinkProposalRequestOrBuilder.java | 97 + ...eDisplayVideo360AdvertiserLinkRequest.java | 627 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateFirebaseLinkRequest.java | 495 +- .../CreateFirebaseLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateGoogleAdsLinkRequest.java | 496 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 + ...reateMeasurementProtocolSecretRequest.java | 572 +- ...urementProtocolSecretRequestOrBuilder.java | 58 +- .../admin/v1alpha/CreatePropertyRequest.java | 386 +- .../CreatePropertyRequestOrBuilder.java | 69 + .../admin/v1alpha/CreateUserLinkRequest.java | 523 +- .../CreateUserLinkRequestOrBuilder.java | 109 + .../v1alpha/CreateWebDataStreamRequest.java | 498 +- .../CreateWebDataStreamRequestOrBuilder.java | 97 + .../admin/v1alpha/CustomDimension.java | 786 +- .../admin/v1alpha/CustomDimensionName.java | 0 .../v1alpha/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1alpha/CustomMetric.java | 949 +- .../admin/v1alpha/CustomMetricName.java | 0 .../admin/v1alpha/CustomMetricOrBuilder.java | 90 +- .../admin/v1alpha/DataRetentionSettings.java | 546 +- .../v1alpha/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 47 +- .../admin/v1alpha/DataSharingSettings.java | 515 +- .../v1alpha/DataSharingSettingsName.java | 0 .../v1alpha/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1alpha/DataStream.java | 2747 ++-- .../admin/v1alpha/DataStreamName.java | 0 .../admin/v1alpha/DataStreamOrBuilder.java | 135 +- .../admin/v1alpha/DeleteAccountRequest.java | 342 +- .../DeleteAccountRequestOrBuilder.java | 58 + .../DeleteAndroidAppDataStreamRequest.java | 378 +- ...eAndroidAppDataStreamRequestOrBuilder.java | 58 + .../v1alpha/DeleteConversionEventRequest.java | 363 +- ...DeleteConversionEventRequestOrBuilder.java | 58 + .../v1alpha/DeleteDataStreamRequest.java | 342 +- .../DeleteDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 716 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...eDisplayVideo360AdvertiserLinkRequest.java | 442 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteFirebaseLinkRequest.java | 349 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteGoogleAdsLinkRequest.java | 350 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 + .../DeleteIosAppDataStreamRequest.java | 363 +- ...eleteIosAppDataStreamRequestOrBuilder.java | 58 + ...eleteMeasurementProtocolSecretRequest.java | 399 +- ...urementProtocolSecretRequestOrBuilder.java | 35 +- .../admin/v1alpha/DeletePropertyRequest.java | 342 +- .../DeletePropertyRequestOrBuilder.java | 58 + .../admin/v1alpha/DeleteUserLinkRequest.java | 342 +- .../DeleteUserLinkRequestOrBuilder.java | 54 + .../v1alpha/DeleteWebDataStreamRequest.java | 350 +- .../DeleteWebDataStreamRequestOrBuilder.java | 58 + .../DisplayVideo360AdvertiserLink.java | 889 +- .../DisplayVideo360AdvertiserLinkName.java | 0 ...isplayVideo360AdvertiserLinkOrBuilder.java | 93 +- ...DisplayVideo360AdvertiserLinkProposal.java | 1218 +- ...layVideo360AdvertiserLinkProposalName.java | 0 ...deo360AdvertiserLinkProposalOrBuilder.java | 137 +- .../analytics/admin/v1alpha/FirebaseLink.java | 522 +- .../admin/v1alpha/FirebaseLinkName.java | 0 .../admin/v1alpha/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1alpha/GetAccountRequest.java | 339 +- .../v1alpha/GetAccountRequestOrBuilder.java | 58 + .../GetAndroidAppDataStreamRequest.java | 374 +- ...tAndroidAppDataStreamRequestOrBuilder.java | 58 + .../v1alpha/GetConversionEventRequest.java | 349 +- .../GetConversionEventRequestOrBuilder.java | 58 + .../v1alpha/GetCustomDimensionRequest.java | 349 +- .../GetCustomDimensionRequestOrBuilder.java | 56 + .../admin/v1alpha/GetCustomMetricRequest.java | 342 +- .../GetCustomMetricRequestOrBuilder.java | 56 + .../GetDataRetentionSettingsRequest.java | 378 +- ...DataRetentionSettingsRequestOrBuilder.java | 60 + .../GetDataSharingSettingsRequest.java | 363 +- ...etDataSharingSettingsRequestOrBuilder.java | 58 + .../admin/v1alpha/GetDataStreamRequest.java | 342 +- .../GetDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 465 +- ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...tDisplayVideo360AdvertiserLinkRequest.java | 442 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/GetGlobalSiteTagRequest.java | 342 +- .../GetGlobalSiteTagRequestOrBuilder.java | 35 +- .../GetGoogleSignalsSettingsRequest.java | 378 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 56 + .../v1alpha/GetIosAppDataStreamRequest.java | 350 +- .../GetIosAppDataStreamRequestOrBuilder.java | 58 + .../GetMeasurementProtocolSecretRequest.java | 382 +- ...urementProtocolSecretRequestOrBuilder.java | 35 +- .../admin/v1alpha/GetPropertyRequest.java | 342 +- .../v1alpha/GetPropertyRequestOrBuilder.java | 58 + .../admin/v1alpha/GetUserLinkRequest.java | 342 +- .../v1alpha/GetUserLinkRequestOrBuilder.java | 54 + .../v1alpha/GetWebDataStreamRequest.java | 342 +- .../GetWebDataStreamRequestOrBuilder.java | 58 + .../admin/v1alpha/GlobalSiteTag.java | 387 +- .../admin/v1alpha/GlobalSiteTagName.java | 0 .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 36 +- .../admin/v1alpha/GoogleAdsLink.java | 883 +- .../admin/v1alpha/GoogleAdsLinkName.java | 0 .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1alpha/GoogleSignalsConsent.java | 77 +- .../admin/v1alpha/GoogleSignalsSettings.java | 488 +- .../v1alpha/GoogleSignalsSettingsName.java | 0 .../GoogleSignalsSettingsOrBuilder.java | 47 +- .../admin/v1alpha/GoogleSignalsState.java | 80 +- .../admin/v1alpha/IndustryCategory.java | 248 +- .../admin/v1alpha/IosAppDataStream.java | 856 +- .../admin/v1alpha/IosAppDataStreamName.java | 0 .../v1alpha/IosAppDataStreamOrBuilder.java | 96 +- .../LinkProposalInitiatingProduct.java | 77 +- .../admin/v1alpha/LinkProposalState.java | 108 +- .../v1alpha/LinkProposalStatusDetails.java | 536 +- .../LinkProposalStatusDetailsOrBuilder.java | 58 +- .../v1alpha/ListAccountSummariesRequest.java | 366 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1alpha/ListAccountSummariesResponse.java | 471 +- ...ListAccountSummariesResponseOrBuilder.java | 42 +- .../admin/v1alpha/ListAccountsRequest.java | 385 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1alpha/ListAccountsResponse.java | 463 +- .../ListAccountsResponseOrBuilder.java | 45 +- .../ListAndroidAppDataStreamsRequest.java | 491 +- ...AndroidAppDataStreamsRequestOrBuilder.java | 47 +- .../ListAndroidAppDataStreamsResponse.java | 624 +- ...ndroidAppDataStreamsResponseOrBuilder.java | 65 +- .../v1alpha/ListConversionEventsRequest.java | 473 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1alpha/ListConversionEventsResponse.java | 471 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomDimensionsRequest.java | 473 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomDimensionsResponse.java | 471 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomMetricsRequest.java | 455 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomMetricsResponse.java | 449 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListDataStreamsRequest.java | 455 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListDataStreamsResponse.java | 461 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- ...ideo360AdvertiserLinkProposalsRequest.java | 583 +- ...vertiserLinkProposalsRequestOrBuilder.java | 47 +- ...deo360AdvertiserLinkProposalsResponse.java | 757 +- ...ertiserLinkProposalsResponseOrBuilder.java | 119 + ...DisplayVideo360AdvertiserLinksRequest.java | 554 +- ...deo360AdvertiserLinksRequestOrBuilder.java | 47 +- ...isplayVideo360AdvertiserLinksResponse.java | 698 +- ...eo360AdvertiserLinksResponseOrBuilder.java | 69 +- .../v1alpha/ListFirebaseLinksRequest.java | 455 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListFirebaseLinksResponse.java | 449 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 462 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListGoogleAdsLinksResponse.java | 454 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListIosAppDataStreamsRequest.java | 476 +- ...ListIosAppDataStreamsRequestOrBuilder.java | 47 +- .../ListIosAppDataStreamsResponse.java | 548 +- ...istIosAppDataStreamsResponseOrBuilder.java | 57 +- ...ListMeasurementProtocolSecretsRequest.java | 505 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 655 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1alpha/ListPropertiesRequest.java | 466 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1alpha/ListPropertiesResponse.java | 464 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListUserLinksRequest.java | 455 +- .../ListUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListUserLinksResponse.java | 463 +- .../ListUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListWebDataStreamsRequest.java | 462 +- .../ListWebDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListWebDataStreamsResponse.java | 454 +- .../ListWebDataStreamsResponseOrBuilder.java | 45 +- .../v1alpha/MeasurementProtocolSecret.java | 479 +- .../MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1alpha/Property.java | 1446 +- .../analytics/admin/v1alpha/PropertyName.java | 0 .../admin/v1alpha/PropertyOrBuilder.java | 168 +- .../admin/v1alpha/PropertySummary.java | 390 +- .../v1alpha/PropertySummaryOrBuilder.java | 36 +- .../ProvisionAccountTicketRequest.java | 438 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 346 +- ...ovisionAccountTicketResponseOrBuilder.java | 50 + .../admin/v1alpha/ResourcesProto.java | 803 ++ .../SearchChangeHistoryEventsRequest.java | 1414 +- ...chChangeHistoryEventsRequestOrBuilder.java | 201 +- .../SearchChangeHistoryEventsResponse.java | 587 +- ...hChangeHistoryEventsResponseOrBuilder.java | 56 +- .../analytics/admin/v1alpha/ServiceLevel.java | 82 +- .../admin/v1alpha/UpdateAccountRequest.java | 519 +- .../UpdateAccountRequestOrBuilder.java | 55 +- .../UpdateAndroidAppDataStreamRequest.java | 570 +- ...eAndroidAppDataStreamRequestOrBuilder.java | 58 +- .../v1alpha/UpdateCustomDimensionRequest.java | 493 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1alpha/UpdateCustomMetricRequest.java | 475 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 570 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../v1alpha/UpdateDataStreamRequest.java | 468 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- ...eDisplayVideo360AdvertiserLinkRequest.java | 655 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 61 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 476 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- .../UpdateGoogleSignalsSettingsRequest.java | 570 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 58 +- .../UpdateIosAppDataStreamRequest.java | 550 +- ...pdateIosAppDataStreamRequestOrBuilder.java | 55 +- ...pdateMeasurementProtocolSecretRequest.java | 564 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1alpha/UpdatePropertyRequest.java | 516 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../admin/v1alpha/UpdateUserLinkRequest.java | 386 +- .../UpdateUserLinkRequestOrBuilder.java | 66 + .../v1alpha/UpdateWebDataStreamRequest.java | 524 +- .../UpdateWebDataStreamRequestOrBuilder.java | 55 +- .../analytics/admin/v1alpha/UserLink.java | 493 +- .../analytics/admin/v1alpha/UserLinkName.java | 0 .../admin/v1alpha/UserLinkOrBuilder.java | 54 +- .../admin/v1alpha/WebDataStream.java | 904 +- .../admin/v1alpha/WebDataStreamName.java | 0 .../admin/v1alpha/WebDataStreamOrBuilder.java | 97 +- .../admin/v1alpha/analytics_admin.proto | 0 .../analytics/admin/v1alpha/resources.proto | 0 365 files changed, 70676 insertions(+), 43688 deletions(-) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java (97%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java (97%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/package-info.java (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java (96%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java (99%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java (100%) rename {owl-bot-staging/v1alpha/google-analytics-admin => google-analytics-admin}/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java (100%) create mode 100644 grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java delete mode 100644 owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/Account.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java (76%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java (59%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java (69%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java (75%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java (63%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java (77%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java (57%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java (61%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java (65%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java (52%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java (54%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java (65%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java (52%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java (61%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java (81%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java (61%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java (61%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java (59%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java (51%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java (64%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java (59%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java (64%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java (55%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java (64%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java (64%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java (61%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java (55%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java (76%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java (63%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java (64%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java (53%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java (55%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java (50%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java (62%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java (52%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java (66%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java (79%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java (77%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java (61%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java (52%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java (55%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java (61%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java (55%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java (59%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java (50%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java (73%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java (77%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java (80%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java (74%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java (75%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/Property.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java (78%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java (65%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java (68%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java (69%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java (58%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java (70%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java (65%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java (60%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java (63%) create mode 100644 proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java (67%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java (76%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java (79%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java (71%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java (77%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha => proto-google-analytics-admin-v1alpha}/src/main/proto/google/analytics/admin/v1alpha/resources.proto (100%) diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java similarity index 97% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index 2d584820..d30d62ec 100644 --- a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -9049,7 +9049,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAccountsPagedResponse extends AbstractPagedListResponse< - ListAccountsRequest, ListAccountsResponse, Account, ListAccountsPage, + ListAccountsRequest, + ListAccountsResponse, + Account, + ListAccountsPage, ListAccountsFixedSizeCollection> { public static ApiFuture createAsync( @@ -9098,7 +9101,10 @@ public ApiFuture createPageAsync( public static class ListAccountsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAccountsRequest, ListAccountsResponse, Account, ListAccountsPage, + ListAccountsRequest, + ListAccountsResponse, + Account, + ListAccountsPage, ListAccountsFixedSizeCollection> { private ListAccountsFixedSizeCollection(List pages, int collectionSize) { @@ -9118,8 +9124,11 @@ protected ListAccountsFixedSizeCollection createCollection( public static class ListAccountSummariesPagedResponse extends AbstractPagedListResponse< - ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, - ListAccountSummariesPage, ListAccountSummariesFixedSizeCollection> { + ListAccountSummariesRequest, + ListAccountSummariesResponse, + AccountSummary, + ListAccountSummariesPage, + ListAccountSummariesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9140,7 +9149,9 @@ private ListAccountSummariesPagedResponse(ListAccountSummariesPage page) { public static class ListAccountSummariesPage extends AbstractPage< - ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, + ListAccountSummariesRequest, + ListAccountSummariesResponse, + AccountSummary, ListAccountSummariesPage> { private ListAccountSummariesPage( @@ -9173,8 +9184,11 @@ public ApiFuture createPageAsync( public static class ListAccountSummariesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAccountSummariesRequest, ListAccountSummariesResponse, AccountSummary, - ListAccountSummariesPage, ListAccountSummariesFixedSizeCollection> { + ListAccountSummariesRequest, + ListAccountSummariesResponse, + AccountSummary, + ListAccountSummariesPage, + ListAccountSummariesFixedSizeCollection> { private ListAccountSummariesFixedSizeCollection( List pages, int collectionSize) { @@ -9194,7 +9208,10 @@ protected ListAccountSummariesFixedSizeCollection createCollection( public static class ListPropertiesPagedResponse extends AbstractPagedListResponse< - ListPropertiesRequest, ListPropertiesResponse, Property, ListPropertiesPage, + ListPropertiesRequest, + ListPropertiesResponse, + Property, + ListPropertiesPage, ListPropertiesFixedSizeCollection> { public static ApiFuture createAsync( @@ -9244,7 +9261,10 @@ public ApiFuture createPageAsync( public static class ListPropertiesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPropertiesRequest, ListPropertiesResponse, Property, ListPropertiesPage, + ListPropertiesRequest, + ListPropertiesResponse, + Property, + ListPropertiesPage, ListPropertiesFixedSizeCollection> { private ListPropertiesFixedSizeCollection(List pages, int collectionSize) { @@ -9264,7 +9284,10 @@ protected ListPropertiesFixedSizeCollection createCollection( public static class ListUserLinksPagedResponse extends AbstractPagedListResponse< - ListUserLinksRequest, ListUserLinksResponse, UserLink, ListUserLinksPage, + ListUserLinksRequest, + ListUserLinksResponse, + UserLink, + ListUserLinksPage, ListUserLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -9314,7 +9337,10 @@ public ApiFuture createPageAsync( public static class ListUserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListUserLinksRequest, ListUserLinksResponse, UserLink, ListUserLinksPage, + ListUserLinksRequest, + ListUserLinksResponse, + UserLink, + ListUserLinksPage, ListUserLinksFixedSizeCollection> { private ListUserLinksFixedSizeCollection(List pages, int collectionSize) { @@ -9334,7 +9360,10 @@ protected ListUserLinksFixedSizeCollection createCollection( public static class AuditUserLinksPagedResponse extends AbstractPagedListResponse< - AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLink, AuditUserLinksPage, + AuditUserLinksRequest, + AuditUserLinksResponse, + AuditUserLink, + AuditUserLinksPage, AuditUserLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -9384,7 +9413,10 @@ public ApiFuture createPageAsync( public static class AuditUserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLink, AuditUserLinksPage, + AuditUserLinksRequest, + AuditUserLinksResponse, + AuditUserLink, + AuditUserLinksPage, AuditUserLinksFixedSizeCollection> { private AuditUserLinksFixedSizeCollection(List pages, int collectionSize) { @@ -9404,8 +9436,11 @@ protected AuditUserLinksFixedSizeCollection createCollection( public static class ListWebDataStreamsPagedResponse extends AbstractPagedListResponse< - ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, - ListWebDataStreamsPage, ListWebDataStreamsFixedSizeCollection> { + ListWebDataStreamsRequest, + ListWebDataStreamsResponse, + WebDataStream, + ListWebDataStreamsPage, + ListWebDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -9425,7 +9460,9 @@ private ListWebDataStreamsPagedResponse(ListWebDataStreamsPage page) { public static class ListWebDataStreamsPage extends AbstractPage< - ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, + ListWebDataStreamsRequest, + ListWebDataStreamsResponse, + WebDataStream, ListWebDataStreamsPage> { private ListWebDataStreamsPage( @@ -9455,8 +9492,11 @@ public ApiFuture createPageAsync( public static class ListWebDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListWebDataStreamsRequest, ListWebDataStreamsResponse, WebDataStream, - ListWebDataStreamsPage, ListWebDataStreamsFixedSizeCollection> { + ListWebDataStreamsRequest, + ListWebDataStreamsResponse, + WebDataStream, + ListWebDataStreamsPage, + ListWebDataStreamsFixedSizeCollection> { private ListWebDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9476,8 +9516,11 @@ protected ListWebDataStreamsFixedSizeCollection createCollection( public static class ListIosAppDataStreamsPagedResponse extends AbstractPagedListResponse< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, - ListIosAppDataStreamsPage, ListIosAppDataStreamsFixedSizeCollection> { + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, + IosAppDataStream, + ListIosAppDataStreamsPage, + ListIosAppDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9498,7 +9541,9 @@ private ListIosAppDataStreamsPagedResponse(ListIosAppDataStreamsPage page) { public static class ListIosAppDataStreamsPage extends AbstractPage< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, + IosAppDataStream, ListIosAppDataStreamsPage> { private ListIosAppDataStreamsPage( @@ -9531,8 +9576,11 @@ public ApiFuture createPageAsync( public static class ListIosAppDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, IosAppDataStream, - ListIosAppDataStreamsPage, ListIosAppDataStreamsFixedSizeCollection> { + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, + IosAppDataStream, + ListIosAppDataStreamsPage, + ListIosAppDataStreamsFixedSizeCollection> { private ListIosAppDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9552,12 +9600,16 @@ protected ListIosAppDataStreamsFixedSizeCollection createCollection( public static class ListAndroidAppDataStreamsPagedResponse extends AbstractPagedListResponse< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, - ListAndroidAppDataStreamsPage, ListAndroidAppDataStreamsFixedSizeCollection> { + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, + AndroidAppDataStream, + ListAndroidAppDataStreamsPage, + ListAndroidAppDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ApiFuture futureResponse) { @@ -9576,12 +9628,15 @@ private ListAndroidAppDataStreamsPagedResponse(ListAndroidAppDataStreamsPage pag public static class ListAndroidAppDataStreamsPage extends AbstractPage< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, + AndroidAppDataStream, ListAndroidAppDataStreamsPage> { private ListAndroidAppDataStreamsPage( PageContext< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ListAndroidAppDataStreamsResponse response) { @@ -9595,7 +9650,8 @@ private static ListAndroidAppDataStreamsPage createEmptyPage() { @Override protected ListAndroidAppDataStreamsPage createPage( PageContext< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ListAndroidAppDataStreamsResponse response) { @@ -9605,7 +9661,8 @@ protected ListAndroidAppDataStreamsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream> context, ApiFuture futureResponse) { @@ -9615,8 +9672,11 @@ public ApiFuture createPageAsync( public static class ListAndroidAppDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream, - ListAndroidAppDataStreamsPage, ListAndroidAppDataStreamsFixedSizeCollection> { + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, + AndroidAppDataStream, + ListAndroidAppDataStreamsPage, + ListAndroidAppDataStreamsFixedSizeCollection> { private ListAndroidAppDataStreamsFixedSizeCollection( List pages, int collectionSize) { @@ -9636,7 +9696,10 @@ protected ListAndroidAppDataStreamsFixedSizeCollection createCollection( public static class ListFirebaseLinksPagedResponse extends AbstractPagedListResponse< - ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, ListFirebaseLinksPage, + ListFirebaseLinksRequest, + ListFirebaseLinksResponse, + FirebaseLink, + ListFirebaseLinksPage, ListFirebaseLinksFixedSizeCollection> { public static ApiFuture createAsync( @@ -9657,7 +9720,9 @@ private ListFirebaseLinksPagedResponse(ListFirebaseLinksPage page) { public static class ListFirebaseLinksPage extends AbstractPage< - ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, + ListFirebaseLinksRequest, + ListFirebaseLinksResponse, + FirebaseLink, ListFirebaseLinksPage> { private ListFirebaseLinksPage( @@ -9687,7 +9752,10 @@ public ApiFuture createPageAsync( public static class ListFirebaseLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListFirebaseLinksRequest, ListFirebaseLinksResponse, FirebaseLink, ListFirebaseLinksPage, + ListFirebaseLinksRequest, + ListFirebaseLinksResponse, + FirebaseLink, + ListFirebaseLinksPage, ListFirebaseLinksFixedSizeCollection> { private ListFirebaseLinksFixedSizeCollection( @@ -9708,8 +9776,11 @@ protected ListFirebaseLinksFixedSizeCollection createCollection( public static class ListGoogleAdsLinksPagedResponse extends AbstractPagedListResponse< - ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, - ListGoogleAdsLinksPage, ListGoogleAdsLinksFixedSizeCollection> { + ListGoogleAdsLinksRequest, + ListGoogleAdsLinksResponse, + GoogleAdsLink, + ListGoogleAdsLinksPage, + ListGoogleAdsLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -9729,7 +9800,9 @@ private ListGoogleAdsLinksPagedResponse(ListGoogleAdsLinksPage page) { public static class ListGoogleAdsLinksPage extends AbstractPage< - ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, + ListGoogleAdsLinksRequest, + ListGoogleAdsLinksResponse, + GoogleAdsLink, ListGoogleAdsLinksPage> { private ListGoogleAdsLinksPage( @@ -9759,8 +9832,11 @@ public ApiFuture createPageAsync( public static class ListGoogleAdsLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, GoogleAdsLink, - ListGoogleAdsLinksPage, ListGoogleAdsLinksFixedSizeCollection> { + ListGoogleAdsLinksRequest, + ListGoogleAdsLinksResponse, + GoogleAdsLink, + ListGoogleAdsLinksPage, + ListGoogleAdsLinksFixedSizeCollection> { private ListGoogleAdsLinksFixedSizeCollection( List pages, int collectionSize) { @@ -9780,13 +9856,16 @@ protected ListGoogleAdsLinksFixedSizeCollection createCollection( public static class ListMeasurementProtocolSecretsPagedResponse extends AbstractPagedListResponse< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, + ListMeasurementProtocolSecretsPage, ListMeasurementProtocolSecretsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ApiFuture futureResponse) { @@ -9806,12 +9885,15 @@ private ListMeasurementProtocolSecretsPagedResponse(ListMeasurementProtocolSecre public static class ListMeasurementProtocolSecretsPage extends AbstractPage< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage> { + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, + ListMeasurementProtocolSecretsPage> { private ListMeasurementProtocolSecretsPage( PageContext< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ListMeasurementProtocolSecretsResponse response) { @@ -9825,7 +9907,8 @@ private static ListMeasurementProtocolSecretsPage createEmptyPage() { @Override protected ListMeasurementProtocolSecretsPage createPage( PageContext< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ListMeasurementProtocolSecretsResponse response) { @@ -9835,7 +9918,8 @@ protected ListMeasurementProtocolSecretsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> context, ApiFuture futureResponse) { @@ -9845,8 +9929,10 @@ public ApiFuture createPageAsync( public static class ListMeasurementProtocolSecretsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, - MeasurementProtocolSecret, ListMeasurementProtocolSecretsPage, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, + MeasurementProtocolSecret, + ListMeasurementProtocolSecretsPage, ListMeasurementProtocolSecretsFixedSizeCollection> { private ListMeasurementProtocolSecretsFixedSizeCollection( @@ -9867,12 +9953,16 @@ protected ListMeasurementProtocolSecretsFixedSizeCollection createCollection( public static class SearchChangeHistoryEventsPagedResponse extends AbstractPagedListResponse< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, - SearchChangeHistoryEventsPage, SearchChangeHistoryEventsFixedSizeCollection> { + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, + ChangeHistoryEvent, + SearchChangeHistoryEventsPage, + SearchChangeHistoryEventsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, ApiFuture futureResponse) { @@ -9891,12 +9981,15 @@ private SearchChangeHistoryEventsPagedResponse(SearchChangeHistoryEventsPage pag public static class SearchChangeHistoryEventsPage extends AbstractPage< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, + ChangeHistoryEvent, SearchChangeHistoryEventsPage> { private SearchChangeHistoryEventsPage( PageContext< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, SearchChangeHistoryEventsResponse response) { @@ -9910,7 +10003,8 @@ private static SearchChangeHistoryEventsPage createEmptyPage() { @Override protected SearchChangeHistoryEventsPage createPage( PageContext< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, SearchChangeHistoryEventsResponse response) { @@ -9920,7 +10014,8 @@ protected SearchChangeHistoryEventsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent> context, ApiFuture futureResponse) { @@ -9930,8 +10025,11 @@ public ApiFuture createPageAsync( public static class SearchChangeHistoryEventsFixedSizeCollection extends AbstractFixedSizeCollection< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent, - SearchChangeHistoryEventsPage, SearchChangeHistoryEventsFixedSizeCollection> { + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, + ChangeHistoryEvent, + SearchChangeHistoryEventsPage, + SearchChangeHistoryEventsFixedSizeCollection> { private SearchChangeHistoryEventsFixedSizeCollection( List pages, int collectionSize) { @@ -9951,8 +10049,11 @@ protected SearchChangeHistoryEventsFixedSizeCollection createCollection( public static class ListConversionEventsPagedResponse extends AbstractPagedListResponse< - ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, - ListConversionEventsPage, ListConversionEventsFixedSizeCollection> { + ListConversionEventsRequest, + ListConversionEventsResponse, + ConversionEvent, + ListConversionEventsPage, + ListConversionEventsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -9973,7 +10074,9 @@ private ListConversionEventsPagedResponse(ListConversionEventsPage page) { public static class ListConversionEventsPage extends AbstractPage< - ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, + ListConversionEventsRequest, + ListConversionEventsResponse, + ConversionEvent, ListConversionEventsPage> { private ListConversionEventsPage( @@ -10006,8 +10109,11 @@ public ApiFuture createPageAsync( public static class ListConversionEventsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversionEventsRequest, ListConversionEventsResponse, ConversionEvent, - ListConversionEventsPage, ListConversionEventsFixedSizeCollection> { + ListConversionEventsRequest, + ListConversionEventsResponse, + ConversionEvent, + ListConversionEventsPage, + ListConversionEventsFixedSizeCollection> { private ListConversionEventsFixedSizeCollection( List pages, int collectionSize) { @@ -10027,14 +10133,17 @@ protected ListConversionEventsFixedSizeCollection createCollection( public static class ListDisplayVideo360AdvertiserLinksPagedResponse extends AbstractPagedListResponse< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, + ListDisplayVideo360AdvertiserLinksPage, ListDisplayVideo360AdvertiserLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -10054,13 +10163,16 @@ private ListDisplayVideo360AdvertiserLinksPagedResponse( public static class ListDisplayVideo360AdvertiserLinksPage extends AbstractPage< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage> { + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, + ListDisplayVideo360AdvertiserLinksPage> { private ListDisplayVideo360AdvertiserLinksPage( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink> context, ListDisplayVideo360AdvertiserLinksResponse response) { super(context, response); @@ -10074,7 +10186,8 @@ private static ListDisplayVideo360AdvertiserLinksPage createEmptyPage() { protected ListDisplayVideo360AdvertiserLinksPage createPage( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink> context, ListDisplayVideo360AdvertiserLinksResponse response) { return new ListDisplayVideo360AdvertiserLinksPage(context, response); @@ -10084,7 +10197,8 @@ protected ListDisplayVideo360AdvertiserLinksPage createPage( public ApiFuture createPageAsync( PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -10093,8 +10207,10 @@ public ApiFuture createPageAsync( public static class ListDisplayVideo360AdvertiserLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, - DisplayVideo360AdvertiserLink, ListDisplayVideo360AdvertiserLinksPage, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink, + ListDisplayVideo360AdvertiserLinksPage, ListDisplayVideo360AdvertiserLinksFixedSizeCollection> { private ListDisplayVideo360AdvertiserLinksFixedSizeCollection( @@ -10116,7 +10232,8 @@ protected ListDisplayVideo360AdvertiserLinksFixedSizeCollection createCollection public static class ListDisplayVideo360AdvertiserLinkProposalsPagedResponse extends AbstractPagedListResponse< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, + DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage, ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> { @@ -10147,7 +10264,8 @@ private ListDisplayVideo360AdvertiserLinkProposalsPagedResponse( public static class ListDisplayVideo360AdvertiserLinkProposalsPage extends AbstractPage< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, + DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage> { private ListDisplayVideo360AdvertiserLinkProposalsPage( @@ -10190,7 +10308,8 @@ public ApiFuture createPageAsync public static class ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection extends AbstractFixedSizeCollection< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal, + ListDisplayVideo360AdvertiserLinkProposalsResponse, + DisplayVideo360AdvertiserLinkProposal, ListDisplayVideo360AdvertiserLinkProposalsPage, ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> { @@ -10214,8 +10333,11 @@ protected ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection createCo public static class ListCustomDimensionsPagedResponse extends AbstractPagedListResponse< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, - ListCustomDimensionsPage, ListCustomDimensionsFixedSizeCollection> { + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, + CustomDimension, + ListCustomDimensionsPage, + ListCustomDimensionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -10236,7 +10358,9 @@ private ListCustomDimensionsPagedResponse(ListCustomDimensionsPage page) { public static class ListCustomDimensionsPage extends AbstractPage< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, + CustomDimension, ListCustomDimensionsPage> { private ListCustomDimensionsPage( @@ -10269,8 +10393,11 @@ public ApiFuture createPageAsync( public static class ListCustomDimensionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension, - ListCustomDimensionsPage, ListCustomDimensionsFixedSizeCollection> { + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, + CustomDimension, + ListCustomDimensionsPage, + ListCustomDimensionsFixedSizeCollection> { private ListCustomDimensionsFixedSizeCollection( List pages, int collectionSize) { @@ -10290,7 +10417,10 @@ protected ListCustomDimensionsFixedSizeCollection createCollection( public static class ListCustomMetricsPagedResponse extends AbstractPagedListResponse< - ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, ListCustomMetricsPage, + ListCustomMetricsRequest, + ListCustomMetricsResponse, + CustomMetric, + ListCustomMetricsPage, ListCustomMetricsFixedSizeCollection> { public static ApiFuture createAsync( @@ -10311,7 +10441,9 @@ private ListCustomMetricsPagedResponse(ListCustomMetricsPage page) { public static class ListCustomMetricsPage extends AbstractPage< - ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, + ListCustomMetricsRequest, + ListCustomMetricsResponse, + CustomMetric, ListCustomMetricsPage> { private ListCustomMetricsPage( @@ -10341,7 +10473,10 @@ public ApiFuture createPageAsync( public static class ListCustomMetricsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomMetricsRequest, ListCustomMetricsResponse, CustomMetric, ListCustomMetricsPage, + ListCustomMetricsRequest, + ListCustomMetricsResponse, + CustomMetric, + ListCustomMetricsPage, ListCustomMetricsFixedSizeCollection> { private ListCustomMetricsFixedSizeCollection( @@ -10362,7 +10497,10 @@ protected ListCustomMetricsFixedSizeCollection createCollection( public static class ListDataStreamsPagedResponse extends AbstractPagedListResponse< - ListDataStreamsRequest, ListDataStreamsResponse, DataStream, ListDataStreamsPage, + ListDataStreamsRequest, + ListDataStreamsResponse, + DataStream, + ListDataStreamsPage, ListDataStreamsFixedSizeCollection> { public static ApiFuture createAsync( @@ -10412,7 +10550,10 @@ public ApiFuture createPageAsync( public static class ListDataStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDataStreamsRequest, ListDataStreamsResponse, DataStream, ListDataStreamsPage, + ListDataStreamsRequest, + ListDataStreamsResponse, + DataStream, + ListDataStreamsPage, ListDataStreamsFixedSizeCollection> { private ListDataStreamsFixedSizeCollection( diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java similarity index 97% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index 77312e6b..953bfdf4 100644 --- a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java +++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java @@ -45,7 +45,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; @@ -60,10 +59,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are + *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -120,7 +119,8 @@ public UnaryCallSettings updateAccountSettings() /** Returns the object with the settings used for calls to listAccountSummaries. */ public PagedCallSettings< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccountSummariesSettings(); @@ -257,7 +257,8 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listIosAppDataStreamsSettings(); @@ -286,7 +287,8 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -354,7 +356,8 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -392,7 +395,8 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -432,7 +436,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listConversionEvents. */ public PagedCallSettings< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConversionEventsSettings(); @@ -447,7 +452,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()) @@ -559,7 +565,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listCustomDimensions. */ public PagedCallSettings< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listCustomDimensionsSettings(); @@ -772,7 +779,8 @@ public UnaryCallSettings.Builder updateAccountSet /** Returns the builder for the settings used for calls to listAccountSummaries. */ public PagedCallSettings.Builder< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return getStubSettingsBuilder().listAccountSummariesSettings(); @@ -914,7 +922,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return getStubSettingsBuilder().listIosAppDataStreamsSettings(); @@ -940,7 +949,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return getStubSettingsBuilder().listAndroidAppDataStreamsSettings(); @@ -1010,7 +1020,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return getStubSettingsBuilder().listMeasurementProtocolSecretsSettings(); @@ -1045,7 +1056,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return getStubSettingsBuilder().searchChangeHistoryEventsSettings(); @@ -1083,7 +1095,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listConversionEvents. */ public PagedCallSettings.Builder< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return getStubSettingsBuilder().listConversionEventsSettings(); @@ -1100,7 +1113,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinksSettings(); @@ -1210,7 +1224,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listCustomDimensions. */ public PagedCallSettings.Builder< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return getStubSettingsBuilder().listCustomDimensionsSettings(); diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java similarity index 96% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java index a1b877c1..de795c44 100644 --- a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java +++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java @@ -204,10 +204,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are + *
  • The default service address (analyticsadmin.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -253,7 +253,8 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings provisionAccountTicketSettings; private final PagedCallSettings< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings; private final UnaryCallSettings getPropertySettings; @@ -296,7 +297,8 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateIosAppDataStreamSettings; private final PagedCallSettings< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings; private final UnaryCallSettings @@ -306,7 +308,8 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateAndroidAppDataStreamSettings; private final PagedCallSettings< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings; private final UnaryCallSettings @@ -329,7 +332,8 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings getMeasurementProtocolSecretSettings; private final PagedCallSettings< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings; private final UnaryCallSettings @@ -342,7 +346,8 @@ public class AnalyticsAdminServiceStubSettings AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> acknowledgeUserDataCollectionSettings; private final PagedCallSettings< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings; private final UnaryCallSettings @@ -356,14 +361,16 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings deleteConversionEventSettings; private final PagedCallSettings< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings; private final UnaryCallSettings< GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink> getDisplayVideo360AdvertiserLinkSettings; private final PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings; private final UnaryCallSettings< @@ -399,7 +406,8 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings updateCustomDimensionSettings; private final PagedCallSettings< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings; private final UnaryCallSettings @@ -699,7 +707,8 @@ public Iterable extractResources( ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, AndroidAppDataStream> LIST_ANDROID_APP_DATA_STREAMS_PAGE_STR_DESC = new PagedListDescriptor< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream>() { @Override public String emptyToken() { @@ -822,11 +831,13 @@ public Iterable extractResources(ListGoogleAdsLinksResponse paylo }; private static final PagedListDescriptor< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> LIST_MEASUREMENT_PROTOCOL_SECRETS_PAGE_STR_DESC = new PagedListDescriptor< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret>() { @Override public String emptyToken() { @@ -872,7 +883,8 @@ public Iterable extractResources( SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, ChangeHistoryEvent> SEARCH_CHANGE_HISTORY_EVENTS_PAGE_STR_DESC = new PagedListDescriptor< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent>() { @Override public String emptyToken() { @@ -956,11 +968,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_DESC = new PagedListDescriptor< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink>() { @Override public String emptyToken() { @@ -1004,7 +1018,8 @@ public Iterable extractResources( private static final PagedListDescriptor< ListDisplayVideo360AdvertiserLinkProposalsRequest, - ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> + ListDisplayVideo360AdvertiserLinkProposalsResponse, + DisplayVideo360AdvertiserLinkProposal> LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_DESC = new PagedListDescriptor< ListDisplayVideo360AdvertiserLinkProposalsRequest, @@ -1190,11 +1205,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> LIST_ACCOUNT_SUMMARIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1267,7 +1284,8 @@ public ApiFuture getFuturePagedResponse( ListWebDataStreamsRequest, ListWebDataStreamsResponse, ListWebDataStreamsPagedResponse> LIST_WEB_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListWebDataStreamsRequest, ListWebDataStreamsResponse, + ListWebDataStreamsRequest, + ListWebDataStreamsResponse, ListWebDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1284,11 +1302,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> LIST_IOS_APP_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1306,11 +1326,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> LIST_ANDROID_APP_DATA_STREAMS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1320,7 +1342,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, AndroidAppDataStream> pageContext = PageContext.create( @@ -1334,7 +1357,8 @@ public ApiFuture getFuturePagedResponse( ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse> LIST_FIREBASE_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListFirebaseLinksRequest, ListFirebaseLinksResponse, + ListFirebaseLinksRequest, + ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1354,7 +1378,8 @@ public ApiFuture getFuturePagedResponse( ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse> LIST_GOOGLE_ADS_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, + ListGoogleAdsLinksRequest, + ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1371,11 +1396,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> LIST_MEASUREMENT_PROTOCOL_SECRETS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1387,7 +1414,8 @@ public ApiFuture getFuturePagedResp ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> pageContext = PageContext.create( @@ -1401,11 +1429,13 @@ public ApiFuture getFuturePagedResp }; private static final PagedListResponseFactory< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> SEARCH_CHANGE_HISTORY_EVENTS_PAGE_STR_FACT = new PagedListResponseFactory< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1415,7 +1445,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, ChangeHistoryEvent> pageContext = PageContext.create( @@ -1426,11 +1457,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> LIST_CONVERSION_EVENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1448,11 +1481,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse>() { @Override public ApiFuture @@ -1466,7 +1501,8 @@ public ApiFuture getFuturePagedResponse( ApiFuture futureResponse) { PageContext< ListDisplayVideo360AdvertiserLinksRequest, - ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> + ListDisplayVideo360AdvertiserLinksResponse, + DisplayVideo360AdvertiserLink> pageContext = PageContext.create( callable, @@ -1513,11 +1549,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> LIST_CUSTOM_DIMENSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1538,7 +1576,8 @@ public ApiFuture getFuturePagedResponse( ListCustomMetricsRequest, ListCustomMetricsResponse, ListCustomMetricsPagedResponse> LIST_CUSTOM_METRICS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomMetricsRequest, ListCustomMetricsResponse, + ListCustomMetricsRequest, + ListCustomMetricsResponse, ListCustomMetricsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1600,7 +1639,8 @@ public UnaryCallSettings updateAccountSettings() /** Returns the object with the settings used for calls to listAccountSummaries. */ public PagedCallSettings< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return listAccountSummariesSettings; @@ -1737,7 +1777,8 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return listIosAppDataStreamsSettings; @@ -1763,7 +1804,8 @@ public UnaryCallSettings deleteIosAppDataS /** Returns the object with the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return listAndroidAppDataStreamsSettings; @@ -1829,7 +1871,8 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return listMeasurementProtocolSecretsSettings; @@ -1862,7 +1905,8 @@ public UnaryCallSettings deleteGoogleAdsLinkS /** Returns the object with the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return searchChangeHistoryEventsSettings; @@ -1899,7 +1943,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listConversionEvents. */ public PagedCallSettings< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return listConversionEventsSettings; @@ -1913,7 +1958,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return listDisplayVideo360AdvertiserLinksSettings; @@ -2015,7 +2061,8 @@ public UnaryCallSettings deleteConversionEv /** Returns the object with the settings used for calls to listCustomDimensions. */ public PagedCallSettings< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return listCustomDimensionsSettings; @@ -2295,7 +2342,8 @@ public static class Builder ProvisionAccountTicketRequest, ProvisionAccountTicketResponse> provisionAccountTicketSettings; private final PagedCallSettings.Builder< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings; private final UnaryCallSettings.Builder getPropertySettings; @@ -2343,7 +2391,8 @@ public static class Builder private final UnaryCallSettings.Builder updateIosAppDataStreamSettings; private final PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings; private final UnaryCallSettings.Builder @@ -2353,7 +2402,8 @@ public static class Builder private final UnaryCallSettings.Builder updateAndroidAppDataStreamSettings; private final PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings; private final UnaryCallSettings.Builder @@ -2380,7 +2430,8 @@ public static class Builder GetMeasurementProtocolSecretRequest, MeasurementProtocolSecret> getMeasurementProtocolSecretSettings; private final PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings; private final UnaryCallSettings.Builder< @@ -2395,7 +2446,8 @@ public static class Builder AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse> acknowledgeUserDataCollectionSettings; private final PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings; private final UnaryCallSettings.Builder @@ -2410,14 +2462,16 @@ public static class Builder private final UnaryCallSettings.Builder deleteConversionEventSettings; private final PagedCallSettings.Builder< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings; private final UnaryCallSettings.Builder< GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink> getDisplayVideo360AdvertiserLinkSettings; private final PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings; private final UnaryCallSettings.Builder< @@ -2456,7 +2510,8 @@ public static class Builder private final UnaryCallSettings.Builder updateCustomDimensionSettings; private final PagedCallSettings.Builder< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings; private final UnaryCallSettings.Builder @@ -3407,7 +3462,8 @@ public UnaryCallSettings.Builder updateAccountSet /** Returns the builder for the settings used for calls to listAccountSummaries. */ public PagedCallSettings.Builder< - ListAccountSummariesRequest, ListAccountSummariesResponse, + ListAccountSummariesRequest, + ListAccountSummariesResponse, ListAccountSummariesPagedResponse> listAccountSummariesSettings() { return listAccountSummariesSettings; @@ -3549,7 +3605,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listIosAppDataStreams. */ public PagedCallSettings.Builder< - ListIosAppDataStreamsRequest, ListIosAppDataStreamsResponse, + ListIosAppDataStreamsRequest, + ListIosAppDataStreamsResponse, ListIosAppDataStreamsPagedResponse> listIosAppDataStreamsSettings() { return listIosAppDataStreamsSettings; @@ -3575,7 +3632,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listAndroidAppDataStreams. */ public PagedCallSettings.Builder< - ListAndroidAppDataStreamsRequest, ListAndroidAppDataStreamsResponse, + ListAndroidAppDataStreamsRequest, + ListAndroidAppDataStreamsResponse, ListAndroidAppDataStreamsPagedResponse> listAndroidAppDataStreamsSettings() { return listAndroidAppDataStreamsSettings; @@ -3645,7 +3703,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listMeasurementProtocolSecrets. */ public PagedCallSettings.Builder< - ListMeasurementProtocolSecretsRequest, ListMeasurementProtocolSecretsResponse, + ListMeasurementProtocolSecretsRequest, + ListMeasurementProtocolSecretsResponse, ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings() { return listMeasurementProtocolSecretsSettings; @@ -3680,7 +3739,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to searchChangeHistoryEvents. */ public PagedCallSettings.Builder< - SearchChangeHistoryEventsRequest, SearchChangeHistoryEventsResponse, + SearchChangeHistoryEventsRequest, + SearchChangeHistoryEventsResponse, SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings() { return searchChangeHistoryEventsSettings; @@ -3718,7 +3778,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listConversionEvents. */ public PagedCallSettings.Builder< - ListConversionEventsRequest, ListConversionEventsResponse, + ListConversionEventsRequest, + ListConversionEventsResponse, ListConversionEventsPagedResponse> listConversionEventsSettings() { return listConversionEventsSettings; @@ -3735,7 +3796,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks. */ public PagedCallSettings.Builder< - ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse, + ListDisplayVideo360AdvertiserLinksRequest, + ListDisplayVideo360AdvertiserLinksResponse, ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings() { return listDisplayVideo360AdvertiserLinksSettings; @@ -3845,7 +3907,8 @@ public UnaryCallSettings.Builder deleteUserLinkSet /** Returns the builder for the settings used for calls to listCustomDimensions. */ public PagedCallSettings.Builder< - ListCustomDimensionsRequest, ListCustomDimensionsResponse, + ListCustomDimensionsRequest, + ListCustomDimensionsResponse, ListCustomDimensionsPagedResponse> listCustomDimensionsSettings() { return listCustomDimensionsSettings; diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java similarity index 99% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java rename to google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index b26c5fc3..87e60817 100644 --- a/owl-bot-staging/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java +++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java @@ -175,7 +175,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/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java b/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java rename to google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java b/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java rename to google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java diff --git a/owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java b/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java similarity index 100% rename from owl-bot-staging/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java rename to google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java diff --git a/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java new file mode 100644 index 00000000..5c0e867d --- /dev/null +++ b/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,11057 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.analytics.admin.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = + getGetAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = + getListAccountsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = + getDeleteAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = + getUpdateAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = + getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = + getListAccountSummariesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = + getGetPropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetPropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = + getListPropertiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = + getCreatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = + getDeletePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeletePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = + getUpdatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUserLink", + requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod; + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetUserLinkMethod = + getGetUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) + .build(); + } + } + } + return getGetUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod; + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = + getBatchGetUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) + .build(); + } + } + } + return getBatchGetUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", + requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod; + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListUserLinksMethod = + getListUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) + .build(); + } + } + } + return getListUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", + requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod; + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = + getAuditUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) + .build(); + } + } + } + return getAuditUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", + requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod; + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = + getCreateUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) + .build(); + } + } + } + return getCreateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod; + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchCreateUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = + getBatchCreateUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) + .build(); + } + } + } + return getBatchCreateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod; + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = + getUpdateUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) + .build(); + } + } + } + return getUpdateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod; + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchUpdateUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = + getBatchUpdateUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) + .build(); + } + } + } + return getBatchUpdateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod; + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = + getDeleteUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) + .build(); + } + } + } + return getDeleteUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod; + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchDeleteUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = + getBatchDeleteUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) + .build(); + } + } + } + return getBatchDeleteUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getGetWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWebDataStream", + requestType = com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getGetWebDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getGetWebDataStreamMethod; + if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod = + getGetWebDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetWebDataStream")) + .build(); + } + } + } + return getGetWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, com.google.protobuf.Empty> + getDeleteWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWebDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, com.google.protobuf.Empty> + getDeleteWebDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, + com.google.protobuf.Empty> + getDeleteWebDataStreamMethod; + if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod = + getDeleteWebDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteWebDataStream")) + .build(); + } + } + } + return getDeleteWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getUpdateWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateWebDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getUpdateWebDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getUpdateWebDataStreamMethod; + if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod = + getUpdateWebDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateWebDataStream")) + .build(); + } + } + } + return getUpdateWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getCreateWebDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWebDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getCreateWebDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream> + getCreateWebDataStreamMethod; + if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod = + getCreateWebDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateWebDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.WebDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateWebDataStream")) + .build(); + } + } + } + return getCreateWebDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> + getListWebDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWebDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> + getListWebDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> + getListWebDataStreamsMethod; + if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod = + getListWebDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWebDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListWebDataStreams")) + .build(); + } + } + } + return getListWebDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getGetIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getGetIosAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getGetIosAppDataStreamMethod; + if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod = + getGetIosAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.IosAppDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetIosAppDataStream")) + .build(); + } + } + } + return getGetIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteIosAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteIosAppDataStreamMethod; + if ((getDeleteIosAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteIosAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod = + getDeleteIosAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteIosAppDataStream")) + .build(); + } + } + } + return getDeleteIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getUpdateIosAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIosAppDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getUpdateIosAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream> + getUpdateIosAppDataStreamMethod; + if ((getUpdateIosAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateIosAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod = + getUpdateIosAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateIosAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.IosAppDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateIosAppDataStream")) + .build(); + } + } + } + return getUpdateIosAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + getListIosAppDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIosAppDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + getListIosAppDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + getListIosAppDataStreamsMethod; + if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListIosAppDataStreamsMethod = + AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod = + getListIosAppDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListIosAppDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListIosAppDataStreams")) + .build(); + } + } + } + return getListIosAppDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getGetAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getGetAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getGetAndroidAppDataStreamMethod; + if ((getGetAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod = + getGetAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AndroidAppDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetAndroidAppDataStream")) + .build(); + } + } + } + return getGetAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, + com.google.protobuf.Empty> + getDeleteAndroidAppDataStreamMethod; + if ((getDeleteAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod = + getDeleteAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteAndroidAppDataStream")) + .build(); + } + } + } + return getDeleteAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getUpdateAndroidAppDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAndroidAppDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getUpdateAndroidAppDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getUpdateAndroidAppDataStreamMethod; + if ((getUpdateAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAndroidAppDataStreamMethod = + AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod = + getUpdateAndroidAppDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateAndroidAppDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AndroidAppDataStream + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateAndroidAppDataStream")) + .build(); + } + } + } + return getUpdateAndroidAppDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + getListAndroidAppDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAndroidAppDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + getListAndroidAppDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + getListAndroidAppDataStreamsMethod; + if ((getListAndroidAppDataStreamsMethod = + AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAndroidAppDataStreamsMethod = + AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod = + getListAndroidAppDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAndroidAppDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListAndroidAppDataStreams")) + .build(); + } + } + } + return getListAndroidAppDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = + getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = + getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = + getListFirebaseLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", + requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod; + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = + getGetGlobalSiteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GlobalSiteTag + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) + .build(); + } + } + } + return getGetGlobalSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = + getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = + getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = + getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = + getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = + getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataSharingSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = + getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + responseType = + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = + getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = + getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = + getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = + getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = + getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = + getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod; + if ((getGetGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = + getGetGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetGoogleSignalsSettings")) + .build(); + } + } + } + return getGetGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod; + if ((getUpdateGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = + getUpdateGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateGoogleSignalsSettings")) + .build(); + } + } + } + return getUpdateGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = + getCreateConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = + getGetConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = + getDeleteConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = + AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = + getListConversionEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod; + if ((getGetDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = + getGetDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", + requestType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + responseType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod; + if ((getListDisplayVideo360AdvertiserLinksMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinksMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = + getListDisplayVideo360AdvertiserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListDisplayVideo360AdvertiserLinks")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod; + if ((getCreateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = + getCreateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = + getDeleteDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod; + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = + getUpdateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getUpdateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod; + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = + getGetDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", + requestType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .class, + responseType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod; + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = + getListDisplayVideo360AdvertiserLinkProposalsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListDisplayVideo360AdvertiserLinkProposals")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinkProposalsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = + getCreateDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod; + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = + getApproveDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ApproveDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getApproveDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = + getCancelDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CancelDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCancelDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = + getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = + getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = + getListCustomDimensionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = + getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = + getGetCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = + getCreateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = + getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = + getListCustomMetricsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = + getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = + getGetCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = + getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = + getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = + getCreateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = + getDeleteDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = + getUpdateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = + getListDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = + getGetDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountsMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getProvisionAccountTicketMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountSummariesMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPropertiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAuditUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public void getWebDataStream( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWebDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public void deleteWebDataStream( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWebDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a web stream on a property.
+     * 
+ */ + public void updateWebDataStream( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateWebDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public void createWebDataStream( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWebDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public void listWebDataStreams( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWebDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public void getIosAppDataStream( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIosAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public void deleteIosAppDataStream( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteIosAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public void updateIosAppDataStream( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateIosAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public void listIosAppDataStreams( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListIosAppDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public void getAndroidAppDataStream( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAndroidAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public void deleteAndroidAppDataStream( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAndroidAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public void updateAndroidAppDataStream( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAndroidAppDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public void listAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAndroidAppDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFirebaseLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGlobalSiteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConversionEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomDimensionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomMetricsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataStreamMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account>(this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account>(this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getGetUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>(this, METHODID_GET_USER_LINK))) + .addMethod( + getBatchGetUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( + this, METHODID_BATCH_GET_USER_LINKS))) + .addMethod( + getListUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse>( + this, METHODID_LIST_USER_LINKS))) + .addMethod( + getAuditUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( + this, METHODID_AUDIT_USER_LINKS))) + .addMethod( + getCreateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_CREATE_USER_LINK))) + .addMethod( + getBatchCreateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( + this, METHODID_BATCH_CREATE_USER_LINKS))) + .addMethod( + getUpdateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_UPDATE_USER_LINK))) + .addMethod( + getBatchUpdateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( + this, METHODID_BATCH_UPDATE_USER_LINKS))) + .addMethod( + getDeleteUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_USER_LINK))) + .addMethod( + getBatchDeleteUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_USER_LINKS))) + .addMethod( + getGetWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_GET_WEB_DATA_STREAM))) + .addMethod( + getDeleteWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_WEB_DATA_STREAM))) + .addMethod( + getUpdateWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_UPDATE_WEB_DATA_STREAM))) + .addMethod( + getCreateWebDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, + com.google.analytics.admin.v1alpha.WebDataStream>( + this, METHODID_CREATE_WEB_DATA_STREAM))) + .addMethod( + getListWebDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>( + this, METHODID_LIST_WEB_DATA_STREAMS))) + .addMethod( + getGetIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream>( + this, METHODID_GET_IOS_APP_DATA_STREAM))) + .addMethod( + getDeleteIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_IOS_APP_DATA_STREAM))) + .addMethod( + getUpdateIosAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, + com.google.analytics.admin.v1alpha.IosAppDataStream>( + this, METHODID_UPDATE_IOS_APP_DATA_STREAM))) + .addMethod( + getListIosAppDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>( + this, METHODID_LIST_IOS_APP_DATA_STREAMS))) + .addMethod( + getGetAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream>( + this, METHODID_GET_ANDROID_APP_DATA_STREAM))) + .addMethod( + getDeleteAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ANDROID_APP_DATA_STREAM))) + .addMethod( + getUpdateAndroidAppDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, + com.google.analytics.admin.v1alpha.AndroidAppDataStream>( + this, METHODID_UPDATE_ANDROID_APP_DATA_STREAM))) + .addMethod( + getListAndroidAppDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>( + this, METHODID_LIST_ANDROID_APP_DATA_STREAMS))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getGetGlobalSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag>( + this, METHODID_GET_GLOBAL_SITE_TAG))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getGetGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getUpdateGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getListDisplayVideo360AdvertiserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getUpdateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse>( + this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .build(); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public void getWebDataStream( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public void deleteWebDataStream( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a web stream on a property.
+     * 
+ */ + public void updateWebDataStream( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public void createWebDataStream( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public void listWebDataStreams( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public void getIosAppDataStream( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public void deleteIosAppDataStream( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public void updateIosAppDataStream( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public void listIosAppDataStreams( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public void getAndroidAppDataStream( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public void deleteAndroidAppDataStream( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public void updateAndroidAppDataStream( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public void listAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.protobuf.Empty deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWebDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteWebDataStream( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWebDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a web stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream updateWebDataStream( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateWebDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.WebDataStream createWebDataStream( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWebDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse listWebDataStreams( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWebDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteIosAppDataStream( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.IosAppDataStream updateIosAppDataStream( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIosAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse listIosAppDataStreams( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIosAppDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteAndroidAppDataStream( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AndroidAppDataStream updateAndroidAppDataStream( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAndroidAppDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + listAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAndroidAppDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Account> + getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAccountsResponse> + listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Account> + updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
+     * will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found, or is not an GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single WebDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.WebDataStream> + getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a web stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a web stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.WebDataStream> + updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a web stream with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.WebDataStream> + createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child web data streams under the specified parent property.
+     * Web data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant web data streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse> + listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single IosAppDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.IosAppDataStream> + getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an iOS app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteIosAppDataStream( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an iOS app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.IosAppDataStream> + updateIosAppDataStream( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child iOS app data streams under the specified parent property.
+     * iOS app data streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant iOS app data streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse> + listIosAppDataStreams( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single AndroidAppDataStream
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + getAndroidAppDataStream( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an android app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAndroidAppDataStream( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an android app stream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AndroidAppDataStream> + updateAndroidAppDataStream( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child android app streams under the specified parent property.
+     * Android app streams will be excluded if the caller does not have access.
+     * Returns an empty list if no relevant android app streams are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse> + listAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.FirebaseLink> + createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleAdsLink> + createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleAdsLink> + updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataSharingSettings> + getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Acknowledges the terms of user data collection for the specified property.
+     * This acknowledgement must be completed (either in the Google Analytics UI
+     * or via this API) before MeasurementProtocolSecret resources may be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ConversionEvent> + createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ConversionEvent> + getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * the Google Analytics property and on the Display & Video 360 advertiser.
+     * Users who do not have access to the Display & Video 360 advertiser should
+     * instead seek to create a DisplayVideo360LinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - Declining a proposal initiated from Display & Video 360
+     * - Withdrawing a proposal initiated from Google Analytics
+     * After being cancelled, a proposal will eventually be deleted automatically.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRetentionSettings> + updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_ACCOUNT = 0; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_GET_USER_LINK = 11; + private static final int METHODID_BATCH_GET_USER_LINKS = 12; + private static final int METHODID_LIST_USER_LINKS = 13; + private static final int METHODID_AUDIT_USER_LINKS = 14; + private static final int METHODID_CREATE_USER_LINK = 15; + private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; + private static final int METHODID_UPDATE_USER_LINK = 17; + private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; + private static final int METHODID_DELETE_USER_LINK = 19; + private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; + private static final int METHODID_GET_WEB_DATA_STREAM = 21; + private static final int METHODID_DELETE_WEB_DATA_STREAM = 22; + private static final int METHODID_UPDATE_WEB_DATA_STREAM = 23; + private static final int METHODID_CREATE_WEB_DATA_STREAM = 24; + private static final int METHODID_LIST_WEB_DATA_STREAMS = 25; + private static final int METHODID_GET_IOS_APP_DATA_STREAM = 26; + private static final int METHODID_DELETE_IOS_APP_DATA_STREAM = 27; + private static final int METHODID_UPDATE_IOS_APP_DATA_STREAM = 28; + private static final int METHODID_LIST_IOS_APP_DATA_STREAMS = 29; + private static final int METHODID_GET_ANDROID_APP_DATA_STREAM = 30; + private static final int METHODID_DELETE_ANDROID_APP_DATA_STREAM = 31; + private static final int METHODID_UPDATE_ANDROID_APP_DATA_STREAM = 32; + private static final int METHODID_LIST_ANDROID_APP_DATA_STREAMS = 33; + private static final int METHODID_CREATE_FIREBASE_LINK = 34; + private static final int METHODID_DELETE_FIREBASE_LINK = 35; + private static final int METHODID_LIST_FIREBASE_LINKS = 36; + private static final int METHODID_GET_GLOBAL_SITE_TAG = 37; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 38; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 39; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 40; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 41; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 42; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 43; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 44; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 45; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 46; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 47; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 48; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 49; + private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 50; + private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 51; + private static final int METHODID_CREATE_CONVERSION_EVENT = 52; + private static final int METHODID_GET_CONVERSION_EVENT = 53; + private static final int METHODID_DELETE_CONVERSION_EVENT = 54; + private static final int METHODID_LIST_CONVERSION_EVENTS = 55; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 56; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 57; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 58; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 59; + private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 60; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 61; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 62; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 63; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 64; + private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 65; + private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 66; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 67; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 68; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 69; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 70; + private static final int METHODID_GET_CUSTOM_DIMENSION = 71; + private static final int METHODID_CREATE_CUSTOM_METRIC = 72; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 73; + private static final int METHODID_LIST_CUSTOM_METRICS = 74; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 75; + private static final int METHODID_GET_CUSTOM_METRIC = 76; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 77; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 78; + private static final int METHODID_CREATE_DATA_STREAM = 79; + private static final int METHODID_DELETE_DATA_STREAM = 80; + private static final int METHODID_UPDATE_DATA_STREAM = 81; + private static final int METHODID_LIST_DATA_STREAMS = 82; + private static final int METHODID_GET_DATA_STREAM = 83; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount( + (com.google.analytics.admin.v1alpha.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts( + (com.google.analytics.admin.v1alpha.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount( + (com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount( + (com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket( + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>) + responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries( + (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>) + responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty( + (com.google.analytics.admin.v1alpha.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties( + (com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListPropertiesResponse>) + responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty( + (com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty( + (com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty( + (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_USER_LINK: + serviceImpl.getUserLink( + (com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_GET_USER_LINKS: + serviceImpl.batchGetUserLinks( + (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>) + responseObserver); + break; + case METHODID_LIST_USER_LINKS: + serviceImpl.listUserLinks( + (com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListUserLinksResponse>) + responseObserver); + break; + case METHODID_AUDIT_USER_LINKS: + serviceImpl.auditUserLinks( + (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_USER_LINK: + serviceImpl.createUserLink( + (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_CREATE_USER_LINKS: + serviceImpl.batchCreateUserLinks( + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>) + responseObserver); + break; + case METHODID_UPDATE_USER_LINK: + serviceImpl.updateUserLink( + (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_UPDATE_USER_LINKS: + serviceImpl.batchUpdateUserLinks( + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>) + responseObserver); + break; + case METHODID_DELETE_USER_LINK: + serviceImpl.deleteUserLink( + (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_USER_LINKS: + serviceImpl.batchDeleteUserLinks( + (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WEB_DATA_STREAM: + serviceImpl.getWebDataStream( + (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_WEB_DATA_STREAM: + serviceImpl.deleteWebDataStream( + (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_WEB_DATA_STREAM: + serviceImpl.updateWebDataStream( + (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_WEB_DATA_STREAM: + serviceImpl.createWebDataStream( + (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_WEB_DATA_STREAMS: + serviceImpl.listWebDataStreams( + (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>) + responseObserver); + break; + case METHODID_GET_IOS_APP_DATA_STREAM: + serviceImpl.getIosAppDataStream( + (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_IOS_APP_DATA_STREAM: + serviceImpl.deleteIosAppDataStream( + (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_IOS_APP_DATA_STREAM: + serviceImpl.updateIosAppDataStream( + (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_IOS_APP_DATA_STREAMS: + serviceImpl.listIosAppDataStreams( + (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>) + responseObserver); + break; + case METHODID_GET_ANDROID_APP_DATA_STREAM: + serviceImpl.getAndroidAppDataStream( + (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ANDROID_APP_DATA_STREAM: + serviceImpl.deleteAndroidAppDataStream( + (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ANDROID_APP_DATA_STREAM: + serviceImpl.updateAndroidAppDataStream( + (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ANDROID_APP_DATA_STREAMS: + serviceImpl.listAndroidAppDataStreams( + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>) + responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink( + (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink( + (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks( + (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>) + responseObserver); + break; + case METHODID_GET_GLOBAL_SITE_TAG: + serviceImpl.getGlobalSiteTag( + (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink( + (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink( + (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink( + (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks( + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>) + responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings( + (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets( + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>) + responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection( + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>) + responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents( + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>) + responseObserver); + break; + case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.getGoogleSignalsSettings( + (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) + responseObserver); + break; + case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.updateGoogleSignalsSettings( + (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) + responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent( + (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent( + (com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent( + (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents( + (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>) + responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.getDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: + serviceImpl.listDisplayVideo360AdvertiserLinks( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.createDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.deleteDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.updateDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.getDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: + serviceImpl.listDisplayVideo360AdvertiserLinkProposals( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse>) + responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.createDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.approveDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse>) + responseObserver); + break; + case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension( + (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension( + (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions( + (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension( + (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension( + (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric( + (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric( + (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics( + (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric( + (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric( + (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings( + (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRetentionSettings>) + responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings( + (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRetentionSettings>) + responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream( + (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream( + (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream( + (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams( + (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>) + responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream( + (com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getGetUserLinkMethod()) + .addMethod(getBatchGetUserLinksMethod()) + .addMethod(getListUserLinksMethod()) + .addMethod(getAuditUserLinksMethod()) + .addMethod(getCreateUserLinkMethod()) + .addMethod(getBatchCreateUserLinksMethod()) + .addMethod(getUpdateUserLinkMethod()) + .addMethod(getBatchUpdateUserLinksMethod()) + .addMethod(getDeleteUserLinkMethod()) + .addMethod(getBatchDeleteUserLinksMethod()) + .addMethod(getGetWebDataStreamMethod()) + .addMethod(getDeleteWebDataStreamMethod()) + .addMethod(getUpdateWebDataStreamMethod()) + .addMethod(getCreateWebDataStreamMethod()) + .addMethod(getListWebDataStreamsMethod()) + .addMethod(getGetIosAppDataStreamMethod()) + .addMethod(getDeleteIosAppDataStreamMethod()) + .addMethod(getUpdateIosAppDataStreamMethod()) + .addMethod(getListIosAppDataStreamsMethod()) + .addMethod(getGetAndroidAppDataStreamMethod()) + .addMethod(getDeleteAndroidAppDataStreamMethod()) + .addMethod(getUpdateAndroidAppDataStreamMethod()) + .addMethod(getListAndroidAppDataStreamsMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getGetGlobalSiteTagMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getGetGoogleSignalsSettingsMethod()) + .addMethod(getUpdateGoogleSignalsSettingsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java deleted file mode 100644 index cfdec9e4..00000000 --- a/owl-bot-staging/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,7677 +0,0 @@ -package com.google.analytics.admin.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAccountMethod() { - io.grpc.MethodDescriptor getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountsMethod() { - io.grpc.MethodDescriptor getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAccountMethod() { - io.grpc.MethodDescriptor getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAccountMethod() { - io.grpc.MethodDescriptor getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { - io.grpc.MethodDescriptor getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPropertyMethod() { - io.grpc.MethodDescriptor getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPropertiesMethod() { - io.grpc.MethodDescriptor getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePropertyMethod() { - io.grpc.MethodDescriptor getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePropertyMethod() { - io.grpc.MethodDescriptor getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { - io.grpc.MethodDescriptor getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUserLink", - requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUserLinkMethod() { - io.grpc.MethodDescriptor getGetUserLinkMethod; - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetUserLinkMethod = getGetUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) - .build(); - } - } - } - return getGetUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchGetUserLinksMethod() { - io.grpc.MethodDescriptor getBatchGetUserLinksMethod; - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = getBatchGetUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) - .build(); - } - } - } - return getBatchGetUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", - requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUserLinksMethod() { - io.grpc.MethodDescriptor getListUserLinksMethod; - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListUserLinksMethod = getListUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) - .build(); - } - } - } - return getListUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getAuditUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", - requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAuditUserLinksMethod() { - io.grpc.MethodDescriptor getAuditUserLinksMethod; - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = getAuditUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) - .build(); - } - } - } - return getAuditUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", - requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUserLinkMethod() { - io.grpc.MethodDescriptor getCreateUserLinkMethod; - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = getCreateUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) - .build(); - } - } - } - return getCreateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateUserLinksMethod() { - io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = getBatchCreateUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) - .build(); - } - } - } - return getBatchCreateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUserLinkMethod() { - io.grpc.MethodDescriptor getUpdateUserLinkMethod; - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = getUpdateUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) - .build(); - } - } - } - return getUpdateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod() { - io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = getBatchUpdateUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) - .build(); - } - } - } - return getBatchUpdateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUserLinkMethod() { - io.grpc.MethodDescriptor getDeleteUserLinkMethod; - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = getDeleteUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) - .build(); - } - } - } - return getDeleteUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod() { - io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = getBatchDeleteUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) - .build(); - } - } - } - return getBatchDeleteUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWebDataStream", - requestType = com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWebDataStreamMethod() { - io.grpc.MethodDescriptor getGetWebDataStreamMethod; - if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetWebDataStreamMethod = AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetWebDataStreamMethod = getGetWebDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetWebDataStream")) - .build(); - } - } - } - return getGetWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWebDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteWebDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteWebDataStreamMethod; - if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteWebDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteWebDataStreamMethod = getDeleteWebDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteWebDataStream")) - .build(); - } - } - } - return getDeleteWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateWebDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateWebDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateWebDataStreamMethod; - if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateWebDataStreamMethod = getUpdateWebDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateWebDataStream")) - .build(); - } - } - } - return getUpdateWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateWebDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWebDataStream", - requestType = com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.WebDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWebDataStreamMethod() { - io.grpc.MethodDescriptor getCreateWebDataStreamMethod; - if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateWebDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateWebDataStreamMethod = getCreateWebDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWebDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateWebDataStream")) - .build(); - } - } - } - return getCreateWebDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListWebDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWebDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListWebDataStreamsMethod() { - io.grpc.MethodDescriptor getListWebDataStreamsMethod; - if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListWebDataStreamsMethod = AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListWebDataStreamsMethod = getListWebDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWebDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListWebDataStreams")) - .build(); - } - } - } - return getListWebDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIosAppDataStreamMethod() { - io.grpc.MethodDescriptor getGetIosAppDataStreamMethod; - if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetIosAppDataStreamMethod = getGetIosAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetIosAppDataStream")) - .build(); - } - } - } - return getGetIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteIosAppDataStreamMethod; - if ((getDeleteIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteIosAppDataStreamMethod = getDeleteIosAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteIosAppDataStream")) - .build(); - } - } - } - return getDeleteIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIosAppDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.IosAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateIosAppDataStreamMethod; - if ((getUpdateIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateIosAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateIosAppDataStreamMethod = getUpdateIosAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIosAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateIosAppDataStream")) - .build(); - } - } - } - return getUpdateIosAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListIosAppDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIosAppDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListIosAppDataStreamsMethod() { - io.grpc.MethodDescriptor getListIosAppDataStreamsMethod; - if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListIosAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListIosAppDataStreamsMethod = getListIosAppDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIosAppDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListIosAppDataStreams")) - .build(); - } - } - } - return getListIosAppDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor getGetAndroidAppDataStreamMethod; - if ((getGetAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAndroidAppDataStreamMethod = getGetAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAndroidAppDataStream")) - .build(); - } - } - } - return getGetAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteAndroidAppDataStreamMethod; - if ((getDeleteAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAndroidAppDataStreamMethod = getDeleteAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAndroidAppDataStream")) - .build(); - } - } - } - return getDeleteAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAndroidAppDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateAndroidAppDataStreamMethod; - if ((getUpdateAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAndroidAppDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAndroidAppDataStreamMethod = getUpdateAndroidAppDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAndroidAppDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAndroidAppDataStream")) - .build(); - } - } - } - return getUpdateAndroidAppDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAndroidAppDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod() { - io.grpc.MethodDescriptor getListAndroidAppDataStreamsMethod; - if ((getListAndroidAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAndroidAppDataStreamsMethod = AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAndroidAppDataStreamsMethod = getListAndroidAppDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAndroidAppDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAndroidAppDataStreams")) - .build(); - } - } - } - return getListAndroidAppDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { - io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) - .build(); - } - } - } - return getCreateFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { - io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) - .build(); - } - } - } - return getDeleteFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", - requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { - io.grpc.MethodDescriptor getListFirebaseLinksMethod; - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) - .build(); - } - } - } - return getListFirebaseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", - requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, - responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGlobalSiteTagMethod() { - io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { - AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = getGetGlobalSiteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) - .build(); - } - } - } - return getGetGlobalSiteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) - .build(); - } - } - } - return getCreateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) - .build(); - } - } - } - return getUpdateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) - .build(); - } - } - } - return getDeleteGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", - requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { - io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) - .build(); - } - } - } - return getListGoogleAdsLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { - io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) - .build(); - } - } - } - return getGetDataSharingSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) - .build(); - } - } - } - return getGetMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", - requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { - io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) - .build(); - } - } - } - return getListMeasurementProtocolSecretsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) - .build(); - } - } - } - return getCreateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) - .build(); - } - } - } - return getDeleteMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) - .build(); - } - } - } - return getUpdateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", - requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, - responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { - io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) - .build(); - } - } - } - return getAcknowledgeUserDataCollectionMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; - if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = getGetGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGoogleSignalsSettings")) - .build(); - } - } - } - return getGetGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; - if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = getUpdateGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleSignalsSettings")) - .build(); - } - } - } - return getUpdateGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { - io.grpc.MethodDescriptor getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConversionEventMethod() { - io.grpc.MethodDescriptor getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListConversionEventsMethod() { - io.grpc.MethodDescriptor getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; - if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = getGetDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", - requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod() { - io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; - if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = getListDisplayVideo360AdvertiserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinks")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; - if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = getCreateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = getDeleteDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = getUpdateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getUpdateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = getGetDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", - requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod() { - io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = getListDisplayVideo360AdvertiserLinkProposalsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinkProposals")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinkProposalsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = getCreateDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = getApproveDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ApproveDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getApproveDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = getCancelDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CancelDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCancelDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { - io.grpc.MethodDescriptor getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { - io.grpc.MethodDescriptor getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", - requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { - io.grpc.MethodDescriptor getCreateDataStreamMethod; - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) - .build(); - } - } - } - return getCreateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteDataStreamMethod; - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) - .build(); - } - } - } - return getDeleteDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateDataStreamMethod; - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) - .build(); - } - } - } - return getUpdateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataStreamsMethod() { - io.grpc.MethodDescriptor getListDataStreamsMethod; - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) - .build(); - } - } - } - return getListDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataStream", - requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataStreamMethod() { - io.grpc.MethodDescriptor getGetDataStreamMethod; - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) - .build(); - } - } - } - return getGetDataStreamMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AnalyticsAdminServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserLinkMethod(), responseObserver); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetUserLinksMethod(), responseObserver); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUserLinksMethod(), responseObserver); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAuditUserLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserLinkMethod(), responseObserver); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateUserLinksMethod(), responseObserver); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserLinkMethod(), responseObserver); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateUserLinksMethod(), responseObserver); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteUserLinksMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public void getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWebDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes a web stream on a property.
-     * 
- */ - public void deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWebDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates a web stream on a property.
-     * 
- */ - public void updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateWebDataStreamMethod(), responseObserver); - } - - /** - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public void createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWebDataStreamMethod(), responseObserver); - } - - /** - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public void listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWebDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public void getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIosAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public void deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIosAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public void updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIosAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public void listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIosAppDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public void getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAndroidAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public void deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAndroidAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates an android app stream on a property.
-     * 
- */ - public void updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAndroidAppDataStreamMethod(), responseObserver); - } - - /** - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public void listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAndroidAppDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGlobalSiteTagMethod(), responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Acknowledges the terms of user data collection for the specified property.
-     * This acknowledgement must be completed (either in the Google Analytics UI
-     * or via this API) before MeasurementProtocolSecret resources may be created.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account>( - this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account>( - this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getGetUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_GET_USER_LINK))) - .addMethod( - getBatchGetUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( - this, METHODID_BATCH_GET_USER_LINKS))) - .addMethod( - getListUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse>( - this, METHODID_LIST_USER_LINKS))) - .addMethod( - getAuditUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( - this, METHODID_AUDIT_USER_LINKS))) - .addMethod( - getCreateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_CREATE_USER_LINK))) - .addMethod( - getBatchCreateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( - this, METHODID_BATCH_CREATE_USER_LINKS))) - .addMethod( - getUpdateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_UPDATE_USER_LINK))) - .addMethod( - getBatchUpdateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( - this, METHODID_BATCH_UPDATE_USER_LINKS))) - .addMethod( - getDeleteUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_USER_LINK))) - .addMethod( - getBatchDeleteUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty>( - this, METHODID_BATCH_DELETE_USER_LINKS))) - .addMethod( - getGetWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_GET_WEB_DATA_STREAM))) - .addMethod( - getDeleteWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_WEB_DATA_STREAM))) - .addMethod( - getUpdateWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_UPDATE_WEB_DATA_STREAM))) - .addMethod( - getCreateWebDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest, - com.google.analytics.admin.v1alpha.WebDataStream>( - this, METHODID_CREATE_WEB_DATA_STREAM))) - .addMethod( - getListWebDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse>( - this, METHODID_LIST_WEB_DATA_STREAMS))) - .addMethod( - getGetIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream>( - this, METHODID_GET_IOS_APP_DATA_STREAM))) - .addMethod( - getDeleteIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_IOS_APP_DATA_STREAM))) - .addMethod( - getUpdateIosAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest, - com.google.analytics.admin.v1alpha.IosAppDataStream>( - this, METHODID_UPDATE_IOS_APP_DATA_STREAM))) - .addMethod( - getListIosAppDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse>( - this, METHODID_LIST_IOS_APP_DATA_STREAMS))) - .addMethod( - getGetAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream>( - this, METHODID_GET_ANDROID_APP_DATA_STREAM))) - .addMethod( - getDeleteAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ANDROID_APP_DATA_STREAM))) - .addMethod( - getUpdateAndroidAppDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest, - com.google.analytics.admin.v1alpha.AndroidAppDataStream>( - this, METHODID_UPDATE_ANDROID_APP_DATA_STREAM))) - .addMethod( - getListAndroidAppDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse>( - this, METHODID_LIST_ANDROID_APP_DATA_STREAMS))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getGetGlobalSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag>( - this, METHODID_GET_GLOBAL_SITE_TAG))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getAcknowledgeUserDataCollectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( - this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getGetGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getUpdateGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getListDisplayVideo360AdvertiserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getUpdateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse>( - this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .addMethod( - getCreateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DATA_STREAM))) - .addMethod( - getUpdateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_UPDATE_DATA_STREAM))) - .addMethod( - getListDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( - this, METHODID_LIST_DATA_STREAMS))) - .addMethod( - getGetDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_GET_DATA_STREAM))) - .build(); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public void getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a web stream on a property.
-     * 
- */ - public void deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a web stream on a property.
-     * 
- */ - public void updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public void createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public void listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public void getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public void deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public void updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public void listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public void getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public void deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an android app stream on a property.
-     * 
- */ - public void updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public void listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Acknowledges the terms of user data collection for the specified property.
-     * This acknowledgement must be completed (either in the Google Analytics UI
-     * or via this API) before MeasurementProtocolSecret resources may be created.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.protobuf.Empty deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWebDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a web stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteWebDataStream(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWebDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a web stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream updateWebDataStream(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateWebDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.WebDataStream createWebDataStream(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWebDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse listWebDataStreams(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWebDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteIosAppDataStream(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.IosAppDataStream updateIosAppDataStream(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIosAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse listIosAppDataStreams(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIosAppDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteAndroidAppDataStream(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an android app stream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream updateAndroidAppDataStream(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAndroidAppDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse listAndroidAppDataStreams(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAndroidAppDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Acknowledges the terms of user data collection for the specified property.
-     * This acknowledgement must be completed (either in the Google Analytics UI
-     * or via this API) before MeasurementProtocolSecret resources may be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataStreamMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
-     * will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found, or is not an GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single WebDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWebDataStream( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWebDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a web stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteWebDataStream( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWebDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a web stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateWebDataStream( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateWebDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a web stream with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWebDataStream( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWebDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child web data streams under the specified parent property.
-     * Web data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant web data streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listWebDataStreams( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWebDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single IosAppDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIosAppDataStream( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an iOS app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteIosAppDataStream( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an iOS app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateIosAppDataStream( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateIosAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child iOS app data streams under the specified parent property.
-     * iOS app data streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant iOS app data streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listIosAppDataStreams( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListIosAppDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single AndroidAppDataStream
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAndroidAppDataStream( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an android app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAndroidAppDataStream( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an android app stream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAndroidAppDataStream( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAndroidAppDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child android app streams under the specified parent property.
-     * Android app streams will be excluded if the caller does not have access.
-     * Returns an empty list if no relevant android app streams are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAndroidAppDataStreams( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAndroidAppDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Acknowledges the terms of user data collection for the specified property.
-     * This acknowledgement must be completed (either in the Google Analytics UI
-     * or via this API) before MeasurementProtocolSecret resources may be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * the Google Analytics property and on the Display & Video 360 advertiser.
-     * Users who do not have access to the Display & Video 360 advertiser should
-     * instead seek to create a DisplayVideo360LinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - Declining a proposal initiated from Display & Video 360
-     * - Withdrawing a proposal initiated from Google Analytics
-     * After being cancelled, a proposal will eventually be deleted automatically.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataStream( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataStream( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataStream( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataStreams( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataStream( - com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_ACCOUNT = 0; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_GET_USER_LINK = 11; - private static final int METHODID_BATCH_GET_USER_LINKS = 12; - private static final int METHODID_LIST_USER_LINKS = 13; - private static final int METHODID_AUDIT_USER_LINKS = 14; - private static final int METHODID_CREATE_USER_LINK = 15; - private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; - private static final int METHODID_UPDATE_USER_LINK = 17; - private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; - private static final int METHODID_DELETE_USER_LINK = 19; - private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; - private static final int METHODID_GET_WEB_DATA_STREAM = 21; - private static final int METHODID_DELETE_WEB_DATA_STREAM = 22; - private static final int METHODID_UPDATE_WEB_DATA_STREAM = 23; - private static final int METHODID_CREATE_WEB_DATA_STREAM = 24; - private static final int METHODID_LIST_WEB_DATA_STREAMS = 25; - private static final int METHODID_GET_IOS_APP_DATA_STREAM = 26; - private static final int METHODID_DELETE_IOS_APP_DATA_STREAM = 27; - private static final int METHODID_UPDATE_IOS_APP_DATA_STREAM = 28; - private static final int METHODID_LIST_IOS_APP_DATA_STREAMS = 29; - private static final int METHODID_GET_ANDROID_APP_DATA_STREAM = 30; - private static final int METHODID_DELETE_ANDROID_APP_DATA_STREAM = 31; - private static final int METHODID_UPDATE_ANDROID_APP_DATA_STREAM = 32; - private static final int METHODID_LIST_ANDROID_APP_DATA_STREAMS = 33; - private static final int METHODID_CREATE_FIREBASE_LINK = 34; - private static final int METHODID_DELETE_FIREBASE_LINK = 35; - private static final int METHODID_LIST_FIREBASE_LINKS = 36; - private static final int METHODID_GET_GLOBAL_SITE_TAG = 37; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 38; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 39; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 40; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 41; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 42; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 43; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 44; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 45; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 46; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 47; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 48; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 49; - private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 50; - private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 51; - private static final int METHODID_CREATE_CONVERSION_EVENT = 52; - private static final int METHODID_GET_CONVERSION_EVENT = 53; - private static final int METHODID_DELETE_CONVERSION_EVENT = 54; - private static final int METHODID_LIST_CONVERSION_EVENTS = 55; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 56; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 57; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 58; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 59; - private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 60; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 61; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 62; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 63; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 64; - private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 65; - private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 66; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 67; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 68; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 69; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 70; - private static final int METHODID_GET_CUSTOM_DIMENSION = 71; - private static final int METHODID_CREATE_CUSTOM_METRIC = 72; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 73; - private static final int METHODID_LIST_CUSTOM_METRICS = 74; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 75; - private static final int METHODID_GET_CUSTOM_METRIC = 76; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 77; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 78; - private static final int METHODID_CREATE_DATA_STREAM = 79; - private static final int METHODID_DELETE_DATA_STREAM = 80; - private static final int METHODID_UPDATE_DATA_STREAM = 81; - private static final int METHODID_LIST_DATA_STREAMS = 82; - private static final int METHODID_GET_DATA_STREAM = 83; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount((com.google.analytics.admin.v1alpha.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts((com.google.analytics.admin.v1alpha.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount((com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount((com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty((com.google.analytics.admin.v1alpha.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties((com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty((com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty((com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_USER_LINK: - serviceImpl.getUserLink((com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_USER_LINKS: - serviceImpl.batchGetUserLinks((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USER_LINKS: - serviceImpl.listUserLinks((com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_AUDIT_USER_LINKS: - serviceImpl.auditUserLinks((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER_LINK: - serviceImpl.createUserLink((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_USER_LINKS: - serviceImpl.batchCreateUserLinks((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER_LINK: - serviceImpl.updateUserLink((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_USER_LINKS: - serviceImpl.batchUpdateUserLinks((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER_LINK: - serviceImpl.deleteUserLink((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_USER_LINKS: - serviceImpl.batchDeleteUserLinks((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WEB_DATA_STREAM: - serviceImpl.getWebDataStream((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_WEB_DATA_STREAM: - serviceImpl.deleteWebDataStream((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_WEB_DATA_STREAM: - serviceImpl.updateWebDataStream((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_WEB_DATA_STREAM: - serviceImpl.createWebDataStream((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_WEB_DATA_STREAMS: - serviceImpl.listWebDataStreams((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IOS_APP_DATA_STREAM: - serviceImpl.getIosAppDataStream((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_IOS_APP_DATA_STREAM: - serviceImpl.deleteIosAppDataStream((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_IOS_APP_DATA_STREAM: - serviceImpl.updateIosAppDataStream((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_IOS_APP_DATA_STREAMS: - serviceImpl.listIosAppDataStreams((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ANDROID_APP_DATA_STREAM: - serviceImpl.getAndroidAppDataStream((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ANDROID_APP_DATA_STREAM: - serviceImpl.deleteAndroidAppDataStream((com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ANDROID_APP_DATA_STREAM: - serviceImpl.updateAndroidAppDataStream((com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ANDROID_APP_DATA_STREAMS: - serviceImpl.listAndroidAppDataStreams((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_FIREBASE_LINK: - serviceImpl.createFirebaseLink((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FIREBASE_LINK: - serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FIREBASE_LINKS: - serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GLOBAL_SITE_TAG: - serviceImpl.getGlobalSiteTag((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_GOOGLE_ADS_LINK: - serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GOOGLE_ADS_LINK: - serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GOOGLE_ADS_LINK: - serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GOOGLE_ADS_LINKS: - serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SHARING_SETTINGS: - serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: - serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: - serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.getGoogleSignalsSettings((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.updateGoogleSignalsSettings((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent((com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.getDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: - serviceImpl.listDisplayVideo360AdvertiserLinks((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.createDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.deleteDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.updateDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.getDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: - serviceImpl.listDisplayVideo360AdvertiserLinkProposals((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.createDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.approveDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATA_STREAM: - serviceImpl.createDataStream((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_STREAM: - serviceImpl.deleteDataStream((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_STREAM: - serviceImpl.updateDataStream((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_STREAMS: - serviceImpl.listDataStreams((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_STREAM: - serviceImpl.getDataStream((com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getGetUserLinkMethod()) - .addMethod(getBatchGetUserLinksMethod()) - .addMethod(getListUserLinksMethod()) - .addMethod(getAuditUserLinksMethod()) - .addMethod(getCreateUserLinkMethod()) - .addMethod(getBatchCreateUserLinksMethod()) - .addMethod(getUpdateUserLinkMethod()) - .addMethod(getBatchUpdateUserLinksMethod()) - .addMethod(getDeleteUserLinkMethod()) - .addMethod(getBatchDeleteUserLinksMethod()) - .addMethod(getGetWebDataStreamMethod()) - .addMethod(getDeleteWebDataStreamMethod()) - .addMethod(getUpdateWebDataStreamMethod()) - .addMethod(getCreateWebDataStreamMethod()) - .addMethod(getListWebDataStreamsMethod()) - .addMethod(getGetIosAppDataStreamMethod()) - .addMethod(getDeleteIosAppDataStreamMethod()) - .addMethod(getUpdateIosAppDataStreamMethod()) - .addMethod(getListIosAppDataStreamsMethod()) - .addMethod(getGetAndroidAppDataStreamMethod()) - .addMethod(getDeleteAndroidAppDataStreamMethod()) - .addMethod(getUpdateAndroidAppDataStreamMethod()) - .addMethod(getListAndroidAppDataStreamsMethod()) - .addMethod(getCreateFirebaseLinkMethod()) - .addMethod(getDeleteFirebaseLinkMethod()) - .addMethod(getListFirebaseLinksMethod()) - .addMethod(getGetGlobalSiteTagMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getGetGoogleSignalsSettingsMethod()) - .addMethod(getUpdateGoogleSignalsSettingsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .addMethod(getCreateDataStreamMethod()) - .addMethod(getDeleteDataStreamMethod()) - .addMethod(getUpdateDataStreamMethod()) - .addMethod(getListDataStreamsMethod()) - .addMethod(getGetDataStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java deleted file mode 100644 index 6c0aab20..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java deleted file mode 100644 index c979b696..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java +++ /dev/null @@ -1,2141 +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_GetAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; - - 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\032.google/analytics/admin/v1alpha/r" + - "esources.proto\032\034google/api/annotations.p" + - "roto\032\027google/api/client.proto\032\037google/ap" + - "i/field_behavior.proto\032\031google/api/resou" + - "rce.proto\032\033google/protobuf/empty.proto\032 " + - "google/protobuf/field_mask.proto\032\037google" + - "/protobuf/timestamp.proto\"P\n\021GetAccountR" + - "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsa" + - "dmin.googleapis.com/Account\"R\n\023ListAccou" + - "ntsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" + - "ken\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"j\n\024ListA" + - "ccountsResponse\0229\n\010accounts\030\001 \003(\0132\'.goog" + - "le.analytics.admin.v1alpha.Account\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"S\n\024DeleteAccountRequ" + - "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + - "n.googleapis.com/Account\"\213\001\n\024UpdateAccou" + - "ntRequest\022=\n\007account\030\001 \001(\0132\'.google.anal" + - "ytics.admin.v1alpha.AccountB\003\340A\002\0224\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "kB\003\340A\002\"o\n\035ProvisionAccountTicketRequest\022" + - "8\n\007account\030\001 \001(\0132\'.google.analytics.admi" + - "n.v1alpha.Account\022\024\n\014redirect_uri\030\002 \001(\t\"" + - ";\n\036ProvisionAccountTicketResponse\022\031\n\021acc" + - "ount_ticket_id\030\001 \001(\t\"R\n\022GetPropertyReque" + - "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin" + - ".googleapis.com/Property\"i\n\025ListProperti" + - "esRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_de" + - "leted\030\004 \001(\010\"o\n\026ListPropertiesResponse\022<\n" + - "\nproperties\030\001 \003(\0132(.google.analytics.adm" + - "in.v1alpha.Property\022\027\n\017next_page_token\030\002" + - " \001(\t\"\216\001\n\025UpdatePropertyRequest\022?\n\010proper" + - "ty\030\001 \001(\0132(.google.analytics.admin.v1alph" + - "a.PropertyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" + - "oogle.protobuf.FieldMaskB\003\340A\002\"X\n\025CreateP" + - "ropertyRequest\022?\n\010property\030\001 \001(\0132(.googl" + - "e.analytics.admin.v1alpha.PropertyB\003\340A\002\"" + - "U\n\025DeletePropertyRequest\022<\n\004name\030\001 \001(\tB." + - "\340A\002\372A(\n&analyticsadmin.googleapis.com/Pr" + - "operty\"R\n\022GetUserLinkRequest\022<\n\004name\030\001 \001" + - "(\tB.\340A\002\372A(\n&analyticsadmin.googleapis.co" + - "m/UserLink\"\231\001\n\030BatchGetUserLinksRequest\022" + - ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin." + - "googleapis.com/UserLink\022=\n\005names\030\002 \003(\tB." + - "\340A\002\372A(\n&analyticsadmin.googleapis.com/Us" + - "erLink\"Y\n\031BatchGetUserLinksResponse\022<\n\nu" + - "ser_links\030\001 \003(\0132(.google.analytics.admin" + - ".v1alpha.UserLink\"}\n\024ListUserLinksReques" + - "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + - "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025ListUserLink" + - "sResponse\022<\n\nuser_links\030\001 \003(\0132(.google.a" + - "nalytics.admin.v1alpha.UserLink\022\027\n\017next_" + - "page_token\030\002 \001(\t\"~\n\025AuditUserLinksReques" + - "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + - "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026AuditUserLin" + - "ksResponse\022A\n\nuser_links\030\001 \003(\0132-.google." + - "analytics.admin.v1alpha.AuditUserLink\022\027\n" + - "\017next_page_token\030\002 \001(\t\"\267\001\n\025CreateUserLin" + - "kRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt" + - "icsadmin.googleapis.com/UserLink\022\034\n\017noti" + - "fy_new_user\030\002 \001(\010B\003\340A\001\022@\n\tuser_link\030\003 \001(" + - "\0132(.google.analytics.admin.v1alpha.UserL" + - "inkB\003\340A\002\"\312\001\n\033BatchCreateUserLinksRequest" + - "\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin" + - ".googleapis.com/UserLink\022\035\n\020notify_new_u" + - "sers\030\002 \001(\010B\003\340A\001\022L\n\010requests\030\003 \003(\01325.goog" + - "le.analytics.admin.v1alpha.CreateUserLin" + - "kRequestB\003\340A\002\"\\\n\034BatchCreateUserLinksRes" + - "ponse\022<\n\nuser_links\030\001 \003(\0132(.google.analy" + - "tics.admin.v1alpha.UserLink\"Y\n\025UpdateUse" + - "rLinkRequest\022@\n\tuser_link\030\001 \001(\0132(.google" + - ".analytics.admin.v1alpha.UserLinkB\003\340A\002\"\253" + - "\001\n\033BatchUpdateUserLinksRequest\022>\n\006parent" + - "\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleapi" + - "s.com/UserLink\022L\n\010requests\030\002 \003(\01325.googl" + - "e.analytics.admin.v1alpha.UpdateUserLink" + - "RequestB\003\340A\002\"\\\n\034BatchUpdateUserLinksResp" + - "onse\022<\n\nuser_links\030\001 \003(\0132(.google.analyt" + - "ics.admin.v1alpha.UserLink\"U\n\025DeleteUser" + - "LinkRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analy" + - "ticsadmin.googleapis.com/UserLink\"\253\001\n\033Ba" + - "tchDeleteUserLinksRequest\022>\n\006parent\030\001 \001(" + - "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com" + - "/UserLink\022L\n\010requests\030\002 \003(\01325.google.ana" + - "lytics.admin.v1alpha.DeleteUserLinkReque" + - "stB\003\340A\002\"\\\n\027GetWebDataStreamRequest\022A\n\004na" + - "me\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googlea" + - "pis.com/WebDataStream\"_\n\032DeleteWebDataSt" + - "reamRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analy" + - "ticsadmin.googleapis.com/WebDataStream\"\237" + - "\001\n\032UpdateWebDataStreamRequest\022K\n\017web_dat" + - "a_stream\030\001 \001(\0132-.google.analytics.admin." + - "v1alpha.WebDataStreamB\003\340A\002\0224\n\013update_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" + - "\"\256\001\n\032CreateWebDataStreamRequest\022K\n\017web_d" + - "ata_stream\030\001 \001(\0132-.google.analytics.admi" + - "n.v1alpha.WebDataStreamB\003\340A\002\022C\n\006parent\030\002" + - " \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis." + - "com/WebDataStream\"\207\001\n\031ListWebDataStreams" + - "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyti" + - "csadmin.googleapis.com/WebDataStream\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n\032L" + - "istWebDataStreamsResponse\022G\n\020web_data_st" + - "reams\030\001 \003(\0132-.google.analytics.admin.v1a" + - "lpha.WebDataStream\022\027\n\017next_page_token\030\002 " + - "\001(\t\"b\n\032GetIosAppDataStreamRequest\022D\n\004nam" + - "e\030\001 \001(\tB6\340A\002\372A0\n.analyticsadmin.googleap" + - "is.com/IosAppDataStream\"e\n\035DeleteIosAppD" + - "ataStreamRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n." + - "analyticsadmin.googleapis.com/IosAppData" + - "Stream\"\251\001\n\035UpdateIosAppDataStreamRequest" + - "\022R\n\023ios_app_data_stream\030\001 \001(\01320.google.a" + - "nalytics.admin.v1alpha.IosAppDataStreamB" + - "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMaskB\003\340A\002\"\215\001\n\034ListIosAppDataStr" + - "eamsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.ana" + - "lyticsadmin.googleapis.com/IosAppDataStr" + - "eam\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + - "(\t\"\210\001\n\035ListIosAppDataStreamsResponse\022N\n\024" + - "ios_app_data_streams\030\001 \003(\01320.google.anal" + - "ytics.admin.v1alpha.IosAppDataStream\022\027\n\017" + - "next_page_token\030\002 \001(\t\"j\n\036GetAndroidAppDa" + - "taStreamRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2a" + - "nalyticsadmin.googleapis.com/AndroidAppD" + - "ataStream\"m\n!DeleteAndroidAppDataStreamR" + - "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2analyticsa" + - "dmin.googleapis.com/AndroidAppDataStream" + - "\"\265\001\n!UpdateAndroidAppDataStreamRequest\022Z" + - "\n\027android_app_data_stream\030\001 \001(\01324.google" + - ".analytics.admin.v1alpha.AndroidAppDataS" + - "treamB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMaskB\003\340A\002\"\225\001\n ListAndroid" + - "AppDataStreamsRequest\022J\n\006parent\030\001 \001(\tB:\340" + - "A\002\372A4\0222analyticsadmin.googleapis.com/And" + - "roidAppDataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + - "page_token\030\003 \001(\t\"\224\001\n!ListAndroidAppDataS" + - "treamsResponse\022V\n\030android_app_data_strea" + - "ms\030\001 \003(\01324.google.analytics.admin.v1alph" + - "a.AndroidAppDataStream\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"\251\001\n\031CreateFirebaseLinkRequest\022B\n" + - "\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.go" + - "ogleapis.com/FirebaseLink\022H\n\rfirebase_li" + - "nk\030\002 \001(\0132,.google.analytics.admin.v1alph" + - "a.FirebaseLinkB\003\340A\002\"]\n\031DeleteFirebaseLin" + - "kRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analytic" + - "sadmin.googleapis.com/FirebaseLink\"\205\001\n\030L" + - "istFirebaseLinksRequest\022B\n\006parent\030\001 \001(\tB" + - "2\340A\002\372A,\022*analyticsadmin.googleapis.com/F" + - "irebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"z\n\031ListFirebaseLinksResponse\022" + - "D\n\016firebase_links\030\001 \003(\0132,.google.analyti" + - "cs.admin.v1alpha.FirebaseLink\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\\\n\027GetGlobalSiteTagReques" + - "t\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin." + - "googleapis.com/GlobalSiteTag\"\256\001\n\032CreateG" + - "oogleAdsLinkRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" + - "\372A-\022+analyticsadmin.googleapis.com/Googl" + - "eAdsLink\022K\n\017google_ads_link\030\002 \001(\0132-.goog" + - "le.analytics.admin.v1alpha.GoogleAdsLink" + - "B\003\340A\002\"\232\001\n\032UpdateGoogleAdsLinkRequest\022F\n\017" + - "google_ads_link\030\001 \001(\0132-.google.analytics" + - ".admin.v1alpha.GoogleAdsLink\0224\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + - "A\002\"_\n\032DeleteGoogleAdsLinkRequest\022A\n\004name" + - "\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googleapi" + - "s.com/GoogleAdsLink\"\207\001\n\031ListGoogleAdsLin" + - "ksRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analy" + - "ticsadmin.googleapis.com/GoogleAdsLink\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n" + - "\032ListGoogleAdsLinksResponse\022G\n\020google_ad" + - "s_links\030\001 \003(\0132-.google.analytics.admin.v" + - "1alpha.GoogleAdsLink\022\027\n\017next_page_token\030" + - "\002 \001(\t\"h\n\035GetDataSharingSettingsRequest\022G" + - "\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyticsadmin.goo" + - "gleapis.com/DataSharingSettings\"D\n\033ListA" + - "ccountSummariesRequest\022\021\n\tpage_size\030\001 \001(" + - "\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAccountSum" + - "mariesResponse\022I\n\021account_summaries\030\001 \003(" + - "\0132..google.analytics.admin.v1alpha.Accou" + - "ntSummary\022\027\n\017next_page_token\030\002 \001(\t\"\206\001\n$A" + - "cknowledgeUserDataCollectionRequest\022@\n\010p" + - "roperty\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.go" + - "ogleapis.com/Property\022\034\n\017acknowledgement" + - "\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUserDataCollec" + - "tionResponse\"\203\004\n SearchChangeHistoryEven" + - "tsRequest\022>\n\007account\030\001 \001(\tB-\340A\002\372A\'\n%anal" + - "yticsadmin.googleapis.com/Account\022@\n\010pro" + - "perty\030\002 \001(\tB.\340A\001\372A(\n&analyticsadmin.goog" + - "leapis.com/Property\022U\n\rresource_type\030\003 \003" + - "(\01629.google.analytics.admin.v1alpha.Chan" + - "geHistoryResourceTypeB\003\340A\001\022?\n\006action\030\004 \003" + - "(\0162*.google.analytics.admin.v1alpha.Acti" + - "onTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\tB\003\340A\001\022=\n" + - "\024earliest_change_time\030\006 \001(\0132\032.google.pro" + - "tobuf.TimestampB\003\340A\001\022;\n\022latest_change_ti" + - "me\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npage_token\030" + - "\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeHistoryEvents" + - "Response\022Q\n\025change_history_events\030\001 \003(\0132" + - "2.google.analytics.admin.v1alpha.ChangeH" + - "istoryEvent\022\027\n\017next_page_token\030\002 \001(\t\"t\n#" + - "GetMeasurementProtocolSecretRequest\022M\n\004n" + - "ame\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.google" + - "apis.com/MeasurementProtocolSecret\"\336\001\n&C" + - "reateMeasurementProtocolSecretRequest\022O\n" + - "\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsadmin.go" + - "ogleapis.com/MeasurementProtocolSecret\022c" + - "\n\033measurement_protocol_secret\030\002 \001(\01329.go" + - "ogle.analytics.admin.v1alpha.Measurement" + - "ProtocolSecretB\003\340A\002\"w\n&DeleteMeasurement" + - "ProtocolSecretRequest\022M\n\004name\030\001 \001(\tB?\340A\002" + - "\372A9\n7analyticsadmin.googleapis.com/Measu" + - "rementProtocolSecret\"\276\001\n&UpdateMeasureme" + - "ntProtocolSecretRequest\022c\n\033measurement_p" + - "rotocol_secret\030\001 \001(\01329.google.analytics." + - "admin.v1alpha.MeasurementProtocolSecretB" + - "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMask\"\237\001\n%ListMeasurementProtoco" + - "lSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\022" + - "7analyticsadmin.googleapis.com/Measureme" + - "ntProtocolSecret\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"\242\001\n&ListMeasurementProto" + - "colSecretsResponse\022_\n\034measurement_protoc" + - "ol_secrets\030\001 \003(\01329.google.analytics.admi" + - "n.v1alpha.MeasurementProtocolSecret\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"l\n\037GetGoogleSignals" + - "SettingsRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3a" + - "nalyticsadmin.googleapis.com/GoogleSigna" + - "lsSettings\"\267\001\n\"UpdateGoogleSignalsSettin" + - "gsRequest\022[\n\027google_signals_settings\030\001 \001" + - "(\01325.google.analytics.admin.v1alpha.Goog" + - "leSignalsSettingsB\003\340A\002\0224\n\013update_mask\030\002 " + - "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\265\001\n" + - "\034CreateConversionEventRequest\022N\n\020convers" + - "ion_event\030\001 \001(\0132/.google.analytics.admin" + - ".v1alpha.ConversionEventB\003\340A\002\022E\n\006parent\030" + - "\002 \001(\tB5\340A\002\372A/\022-analyticsadmin.googleapis" + - ".com/ConversionEvent\"`\n\031GetConversionEve" + - "ntRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyti" + - "csadmin.googleapis.com/ConversionEvent\"c" + - "\n\034DeleteConversionEventRequest\022C\n\004name\030\001" + - " \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis." + - "com/ConversionEvent\"\213\001\n\033ListConversionEv" + - "entsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-ana" + - "lyticsadmin.googleapis.com/ConversionEve" + - "nt\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + - "\t\"\203\001\n\034ListConversionEventsResponse\022J\n\021co" + - "nversion_events\030\001 \003(\0132/.google.analytics" + - ".admin.v1alpha.ConversionEvent\022\027\n\017next_p" + - "age_token\030\002 \001(\t\"|\n\'GetDisplayVideo360Adv" + - "ertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=" + - "\n;analyticsadmin.googleapis.com/DisplayV" + - "ideo360AdvertiserLink\"\247\001\n)ListDisplayVid" + - "eo360AdvertiserLinksRequest\022S\n\006parent\030\001 " + - "\001(\tBC\340A\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\"\360\001\n*CreateDisplayVideo360Adve" + - "rtiserLinkRequest\022S\n\006parent\030\001 \001(\tBC\340A\002\372A" + - "=\022;analyticsadmin.googleapis.com/Display" + - "Video360AdvertiserLink\022m\n!display_video_" + - "360_advertiser_link\030\002 \001(\0132=.google.analy" + - "tics.admin.v1alpha.DisplayVideo360Advert" + - "iserLinkB\003\340A\002\"\177\n*DeleteDisplayVideo360Ad" + - "vertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A" + - "=\n;analyticsadmin.googleapis.com/Display" + - "Video360AdvertiserLink\"\314\001\n*UpdateDisplay" + - "Video360AdvertiserLinkRequest\022h\n!display" + - "_video_360_advertiser_link\030\001 \001(\0132=.googl" + - "e.analytics.admin.v1alpha.DisplayVideo36" + - "0AdvertiserLink\0224\n\013update_mask\030\002 \001(\0132\032.g" + - "oogle.protobuf.FieldMaskB\003\340A\002\"\214\001\n/GetDis" + - "playVideo360AdvertiserLinkProposalReques" + - "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + - "googleapis.com/DisplayVideo360Advertiser" + - "LinkProposal\"\267\001\n1ListDisplayVideo360Adve" + - "rtiserLinkProposalsRequest\022[\n\006parent\030\001 \001" + - "(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis.co" + - "m/DisplayVideo360AdvertiserLinkProposal\022" + - "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\311" + - "\001\n2ListDisplayVideo360AdvertiserLinkProp" + - "osalsResponse\022z\n+display_video_360_adver" + - "tiser_link_proposals\030\001 \003(\0132E.google.anal" + - "ytics.admin.v1alpha.DisplayVideo360Adver" + - "tiserLinkProposal\022\027\n\017next_page_token\030\002 \001" + - "(\t\"\221\002\n2CreateDisplayVideo360AdvertiserLi" + - "nkProposalRequest\022[\n\006parent\030\001 \001(\tBK\340A\002\372A" + - "E\022Canalyticsadmin.googleapis.com/Display" + - "Video360AdvertiserLinkProposal\022~\n*displa" + - "y_video_360_advertiser_link_proposal\030\002 \001" + - "(\0132E.google.analytics.admin.v1alpha.Disp" + - "layVideo360AdvertiserLinkProposalB\003\340A\002\"\217" + - "\001\n2DeleteDisplayVideo360AdvertiserLinkPr" + - "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + - "lyticsadmin.googleapis.com/DisplayVideo3" + - "60AdvertiserLinkProposal\"\220\001\n3ApproveDisp" + - "layVideo360AdvertiserLinkProposalRequest" + - "\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin.g" + - "oogleapis.com/DisplayVideo360AdvertiserL" + - "inkProposal\"\240\001\n4ApproveDisplayVideo360Ad" + - "vertiserLinkProposalResponse\022h\n!display_" + - "video_360_advertiser_link\030\001 \001(\0132=.google" + - ".analytics.admin.v1alpha.DisplayVideo360" + - "AdvertiserLink\"\217\001\n2CancelDisplayVideo360" + - "AdvertiserLinkProposalRequest\022Y\n\004name\030\001 " + - "\001(\tBK\340A\002\372AE\nCanalyticsadmin.googleapis.c" + - "om/DisplayVideo360AdvertiserLinkProposal" + - "\"\265\001\n\034CreateCustomDimensionRequest\022E\n\006par" + - "ent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.google" + - "apis.com/CustomDimension\022N\n\020custom_dimen" + - "sion\030\002 \001(\0132/.google.analytics.admin.v1al" + - "pha.CustomDimensionB\003\340A\002\"\237\001\n\034UpdateCusto" + - "mDimensionRequest\022I\n\020custom_dimension\030\001 " + - "\001(\0132/.google.analytics.admin.v1alpha.Cus" + - "tomDimension\0224\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCusto" + - "mDimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372" + - "A/\022-analyticsadmin.googleapis.com/Custom" + - "Dimension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\"\203\001\n\034ListCustomDimensionsRespons" + - "e\022J\n\021custom_dimensions\030\001 \003(\0132/.google.an" + - "alytics.admin.v1alpha.CustomDimension\022\027\n" + - "\017next_page_token\030\002 \001(\t\"d\n\035ArchiveCustomD" + - "imensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-a" + - "nalyticsadmin.googleapis.com/CustomDimen" + - "sion\"`\n\031GetCustomDimensionRequest\022C\n\004nam" + - "e\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleap" + - "is.com/CustomDimension\"\251\001\n\031CreateCustomM" + - "etricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + - "alyticsadmin.googleapis.com/CustomMetric" + - "\022H\n\rcustom_metric\030\002 \001(\0132,.google.analyti" + - "cs.admin.v1alpha.CustomMetricB\003\340A\002\"\226\001\n\031U" + - "pdateCustomMetricRequest\022C\n\rcustom_metri" + - "c\030\001 \001(\0132,.google.analytics.admin.v1alpha" + - ".CustomMetric\0224\n\013update_mask\030\002 \001(\0132\032.goo" + - "gle.protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCust" + - "omMetricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A," + - "\022*analyticsadmin.googleapis.com/CustomMe" + - "tric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + - "\001(\t\"z\n\031ListCustomMetricsResponse\022D\n\016cust" + - "om_metrics\030\001 \003(\0132,.google.analytics.admi" + - "n.v1alpha.CustomMetric\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"^\n\032ArchiveCustomMetricRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + - "leapis.com/CustomMetric\"Z\n\026GetCustomMetr" + - "icRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyti" + - "csadmin.googleapis.com/CustomMetric\"l\n\037G" + - "etDataRetentionSettingsRequest\022I\n\004name\030\001" + - " \001(\tB;\340A\002\372A5\n3analyticsadmin.googleapis." + - "com/DataRetentionSettings\"\267\001\n\"UpdateData" + - "RetentionSettingsRequest\022[\n\027data_retenti" + - "on_settings\030\001 \001(\01325.google.analytics.adm" + - "in.v1alpha.DataRetentionSettingsB\003\340A\002\0224\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMaskB\003\340A\002\"\241\001\n\027CreateDataStreamRequest\022" + - "@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin." + - "googleapis.com/DataStream\022D\n\013data_stream" + - "\030\002 \001(\0132*.google.analytics.admin.v1alpha." + - "DataStreamB\003\340A\002\"Y\n\027DeleteDataStreamReque" + - "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin" + - ".googleapis.com/DataStream\"\220\001\n\027UpdateDat" + - "aStreamRequest\022?\n\013data_stream\030\001 \001(\0132*.go" + - "ogle.analytics.admin.v1alpha.DataStream\022" + - "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\003\340A\002\"\201\001\n\026ListDataStreamsRequest" + - "\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin" + - ".googleapis.com/DataStream\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListDataStr" + - "eamsResponse\022@\n\014data_streams\030\001 \003(\0132*.goo" + - "gle.analytics.admin.v1alpha.DataStream\022\027" + - "\n\017next_page_token\030\002 \001(\t\"V\n\024GetDataStream" + - "Request\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analytics" + - "admin.googleapis.com/DataStream2\363\236\001\n\025Ana" + - "lyticsAdminService\022\223\001\n\nGetAccount\0221.goog" + - "le.analytics.admin.v1alpha.GetAccountReq" + - "uest\032\'.google.analytics.admin.v1alpha.Ac" + - "count\")\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*" + - "}\332A\004name\022\224\001\n\014ListAccounts\0223.google.analy" + - "tics.admin.v1alpha.ListAccountsRequest\0324" + - ".google.analytics.admin.v1alpha.ListAcco" + - "untsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022" + - "\210\001\n\rDeleteAccount\0224.google.analytics.adm" + - "in.v1alpha.DeleteAccountRequest\032\026.google" + - ".protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha/{name=" + - "accounts/*}\332A\004name\022\271\001\n\rUpdateAccount\0224.g" + - "oogle.analytics.admin.v1alpha.UpdateAcco" + - "untRequest\032\'.google.analytics.admin.v1al" + - "pha.Account\"I\202\323\344\223\002-2\"/v1alpha/{account.n" + - "ame=accounts/*}:\007account\332A\023account,updat" + - "e_mask\022\314\001\n\026ProvisionAccountTicket\022=.goog" + - "le.analytics.admin.v1alpha.ProvisionAcco" + - "untTicketRequest\032>.google.analytics.admi", - "n.v1alpha.ProvisionAccountTicketResponse" + - "\"3\202\323\344\223\002-\"(/v1alpha/accounts:provisionAcc" + - "ountTicket:\001*\022\264\001\n\024ListAccountSummaries\022;" + - ".google.analytics.admin.v1alpha.ListAcco" + - "untSummariesRequest\032<.google.analytics.a" + - "dmin.v1alpha.ListAccountSummariesRespons" + - "e\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummaries\022\230\001\n" + - "\013GetProperty\0222.google.analytics.admin.v1" + - "alpha.GetPropertyRequest\032(.google.analyt" + - "ics.admin.v1alpha.Property\"+\202\323\344\223\002\036\022\034/v1a" + - "lpha/{name=properties/*}\332A\004name\022\234\001\n\016List" + - "Properties\0225.google.analytics.admin.v1al" + - "pha.ListPropertiesRequest\0326.google.analy" + - "tics.admin.v1alpha.ListPropertiesRespons" + - "e\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001\n\016Creat" + - "eProperty\0225.google.analytics.admin.v1alp" + - "ha.CreatePropertyRequest\032(.google.analyt" + - "ics.admin.v1alpha.Property\"0\202\323\344\223\002\037\"\023/v1a" + - "lpha/properties:\010property\332A\010property\022\236\001\n" + - "\016DeleteProperty\0225.google.analytics.admin" + - ".v1alpha.DeletePropertyRequest\032(.google." + - "analytics.admin.v1alpha.Property\"+\202\323\344\223\002\036" + - "*\034/v1alpha/{name=properties/*}\332A\004name\022\301\001" + - "\n\016UpdateProperty\0225.google.analytics.admi" + - "n.v1alpha.UpdatePropertyRequest\032(.google" + - ".analytics.admin.v1alpha.Property\"N\202\323\344\223\002" + - "12%/v1alpha/{property.name=properties/*}" + - ":\010property\332A\024property,update_mask\022\316\001\n\013Ge" + - "tUserLink\0222.google.analytics.admin.v1alp" + - "ha.GetUserLinkRequest\032(.google.analytics" + - ".admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&/v1alph" + - "a/{name=accounts/*/userLinks/*}Z*\022(/v1al" + - "pha/{name=properties/*/userLinks/*}\332A\004na" + - "me\022\366\001\n\021BatchGetUserLinks\0228.google.analyt" + - "ics.admin.v1alpha.BatchGetUserLinksReque" + - "st\0329.google.analytics.admin.v1alpha.Batc" + - "hGetUserLinksResponse\"l\202\323\344\223\002f\022//v1alpha/" + - "{parent=accounts/*}/userLinks:batchGetZ3" + - "\0221/v1alpha/{parent=properties/*}/userLin" + - "ks:batchGet\022\341\001\n\rListUserLinks\0224.google.a" + - "nalytics.admin.v1alpha.ListUserLinksRequ" + - "est\0325.google.analytics.admin.v1alpha.Lis" + - "tUserLinksResponse\"c\202\323\344\223\002T\022&/v1alpha/{pa" + - "rent=accounts/*}/userLinksZ*\022(/v1alpha/{" + - "parent=properties/*}/userLinks\332A\006parent\022" + - "\355\001\n\016AuditUserLinks\0225.google.analytics.ad" + - "min.v1alpha.AuditUserLinksRequest\0326.goog" + - "le.analytics.admin.v1alpha.AuditUserLink" + - "sResponse\"l\202\323\344\223\002f\",/v1alpha/{parent=acco" + - "unts/*}/userLinks:audit:\001*Z3\"./v1alpha/{" + - "parent=properties/*}/userLinks:audit:\001*\022" + - "\367\001\n\016CreateUserLink\0225.google.analytics.ad" + - "min.v1alpha.CreateUserLinkRequest\032(.goog" + - "le.analytics.admin.v1alpha.UserLink\"\203\001\202\323" + - "\344\223\002j\"&/v1alpha/{parent=accounts/*}/userL" + - "inks:\tuser_linkZ5\"(/v1alpha/{parent=prop" + - "erties/*}/userLinks:\tuser_link\332A\020parent," + - "user_link\022\213\002\n\024BatchCreateUserLinks\022;.goo" + - "gle.analytics.admin.v1alpha.BatchCreateU" + - "serLinksRequest\032<.google.analytics.admin" + - ".v1alpha.BatchCreateUserLinksResponse\"x\202" + - "\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/user" + - "Links:batchCreate:\001*Z9\"4/v1alpha/{parent" + - "=properties/*}/userLinks:batchCreate:\001*\022" + - "\204\002\n\016UpdateUserLink\0225.google.analytics.ad" + - "min.v1alpha.UpdateUserLinkRequest\032(.goog" + - "le.analytics.admin.v1alpha.UserLink\"\220\001\202\323" + - "\344\223\002~20/v1alpha/{user_link.name=accounts/" + - "*/userLinks/*}:\tuser_linkZ?22/v1alpha/{u" + - "ser_link.name=properties/*/userLinks/*}:" + - "\tuser_link\332A\tuser_link\022\213\002\n\024BatchUpdateUs" + - "erLinks\022;.google.analytics.admin.v1alpha" + - ".BatchUpdateUserLinksRequest\032<.google.an" + - "alytics.admin.v1alpha.BatchUpdateUserLin" + - "ksResponse\"x\202\323\344\223\002r\"2/v1alpha/{parent=acc" + - "ounts/*}/userLinks:batchUpdate:\001*Z9\"4/v1" + - "alpha/{parent=properties/*}/userLinks:ba" + - "tchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225.google" + - ".analytics.admin.v1alpha.DeleteUserLinkR" + - "equest\032\026.google.protobuf.Empty\"a\202\323\344\223\002T*&" + - "/v1alpha/{name=accounts/*/userLinks/*}Z*" + - "*(/v1alpha/{name=properties/*/userLinks/" + - "*}\332A\004name\022\345\001\n\024BatchDeleteUserLinks\022;.goo" + - "gle.analytics.admin.v1alpha.BatchDeleteU" + - "serLinksRequest\032\026.google.protobuf.Empty\"" + - "x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/us" + - "erLinks:batchDelete:\001*Z9\"4/v1alpha/{pare" + - "nt=properties/*}/userLinks:batchDelete:\001" + - "*\022\270\001\n\020GetWebDataStream\0227.google.analytic" + - "s.admin.v1alpha.GetWebDataStreamRequest\032" + - "-.google.analytics.admin.v1alpha.WebData" + - "Stream\"<\202\323\344\223\002/\022-/v1alpha/{name=propertie" + - "s/*/webDataStreams/*}\332A\004name\022\247\001\n\023DeleteW" + - "ebDataStream\022:.google.analytics.admin.v1" + - "alpha.DeleteWebDataStreamRequest\032\026.googl" + - "e.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{name" + - "=properties/*/webDataStreams/*}\332A\004name\022\366" + - "\001\n\023UpdateWebDataStream\022:.google.analytic" + - "s.admin.v1alpha.UpdateWebDataStreamReque" + - "st\032-.google.analytics.admin.v1alpha.WebD" + - "ataStream\"t\202\323\344\223\002P2=/v1alpha/{web_data_st" + - "ream.name=properties/*/webDataStreams/*}" + - ":\017web_data_stream\332A\033web_data_stream,upda" + - "te_mask\022\341\001\n\023CreateWebDataStream\022:.google" + - ".analytics.admin.v1alpha.CreateWebDataSt" + - "reamRequest\032-.google.analytics.admin.v1a" + - "lpha.WebDataStream\"_\202\323\344\223\002@\"-/v1alpha/{pa" + - "rent=properties/*}/webDataStreams:\017web_d" + - "ata_stream\332A\026parent,web_data_stream\022\313\001\n\022" + - "ListWebDataStreams\0229.google.analytics.ad" + - "min.v1alpha.ListWebDataStreamsRequest\032:." + - "google.analytics.admin.v1alpha.ListWebDa" + - "taStreamsResponse\">\202\323\344\223\002/\022-/v1alpha/{par" + - "ent=properties/*}/webDataStreams\332A\006paren" + - "t\022\304\001\n\023GetIosAppDataStream\022:.google.analy" + - "tics.admin.v1alpha.GetIosAppDataStreamRe" + - "quest\0320.google.analytics.admin.v1alpha.I" + - "osAppDataStream\"?\202\323\344\223\0022\0220/v1alpha/{name=" + - "properties/*/iosAppDataStreams/*}\332A\004name" + - "\022\260\001\n\026DeleteIosAppDataStream\022=.google.ana" + - "lytics.admin.v1alpha.DeleteIosAppDataStr" + - "eamRequest\032\026.google.protobuf.Empty\"?\202\323\344\223" + - "\0022*0/v1alpha/{name=properties/*/iosAppDa" + - "taStreams/*}\332A\004name\022\217\002\n\026UpdateIosAppData" + - "Stream\022=.google.analytics.admin.v1alpha." + - "UpdateIosAppDataStreamRequest\0320.google.a" + - "nalytics.admin.v1alpha.IosAppDataStream\"" + - "\203\001\202\323\344\223\002[2D/v1alpha/{ios_app_data_stream." + - "name=properties/*/iosAppDataStreams/*}:\023" + - "ios_app_data_stream\332A\037ios_app_data_strea" + - "m,update_mask\022\327\001\n\025ListIosAppDataStreams\022" + - "<.google.analytics.admin.v1alpha.ListIos" + - "AppDataStreamsRequest\032=.google.analytics" + - ".admin.v1alpha.ListIosAppDataStreamsResp" + - "onse\"A\202\323\344\223\0022\0220/v1alpha/{parent=propertie" + - "s/*}/iosAppDataStreams\332A\006parent\022\324\001\n\027GetA" + - "ndroidAppDataStream\022>.google.analytics.a" + - "dmin.v1alpha.GetAndroidAppDataStreamRequ" + - "est\0324.google.analytics.admin.v1alpha.And" + - "roidAppDataStream\"C\202\323\344\223\0026\0224/v1alpha/{nam" + - "e=properties/*/androidAppDataStreams/*}\332" + - "A\004name\022\274\001\n\032DeleteAndroidAppDataStream\022A." + - "google.analytics.admin.v1alpha.DeleteAnd" + - "roidAppDataStreamRequest\032\026.google.protob" + - "uf.Empty\"C\202\323\344\223\0026*4/v1alpha/{name=propert" + - "ies/*/androidAppDataStreams/*}\332A\004name\022\253\002" + - "\n\032UpdateAndroidAppDataStream\022A.google.an" + - "alytics.admin.v1alpha.UpdateAndroidAppDa" + - "taStreamRequest\0324.google.analytics.admin" + - ".v1alpha.AndroidAppDataStream\"\223\001\202\323\344\223\002g2L" + - "/v1alpha/{android_app_data_stream.name=p" + - "roperties/*/androidAppDataStreams/*}:\027an" + - "droid_app_data_stream\332A#android_app_data" + - "_stream,update_mask\022\347\001\n\031ListAndroidAppDa" + - "taStreams\022@.google.analytics.admin.v1alp" + - "ha.ListAndroidAppDataStreamsRequest\032A.go" + - "ogle.analytics.admin.v1alpha.ListAndroid" + - "AppDataStreamsResponse\"E\202\323\344\223\0026\0224/v1alpha" + - "/{parent=properties/*}/androidAppDataStr" + - "eams\332A\006parent\022\331\001\n\022CreateFirebaseLink\0229.g" + - "oogle.analytics.admin.v1alpha.CreateFire" + - "baseLinkRequest\032,.google.analytics.admin" + - ".v1alpha.FirebaseLink\"Z\202\323\344\223\002=\",/v1alpha/" + - "{parent=properties/*}/firebaseLinks:\rfir" + - "ebase_link\332A\024parent,firebase_link\022\244\001\n\022De" + - "leteFirebaseLink\0229.google.analytics.admi" + - "n.v1alpha.DeleteFirebaseLinkRequest\032\026.go" + - "ogle.protobuf.Empty\";\202\323\344\223\002.*,/v1alpha/{n" + - "ame=properties/*/firebaseLinks/*}\332A\004name" + - "\022\307\001\n\021ListFirebaseLinks\0228.google.analytic" + - "s.admin.v1alpha.ListFirebaseLinksRequest" + - "\0329.google.analytics.admin.v1alpha.ListFi" + - "rebaseLinksResponse\"=\202\323\344\223\002.\022,/v1alpha/{p" + - "arent=properties/*}/firebaseLinks\332A\006pare" + - "nt\022\306\001\n\020GetGlobalSiteTag\0227.google.analyti" + - "cs.admin.v1alpha.GetGlobalSiteTagRequest" + - "\032-.google.analytics.admin.v1alpha.Global" + - "SiteTag\"J\202\323\344\223\002=\022;/v1alpha/{name=properti" + - "es/*/webDataStreams/*/globalSiteTag}\332A\004n" + - "ame\022\341\001\n\023CreateGoogleAdsLink\022:.google.ana" + - "lytics.admin.v1alpha.CreateGoogleAdsLink" + - "Request\032-.google.analytics.admin.v1alpha" + - ".GoogleAdsLink\"_\202\323\344\223\002@\"-/v1alpha/{parent" + - "=properties/*}/googleAdsLinks:\017google_ad" + - "s_link\332A\026parent,google_ads_link\022\366\001\n\023Upda" + - "teGoogleAdsLink\022:.google.analytics.admin" + - ".v1alpha.UpdateGoogleAdsLinkRequest\032-.go" + - "ogle.analytics.admin.v1alpha.GoogleAdsLi" + - "nk\"t\202\323\344\223\002P2=/v1alpha/{google_ads_link.na" + - "me=properties/*/googleAdsLinks/*}:\017googl" + - "e_ads_link\332A\033google_ads_link,update_mask" + - "\022\247\001\n\023DeleteGoogleAdsLink\022:.google.analyt" + - "ics.admin.v1alpha.DeleteGoogleAdsLinkReq" + - "uest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/*-/v" + - "1alpha/{name=properties/*/googleAdsLinks" + - "/*}\332A\004name\022\313\001\n\022ListGoogleAdsLinks\0229.goog" + - "le.analytics.admin.v1alpha.ListGoogleAds" + - "LinksRequest\032:.google.analytics.admin.v1" + - "alpha.ListGoogleAdsLinksResponse\">\202\323\344\223\002/" + - "\022-/v1alpha/{parent=properties/*}/googleA" + - "dsLinks\332A\006parent\022\313\001\n\026GetDataSharingSetti" + - "ngs\022=.google.analytics.admin.v1alpha.Get" + - "DataSharingSettingsRequest\0323.google.anal" + - "ytics.admin.v1alpha.DataSharingSettings\"" + - "=\202\323\344\223\0020\022./v1alpha/{name=accounts/*/dataS" + - "haringSettings}\332A\004name\022\241\003\n\034GetMeasuremen" + - "tProtocolSecret\022C.google.analytics.admin" + - ".v1alpha.GetMeasurementProtocolSecretReq" + - "uest\0329.google.analytics.admin.v1alpha.Me" + - "asurementProtocolSecret\"\200\002\202\323\344\223\002\362\001\022J/v1al" + - "pha/{name=properties/*/webDataStreams/*/" + - "measurementProtocolSecrets/*}ZO\022M/v1alph" + - "a/{name=properties/*/iosAppDataStreams/*" + - "/measurementProtocolSecrets/*}ZS\022Q/v1alp" + - "ha/{name=properties/*/androidAppDataStre" + - "ams/*/measurementProtocolSecrets/*}\332A\004na" + - "me\022\264\003\n\036ListMeasurementProtocolSecrets\022E." + - "google.analytics.admin.v1alpha.ListMeasu" + - "rementProtocolSecretsRequest\032F.google.an" + - "alytics.admin.v1alpha.ListMeasurementPro" + - "tocolSecretsResponse\"\202\002\202\323\344\223\002\362\001\022J/v1alpha" + - "/{parent=properties/*/webDataStreams/*}/" + - "measurementProtocolSecretsZO\022M/v1alpha/{" + - "parent=properties/*/iosAppDataStreams/*}" + - "/measurementProtocolSecretsZS\022Q/v1alpha/" + - "{parent=properties/*/androidAppDataStrea" + - "ms/*}/measurementProtocolSecrets\332A\006paren" + - "t\022\234\004\n\037CreateMeasurementProtocolSecret\022F." + - "google.analytics.admin.v1alpha.CreateMea" + - "surementProtocolSecretRequest\0329.google.a" + - "nalytics.admin.v1alpha.MeasurementProtoc" + - "olSecret\"\365\002\202\323\344\223\002\311\002\"J/v1alpha/{parent=pro" + - "perties/*/webDataStreams/*}/measurementP" + - "rotocolSecrets:\033measurement_protocol_sec" + - "retZl\"M/v1alpha/{parent=properties/*/ios" + - "AppDataStreams/*}/measurementProtocolSec" + - "rets:\033measurement_protocol_secretZp\"Q/v1" + - "alpha/{parent=properties/*/androidAppDat" + - "aStreams/*}/measurementProtocolSecrets:\033" + - "measurement_protocol_secret\332A\"parent,mea" + - "surement_protocol_secret\022\204\003\n\037DeleteMeasu" + - "rementProtocolSecret\022F.google.analytics." + - "admin.v1alpha.DeleteMeasurementProtocolS" + - "ecretRequest\032\026.google.protobuf.Empty\"\200\002\202" + - "\323\344\223\002\362\001*J/v1alpha/{name=properties/*/webD" + - "ataStreams/*/measurementProtocolSecrets/" + - "*}ZO*M/v1alpha/{name=properties/*/iosApp" + - "DataStreams/*/measurementProtocolSecrets" + - "/*}ZS*Q/v1alpha/{name=properties/*/andro" + - "idAppDataStreams/*/measurementProtocolSe" + - "crets/*}\332A\004name\022\367\004\n\037UpdateMeasurementPro" + - "tocolSecret\022F.google.analytics.admin.v1a" + - "lpha.UpdateMeasurementProtocolSecretRequ" + - "est\0329.google.analytics.admin.v1alpha.Mea" + - "surementProtocolSecret\"\320\003\202\323\344\223\002\237\0032f/v1alp" + - "ha/{measurement_protocol_secret.name=pro" + - "perties/*/webDataStreams/*/measurementPr" + - "otocolSecrets/*}:\033measurement_protocol_s" + - "ecretZ\210\0012i/v1alpha/{measurement_protocol" + - "_secret.name=properties/*/iosAppDataStre" + - "ams/*/measurementProtocolSecrets/*}:\033mea" + - "surement_protocol_secretZ\214\0012m/v1alpha/{m" + - "easurement_protocol_secret.name=properti" + - "es/*/androidAppDataStreams/*/measurement" + - "ProtocolSecrets/*}:\033measurement_protocol" + - "_secret\332A\'measurement_protocol_secret,up" + - "date_mask\022\367\001\n\035AcknowledgeUserDataCollect" + - "ion\022D.google.analytics.admin.v1alpha.Ack" + - "nowledgeUserDataCollectionRequest\032E.goog" + - "le.analytics.admin.v1alpha.AcknowledgeUs" + - "erDataCollectionResponse\"I\202\323\344\223\002C\">/v1alp" + - "ha/{property=properties/*}:acknowledgeUs" + - "erDataCollection:\001*\022\344\001\n\031SearchChangeHist" + - "oryEvents\022@.google.analytics.admin.v1alp" + - "ha.SearchChangeHistoryEventsRequest\032A.go" + - "ogle.analytics.admin.v1alpha.SearchChang" + - "eHistoryEventsResponse\"B\202\323\344\223\002<\"7/v1alpha" + - "/{account=accounts/*}:searchChangeHistor" + - "yEvents:\001*\022\325\001\n\030GetGoogleSignalsSettings\022" + - "?.google.analytics.admin.v1alpha.GetGoog" + - "leSignalsSettingsRequest\0325.google.analyt" + - "ics.admin.v1alpha.GoogleSignalsSettings\"" + - "A\202\323\344\223\0024\0222/v1alpha/{name=properties/*/goo" + - "gleSignalsSettings}\332A\004name\022\254\002\n\033UpdateGoo" + - "gleSignalsSettings\022B.google.analytics.ad" + - "min.v1alpha.UpdateGoogleSignalsSettingsR" + - "equest\0325.google.analytics.admin.v1alpha." + - "GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v1alpha" + - "/{google_signals_settings.name=propertie" + - "s/*/googleSignalsSettings}:\027google_signa" + - "ls_settings\332A#google_signals_settings,up" + - "date_mask\022\353\001\n\025CreateConversionEvent\022<.go" + - "ogle.analytics.admin.v1alpha.CreateConve" + - "rsionEventRequest\032/.google.analytics.adm" + - "in.v1alpha.ConversionEvent\"c\202\323\344\223\002C\"//v1a" + - "lpha/{parent=properties/*}/conversionEve" + - "nts:\020conversion_event\332A\027parent,conversio" + - "n_event\022\300\001\n\022GetConversionEvent\0229.google." + - "analytics.admin.v1alpha.GetConversionEve" + - "ntRequest\032/.google.analytics.admin.v1alp" + - "ha.ConversionEvent\">\202\323\344\223\0021\022//v1alpha/{na" + - "me=properties/*/conversionEvents/*}\332A\004na" + - "me\022\255\001\n\025DeleteConversionEvent\022<.google.an" + - "alytics.admin.v1alpha.DeleteConversionEv" + - "entRequest\032\026.google.protobuf.Empty\">\202\323\344\223" + - "\0021*//v1alpha/{name=properties/*/conversi" + - "onEvents/*}\332A\004name\022\323\001\n\024ListConversionEve" + - "nts\022;.google.analytics.admin.v1alpha.Lis" + - "tConversionEventsRequest\032<.google.analyt" + - "ics.admin.v1alpha.ListConversionEventsRe" + - "sponse\"@\202\323\344\223\0021\022//v1alpha/{parent=propert" + - "ies/*}/conversionEvents\332A\006parent\022\370\001\n Get" + - "DisplayVideo360AdvertiserLink\022G.google.a" + - "nalytics.admin.v1alpha.GetDisplayVideo36" + - "0AdvertiserLinkRequest\032=.google.analytic" + - "s.admin.v1alpha.DisplayVideo360Advertise" + - "rLink\"L\202\323\344\223\002?\022=/v1alpha/{name=properties" + - "/*/displayVideo360AdvertiserLinks/*}\332A\004n" + - "ame\022\213\002\n\"ListDisplayVideo360AdvertiserLin" + - "ks\022I.google.analytics.admin.v1alpha.List" + - "DisplayVideo360AdvertiserLinksRequest\032J." + - "google.analytics.admin.v1alpha.ListDispl" + - "ayVideo360AdvertiserLinksResponse\"N\202\323\344\223\002" + - "?\022=/v1alpha/{parent=properties/*}/displa" + - "yVideo360AdvertiserLinks\332A\006parent\022\306\002\n#Cr" + - "eateDisplayVideo360AdvertiserLink\022J.goog" + - "le.analytics.admin.v1alpha.CreateDisplay" + - "Video360AdvertiserLinkRequest\032=.google.a" + - "nalytics.admin.v1alpha.DisplayVideo360Ad" + - "vertiserLink\"\223\001\202\323\344\223\002b\"=/v1alpha/{parent=" + - "properties/*}/displayVideo360AdvertiserL" + - "inks:!display_video_360_advertiser_link\332" + - "A(parent,display_video_360_advertiser_li" + - "nk\022\327\001\n#DeleteDisplayVideo360AdvertiserLi" + - "nk\022J.google.analytics.admin.v1alpha.Dele" + - "teDisplayVideo360AdvertiserLinkRequest\032\026" + - ".google.protobuf.Empty\"L\202\323\344\223\002?*=/v1alpha" + - "/{name=properties/*/displayVideo360Adver" + - "tiserLinks/*}\332A\004name\022\356\002\n#UpdateDisplayVi" + - "deo360AdvertiserLink\022J.google.analytics." + - "admin.v1alpha.UpdateDisplayVideo360Adver" + - "tiserLinkRequest\032=.google.analytics.admi" + - "n.v1alpha.DisplayVideo360AdvertiserLink\"" + - "\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video_360_a" + - "dvertiser_link.name=properties/*/display" + - "Video360AdvertiserLinks/*}:!display_vide" + - "o_360_advertiser_link\332A-display_video_36" + - "0_advertiser_link,update_mask\022\230\002\n(GetDis" + - "playVideo360AdvertiserLinkProposal\022O.goo" + - "gle.analytics.admin.v1alpha.GetDisplayVi" + - "deo360AdvertiserLinkProposalRequest\032E.go" + - "ogle.analytics.admin.v1alpha.DisplayVide" + - "o360AdvertiserLinkProposal\"T\202\323\344\223\002G\022E/v1a" + - "lpha/{name=properties/*/displayVideo360A" + - "dvertiserLinkProposals/*}\332A\004name\022\253\002\n*Lis" + - "tDisplayVideo360AdvertiserLinkProposals\022" + - "Q.google.analytics.admin.v1alpha.ListDis" + - "playVideo360AdvertiserLinkProposalsReque" + - "st\032R.google.analytics.admin.v1alpha.List" + - "DisplayVideo360AdvertiserLinkProposalsRe" + - "sponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=propert" + - "ies/*}/displayVideo360AdvertiserLinkProp" + - "osals\332A\006parent\022\370\002\n+CreateDisplayVideo360" + - "AdvertiserLinkProposal\022R.google.analytic" + - "s.admin.v1alpha.CreateDisplayVideo360Adv" + - "ertiserLinkProposalRequest\032E.google.anal" + - "ytics.admin.v1alpha.DisplayVideo360Adver" + - "tiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alpha/{pa" + - "rent=properties/*}/displayVideo360Advert" + - "iserLinkProposals:*display_video_360_adv" + - "ertiser_link_proposal\332A1parent,display_v" + - "ideo_360_advertiser_link_proposal\022\357\001\n+De" + - "leteDisplayVideo360AdvertiserLinkProposa" + - "l\022R.google.analytics.admin.v1alpha.Delet" + - "eDisplayVideo360AdvertiserLinkProposalRe" + - "quest\032\026.google.protobuf.Empty\"T\202\323\344\223\002G*E/" + - "v1alpha/{name=properties/*/displayVideo3" + - "60AdvertiserLinkProposals/*}\332A\004name\022\263\002\n," + - "ApproveDisplayVideo360AdvertiserLinkProp" + - "osal\022S.google.analytics.admin.v1alpha.Ap" + - "proveDisplayVideo360AdvertiserLinkPropos" + - "alRequest\032T.google.analytics.admin.v1alp" + - "ha.ApproveDisplayVideo360AdvertiserLinkP" + - "roposalResponse\"X\202\323\344\223\002R\"M/v1alpha/{name=" + - "properties/*/displayVideo360AdvertiserLi" + - "nkProposals/*}:approve:\001*\022\241\002\n+CancelDisp" + - "layVideo360AdvertiserLinkProposal\022R.goog" + - "le.analytics.admin.v1alpha.CancelDisplay" + - "Video360AdvertiserLinkProposalRequest\032E." + - "google.analytics.admin.v1alpha.DisplayVi" + - "deo360AdvertiserLinkProposal\"W\202\323\344\223\002Q\"L/v" + - "1alpha/{name=properties/*/displayVideo36" + - "0AdvertiserLinkProposals/*}:cancel:\001*\022\353\001" + - "\n\025CreateCustomDimension\022<.google.analyti" + - "cs.admin.v1alpha.CreateCustomDimensionRe" + - "quest\032/.google.analytics.admin.v1alpha.C" + - "ustomDimension\"c\202\323\344\223\002C\"//v1alpha/{parent" + - "=properties/*}/customDimensions:\020custom_" + - "dimension\332A\027parent,custom_dimension\022\201\002\n\025" + - "UpdateCustomDimension\022<.google.analytics", - ".admin.v1alpha.UpdateCustomDimensionRequ" + - "est\032/.google.analytics.admin.v1alpha.Cus" + - "tomDimension\"y\202\323\344\223\002T2@/v1alpha/{custom_d" + - "imension.name=properties/*/customDimensi" + - "ons/*}:\020custom_dimension\332A\034custom_dimens" + - "ion,update_mask\022\323\001\n\024ListCustomDimensions" + - "\022;.google.analytics.admin.v1alpha.ListCu" + - "stomDimensionsRequest\032<.google.analytics" + - ".admin.v1alpha.ListCustomDimensionsRespo" + - "nse\"@\202\323\344\223\0021\022//v1alpha/{parent=properties" + - "/*}/customDimensions\332A\006parent\022\272\001\n\026Archiv" + - "eCustomDimension\022=.google.analytics.admi" + - "n.v1alpha.ArchiveCustomDimensionRequest\032" + - "\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/v1alph" + - "a/{name=properties/*/customDimensions/*}" + - ":archive:\001*\332A\004name\022\300\001\n\022GetCustomDimensio" + - "n\0229.google.analytics.admin.v1alpha.GetCu" + - "stomDimensionRequest\032/.google.analytics." + - "admin.v1alpha.CustomDimension\">\202\323\344\223\0021\022//" + - "v1alpha/{name=properties/*/customDimensi" + - "ons/*}\332A\004name\022\331\001\n\022CreateCustomMetric\0229.g" + - "oogle.analytics.admin.v1alpha.CreateCust" + - "omMetricRequest\032,.google.analytics.admin" + - ".v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1alpha/" + - "{parent=properties/*}/customMetrics:\rcus" + - "tom_metric\332A\024parent,custom_metric\022\354\001\n\022Up" + - "dateCustomMetric\0229.google.analytics.admi" + - "n.v1alpha.UpdateCustomMetricRequest\032,.go" + - "ogle.analytics.admin.v1alpha.CustomMetri" + - "c\"m\202\323\344\223\002K2:/v1alpha/{custom_metric.name=" + - "properties/*/customMetrics/*}:\rcustom_me" + - "tric\332A\031custom_metric,update_mask\022\307\001\n\021Lis" + - "tCustomMetrics\0228.google.analytics.admin." + - "v1alpha.ListCustomMetricsRequest\0329.googl" + - "e.analytics.admin.v1alpha.ListCustomMetr" + - "icsResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=pr" + - "operties/*}/customMetrics\332A\006parent\022\261\001\n\023A" + - "rchiveCustomMetric\022:.google.analytics.ad" + - "min.v1alpha.ArchiveCustomMetricRequest\032\026" + - ".google.protobuf.Empty\"F\202\323\344\223\0029\"4/v1alpha" + - "/{name=properties/*/customMetrics/*}:arc" + - "hive:\001*\332A\004name\022\264\001\n\017GetCustomMetric\0226.goo" + - "gle.analytics.admin.v1alpha.GetCustomMet" + - "ricRequest\032,.google.analytics.admin.v1al" + - "pha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha/{name" + - "=properties/*/customMetrics/*}\332A\004name\022\325\001" + - "\n\030GetDataRetentionSettings\022?.google.anal" + - "ytics.admin.v1alpha.GetDataRetentionSett" + - "ingsRequest\0325.google.analytics.admin.v1a" + - "lpha.DataRetentionSettings\"A\202\323\344\223\0024\0222/v1a" + - "lpha/{name=properties/*/dataRetentionSet" + - "tings}\332A\004name\022\254\002\n\033UpdateDataRetentionSet" + - "tings\022B.google.analytics.admin.v1alpha.U" + - "pdateDataRetentionSettingsRequest\0325.goog" + - "le.analytics.admin.v1alpha.DataRetention" + - "Settings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_retent" + - "ion_settings.name=properties/*/dataReten" + - "tionSettings}:\027data_retention_settings\332A" + - "#data_retention_settings,update_mask\022\315\001\n" + - "\020CreateDataStream\0227.google.analytics.adm" + - "in.v1alpha.CreateDataStreamRequest\032*.goo" + - "gle.analytics.admin.v1alpha.DataStream\"T" + - "\202\323\344\223\0029\"*/v1alpha/{parent=properties/*}/d" + - "ataStreams:\013data_stream\332A\022parent,data_st" + - "ream\022\236\001\n\020DeleteDataStream\0227.google.analy" + - "tics.admin.v1alpha.DeleteDataStreamReque" + - "st\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v1a" + - "lpha/{name=properties/*/dataStreams/*}\332A" + - "\004name\022\336\001\n\020UpdateDataStream\0227.google.anal" + - "ytics.admin.v1alpha.UpdateDataStreamRequ" + - "est\032*.google.analytics.admin.v1alpha.Dat" + - "aStream\"e\202\323\344\223\002E26/v1alpha/{data_stream.n" + - "ame=properties/*/dataStreams/*}:\013data_st" + - "ream\332A\027data_stream,update_mask\022\277\001\n\017ListD" + - "ataStreams\0226.google.analytics.admin.v1al" + - "pha.ListDataStreamsRequest\0327.google.anal" + - "ytics.admin.v1alpha.ListDataStreamsRespo" + - "nse\";\202\323\344\223\002,\022*/v1alpha/{parent=properties" + - "/*}/dataStreams\332A\006parent\022\254\001\n\rGetDataStre" + - "am\0224.google.analytics.admin.v1alpha.GetD" + - "ataStreamRequest\032*.google.analytics.admi" + - "n.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1alpha/{" + - "name=properties/*/dataStreams/*}\332A\004name\032" + - "\374\001\312A\035analyticsadmin.googleapis.com\322A\330\001ht" + - "tps://www.googleapis.com/auth/analytics." + - "edit,https://www.googleapis.com/auth/ana" + - "lytics.manage.users,https://www.googleap" + - "is.com/auth/analytics.manage.users.reado" + - "nly,https://www.googleapis.com/auth/anal" + - "ytics.readonlyB\200\001\n\"com.google.analytics." + - "admin.v1alphaB\023AnalyticsAdminProtoP\001ZCgo" + - "ogle.golang.org/genproto/googleapis/anal" + - "ytics/admin/v1alpha;adminb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - 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(1); - 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(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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(12); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Names", }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, - new java.lang.String[] { "Parent", "NotifyNewUser", "UserLink", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "NotifyNewUsers", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, - new java.lang.String[] { "UserLink", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor, - new java.lang.String[] { "WebDataStream", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor, - new java.lang.String[] { "WebDataStream", "Parent", }); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor, - new java.lang.String[] { "WebDataStreams", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor, - new java.lang.String[] { "IosAppDataStream", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor, - new java.lang.String[] { "IosAppDataStreams", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor, - new java.lang.String[] { "AndroidAppDataStream", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor, - new java.lang.String[] { "AndroidAppDataStreams", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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(59); - 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(60); - 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(61); - 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(62); - 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(63); - 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(64); - 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(65); - 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(66); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(67); - 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(68); - 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(69); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, - new java.lang.String[] { "ConversionEvent", "Parent", }); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(70); - 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(71); - 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(72); - 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(73); - 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(74); - 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(75); - 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(76); - 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(77); - 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(78); - 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(79); - 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(80); - 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(81); - 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(82); - 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(83); - 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(84); - 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(85); - 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(86); - 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(87); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - 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(89); - 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(90); - 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(91); - 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(92); - 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(93); - 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(94); - 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(95); - 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(96); - 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(97); - 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(98); - 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(99); - 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(100); - 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(101); - 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(102); - 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(103); - 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(104); - 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(105); - 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(106); - 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(107); - 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", }); - 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.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 880be32f..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,600 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - *
- * Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ApproveDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; - - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 75c6a009..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java deleted file mode 100644 index d06997ac..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java +++ /dev/null @@ -1,675 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - *
- * Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ApproveDisplayVideo360AdvertiserLinkProposalResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ApproveDisplayVideo360AdvertiserLinkProposalResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); - } - displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 getDisplayVideo360AdvertiserLink(); - } - - 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()); - } - unknownFields.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 += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDisplayVideo360AdvertiserLink()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); - } - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = null; - } else { - displayVideo360AdvertiserLink_ = null; - 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 (displayVideo360AdvertiserLinkBuilder_ == null) { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; - } else { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_.build(); - } - 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.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.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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 displayVideo360AdvertiserLinkBuilder_ != null || 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. - */ - 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; - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(value); - } - - 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(); - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); - } - - 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 (displayVideo360AdvertiserLink_ != null) { - displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); - } else { - displayVideo360AdvertiserLink_ = value; - } - onChanged(); - } else { - displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); - } - - 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() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = null; - onChanged(); - } else { - displayVideo360AdvertiserLink_ = null; - displayVideo360AdvertiserLinkBuilder_ = null; - } - - 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() { - - 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 { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(input, extensionRegistry); - } - }; - - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java deleted file mode 100644 index c2df9932..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index eb9284a5..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index 412f11e6..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 4e037e23..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,600 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - *
- * Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CancelDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CancelDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CancelDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CancelDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; - - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index ce3f4889..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java deleted file mode 100644 index 4c5bcf95..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 63fe5fc1..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index b4b64d9e..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java deleted file mode 100644 index d38913bf..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index c5552042..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,829 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - *
- * Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CreateDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDisplayVideo360AdvertiserLinkProposalRequest() { - parent_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder subBuilder = null; - if (displayVideo360AdvertiserLinkProposal_ != null) { - subBuilder = displayVideo360AdvertiserLinkProposal_.toBuilder(); - } - displayVideo360AdvertiserLinkProposal_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLinkProposal_); - displayVideo360AdvertiserLinkProposal_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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 getDisplayVideo360AdvertiserLinkProposal(); - } - - 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()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (displayVideo360AdvertiserLinkProposal_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDisplayVideo360AdvertiserLinkProposal()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + 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) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = null; - } else { - displayVideo360AdvertiserLinkProposal_ = null; - 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); - result.parent_ = parent_; - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposal_; - } else { - result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposalBuilder_.build(); - } - 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.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_; - onChanged(); - } - if (other.hasDisplayVideo360AdvertiserLinkProposal()) { - mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 displayVideo360AdvertiserLinkProposalBuilder_ != null || 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. - */ - 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; - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); - } - - 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(); - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); - } - - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - displayVideo360AdvertiserLinkProposal_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder(displayVideo360AdvertiserLinkProposal_).mergeFrom(value).buildPartial(); - } else { - displayVideo360AdvertiserLinkProposal_ = value; - } - onChanged(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); - } - - 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() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = null; - onChanged(); - } else { - displayVideo360AdvertiserLinkProposal_ = null; - displayVideo360AdvertiserLinkProposalBuilder_ = null; - } - - 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() { - - 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 { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; - - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 276ca781..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 41bf5ad1..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index ae17db52..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 72a64848..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index fb9f826a..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java deleted file mode 100644 index 44108f36..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Example format: accounts/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Optional. If set, then email the new user notifying them that they've been granted
-   * permissions to the resource.
-   * 
- * - * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The notifyNewUser. - */ - boolean getNotifyNewUser(); - - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java deleted file mode 100644 index d18cc575..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.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 CreateWebDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The web stream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the webDataStream field is set. - */ - boolean hasWebDataStream(); - /** - *
-   * Required. The web stream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The webDataStream. - */ - com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); - /** - *
-   * Required. The web stream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); - - /** - *
-   * Required. The parent resource where this web data stream 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 parent resource where this web data stream 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 2ced5a1f..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java deleted file mode 100644 index f7e3531b..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.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 DeleteAndroidAppDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the android app data stream to delete.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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 android app data stream to delete.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index 8faa9524..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java deleted file mode 100644 index ad5a87cc..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 0750c554..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,600 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - *
- * Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; - 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_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.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() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - result.name_ = name_; - 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.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_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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; - 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(); - 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; - 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 { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; - - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 076306d3..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 13d21b2d..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index ea671afc..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 3f29cf86..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java deleted file mode 100644 index 1fcd3e9f..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.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 DeleteIosAppDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the iOS app data stream to delete.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to delete.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index f1db0fd4..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java deleted file mode 100644 index 6443a0a2..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java deleted file mode 100644 index a073c4e4..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.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 DeleteWebDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the web data stream to delete.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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 web data stream to delete.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java deleted file mode 100644 index 65eda19d..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java deleted file mode 100644 index e961bc84..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.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 GetAndroidAppDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the android app data stream to lookup.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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 android app data stream to lookup.
-   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
-   * Example: "properties/123/androidAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index 1fe2ec1d..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 1f3349e8..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index d22f4b1f..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index 420e9134..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 800d242e..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java deleted file mode 100644 index a36c24d5..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index f1879674..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 21e6060e..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java deleted file mode 100644 index f3964231..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java deleted file mode 100644 index 1d2db780..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.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 GetIosAppDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the iOS app data stream to lookup.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to lookup.
-   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
-   * Example: "properties/123/iosAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java deleted file mode 100644 index d15bc73f..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java deleted file mode 100644 index 8bb7da16..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java deleted file mode 100644 index bbfbdcce..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.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 GetWebDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetWebDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the web data stream to lookup.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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 web data stream to lookup.
-   * Format: properties/{property_id}/webDataStreams/{stream_id}
-   * Example: "properties/123/webDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java deleted file mode 100644 index 49cdb9fa..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index 1e662a84..00000000 --- a/owl-bot-staging/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java deleted file mode 100644 index ae874d93..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,684 +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_AndroidAppDataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/analytics/admin/v1alpha/resourc" + - "es.proto\022\036google.analytics.admin.v1alpha" + - "\032\037google/api/field_behavior.proto\032\031googl" + - "e/api/resource.proto\032\037google/protobuf/ti" + - "mestamp.proto\032\036google/protobuf/wrappers." + - "proto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" + - "create_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" + - ".protobuf.TimestampB\003\340A\003\022\031\n\014display_name" + - "\030\004 \001(\tB\003\340A\002\022\023\n\013region_code\030\005 \001(\t\022\024\n\007dele" + - "ted\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.goog" + - "leapis.com/Account\022\022accounts/{account}\"\357" + - "\004\n\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022" + - "\031\n\014display_name\030\005 \001(\tB\003\340A\002\022K\n\021industry_c" + - "ategory\030\006 \001(\01620.google.analytics.admin.v" + - "1alpha.IndustryCategory\022\026\n\ttime_zone\030\007 \001" + - "(\tB\003\340A\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rservic" + - "e_level\030\n \001(\0162,.google.analytics.admin.v" + - "1alpha.ServiceLevelB\003\340A\003\0224\n\013delete_time\030" + - "\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" + - "\n\013expire_time\030\014 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%a" + - "nalyticsadmin.googleapis.com/Account:B\352A" + - "?\n&analyticsadmin.googleapis.com/Propert" + - "y\022\025properties/{property}\"\344\002\n\024AndroidAppD" + - "ataStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase" + - "_app_id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + - "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\022\031\n\014package_name\030\005 \001(\tB\003\340A\005\022\024\n\014dis" + - "play_name\030\006 \001(\t:~\352A{\n2analyticsadmin.goo" + - "gleapis.com/AndroidAppDataStream\022Eproper" + - "ties/{property}/androidAppDataStreams/{a" + - "ndroid_app_data_stream}\"\324\002\n\020IosAppDataSt" + - "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_" + - "id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" + - "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\022\031\n\tbundle_id\030\005 \001(\tB\006\340A\005\340A\002\022\024\n\014display_" + - "name\030\006 \001(\t:r\352Ao\n.analyticsadmin.googleap" + - "is.com/IosAppDataStream\022=properties/{pro" + - "perty}/iosAppDataStreams/{ios_app_data_s" + - "tream}\"\350\002\n\rWebDataStream\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\003\022\033\n\016measurement_id\030\002 \001(\tB\003\340A\003\022\034\n\017fire" + - "base_app_id\030\003 \001(\tB\003\340A\003\0224\n\013create_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + - "update_time\030\005 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022\030\n\013default_uri\030\006 \001(\tB\003\340A\005\022\031\n\014" + - "display_name\030\007 \001(\tB\003\340A\002:h\352Ae\n+analyticsa" + - "dmin.googleapis.com/WebDataStream\0226prope" + - "rties/{property}/webDataStreams/{web_dat" + - "a_stream}\"\371\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\021\n\004name\030\001 \001(\tB\003\340A\003" + - "\022O\n\004type\030\002 \001(\01629.google.analytics.admin." + - "v1alpha.DataStream.DataStreamTypeB\006\340A\005\340A" + - "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + - "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + - "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + - "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + - "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + - "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + - "sAppStreamData\022\034\n\017firebase_app_id\030\001 \001(\tB" + - "\003\340A\003\022\031\n\tbundle_id\030\002 \001(\tB\006\340A\005\340A\002\"}\n\016DataS" + - "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + - "D\020\000\022\023\n\017WEB_DATA_STREAM\020\001\022\033\n\027ANDROID_APP_" + - "DATA_STREAM\020\002\022\027\n\023IOS_APP_DATA_STREAM\020\003:^" + - "\352A[\n(analyticsadmin.googleapis.com/DataS" + - "tream\022/properties/{property}/dataStreams" + - "/{data_stream}B\r\n\013stream_data\"\324\001\n\010UserLi" + - "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\remail_address\030\002" + - " \001(\tB\003\340A\005\022\024\n\014direct_roles\030\003 \003(\t:\202\001\352A\177\n&a" + - "nalyticsadmin.googleapis.com/UserLink\022(a" + - "ccounts/{account}/userLinks/{user_link}\022" + - "+properties/{property}/userLinks/{user_l" + - "ink}\"c\n\rAuditUserLink\022\014\n\004name\030\001 \001(\t\022\025\n\re" + - "mail_address\030\002 \001(\t\022\024\n\014direct_roles\030\003 \003(\t" + - "\022\027\n\017effective_roles\030\004 \003(\t\"\323\001\n\014FirebaseLi" + - "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007project\030\002 \001(\tB\003" + - "\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003:d\352Aa\n*analyticsadmin.g" + - "oogleapis.com/FirebaseLink\0223properties/{" + - "property}/firebaseLinks/{firebase_link}\"" + - "\217\001\n\rGlobalSiteTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007" + - "snippet\030\002 \001(\tB\003\340A\005:U\352AR\n+analyticsadmin." + - "googleapis.com/GlobalSiteTag\022#properties" + - "/{property}/globalSiteTag\"\230\003\n\rGoogleAdsL" + - "ink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013customer_id\030\003 " + - "\001(\tB\003\340A\005\022\037\n\022can_manage_clients\030\004 \001(\010B\003\340A" + - "\003\022?\n\033ads_personalization_enabled\030\005 \001(\0132\032" + - ".google.protobuf.BoolValue\0224\n\013create_tim" + - "e\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0224\n\013update_time\030\010 \001(\0132\032.google.protobuf." + - "TimestampB\003\340A\003\022\"\n\025creator_email_address\030" + - "\t \001(\tB\003\340A\003:h\352Ae\n+analyticsadmin.googleap" + - "is.com/GoogleAdsLink\0226properties/{proper" + - "ty}/googleAdsLinks/{google_ads_link}\"\353\002\n" + - "\023DataSharingSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + - "+\n#sharing_with_google_support_enabled\030\002" + - " \001(\010\0222\n*sharing_with_google_assigned_sal" + - "es_enabled\030\003 \001(\010\022-\n%sharing_with_google_" + - "any_sales_enabled\030\004 \001(\010\022,\n$sharing_with_" + - "google_products_enabled\030\005 \001(\010\022#\n\033sharing" + - "_with_others_enabled\030\006 \001(\010:^\352A[\n1analyti" + - "csadmin.googleapis.com/DataSharingSettin" + - "gs\022&accounts/{account}/dataSharingSettin" + - "gs\"\225\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;\n\007a" + - "ccount\030\002 \001(\tB*\372A\'\n%analyticsadmin.google" + - "apis.com/Account\022\024\n\014display_name\030\003 \001(\t\022K" + - "\n\022property_summaries\030\004 \003(\0132/.google.anal" + - "ytics.admin.v1alpha.PropertySummary:U\352AR" + - "\n,analyticsadmin.googleapis.com/AccountS" + - "ummary\022\"accountSummaries/{account_summar" + - "y}\"f\n\017PropertySummary\022=\n\010property\030\001 \001(\tB" + - "+\372A(\n&analyticsadmin.googleapis.com/Prop" + - "erty\022\024\n\014display_name\030\002 \001(\t\"\225\002\n\031Measureme" + - "ntProtocolSecret\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014d" + - "isplay_name\030\002 \001(\tB\003\340A\002\022\031\n\014secret_value\030\003" + - " \001(\tB\003\340A\003:\256\001\352A\252\001\n7analyticsadmin.googlea" + - "pis.com/MeasurementProtocolSecret\022oprope" + - "rties/{property}/webDataStreams/{web_dat" + - "a_stream}/measurementProtocolSecrets/{me" + - "asurement_protocol_secret}\"\212\002\n\022ChangeHis" + - "toryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013change_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\022=\n\nactor_" + - "type\030\003 \001(\0162).google.analytics.admin.v1al" + - "pha.ActorType\022\030\n\020user_actor_email\030\004 \001(\t\022" + - "\030\n\020changes_filtered\030\005 \001(\010\022D\n\007changes\030\006 \003" + - "(\01323.google.analytics.admin.v1alpha.Chan" + - "geHistoryChange\"\275\014\n\023ChangeHistoryChange\022" + - "\020\n\010resource\030\001 \001(\t\022:\n\006action\030\002 \001(\0162*.goog" + - "le.analytics.admin.v1alpha.ActionType\022i\n" + - "\026resource_before_change\030\003 \001(\0132I.google.a" + - "nalytics.admin.v1alpha.ChangeHistoryChan" + - "ge.ChangeHistoryResource\022h\n\025resource_aft" + - "er_change\030\004 \001(\0132I.google.analytics.admin" + - ".v1alpha.ChangeHistoryChange.ChangeHisto" + - "ryResource\032\202\n\n\025ChangeHistoryResource\022:\n\007" + - "account\030\001 \001(\0132\'.google.analytics.admin.v" + - "1alpha.AccountH\000\022<\n\010property\030\002 \001(\0132(.goo" + - "gle.analytics.admin.v1alpha.PropertyH\000\022H" + - "\n\017web_data_stream\030\003 \001(\0132-.google.analyti" + - "cs.admin.v1alpha.WebDataStreamH\000\022W\n\027andr" + - "oid_app_data_stream\030\004 \001(\01324.google.analy" + - "tics.admin.v1alpha.AndroidAppDataStreamH" + - "\000\022O\n\023ios_app_data_stream\030\005 \001(\01320.google." + - "analytics.admin.v1alpha.IosAppDataStream" + - "H\000\022E\n\rfirebase_link\030\006 \001(\0132,.google.analy" + - "tics.admin.v1alpha.FirebaseLinkH\000\022H\n\017goo" + - "gle_ads_link\030\007 \001(\0132-.google.analytics.ad" + - "min.v1alpha.GoogleAdsLinkH\000\022X\n\027google_si" + - "gnals_settings\030\010 \001(\01325.google.analytics." + - "admin.v1alpha.GoogleSignalsSettingsH\000\022j\n" + - "!display_video_360_advertiser_link\030\t \001(\013" + - "2=.google.analytics.admin.v1alpha.Displa" + - "yVideo360AdvertiserLinkH\000\022{\n*display_vid" + - "eo_360_advertiser_link_proposal\030\n \001(\0132E." + - "google.analytics.admin.v1alpha.DisplayVi" + - "deo360AdvertiserLinkProposalH\000\022K\n\020conver" + - "sion_event\030\013 \001(\0132/.google.analytics.admi" + - "n.v1alpha.ConversionEventH\000\022`\n\033measureme" + - "nt_protocol_secret\030\014 \001(\01329.google.analyt" + - "ics.admin.v1alpha.MeasurementProtocolSec" + - "retH\000\022K\n\020custom_dimension\030\r \001(\0132/.google" + - ".analytics.admin.v1alpha.CustomDimension" + - "H\000\022E\n\rcustom_metric\030\016 \001(\0132,.google.analy" + - "tics.admin.v1alpha.CustomMetricH\000\022X\n\027dat" + - "a_retention_settings\030\017 \001(\01325.google.anal" + - "ytics.admin.v1alpha.DataRetentionSetting" + - "sH\000B\n\n\010resource\"\337\003\n\035DisplayVideo360Adver" + - "tiserLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertis" + - "er_id\030\002 \001(\tB\003\340A\005\022$\n\027advertiser_display_n" + - "ame\030\003 \001(\tB\003\340A\003\022?\n\033ads_personalization_en" + - "abled\030\004 \001(\0132\032.google.protobuf.BoolValue\022" + - "F\n\035campaign_data_sharing_enabled\030\005 \001(\0132\032" + - ".google.protobuf.BoolValueB\003\340A\005\022B\n\031cost_" + - "data_sharing_enabled\030\006 \001(\0132\032.google.prot" + - "obuf.BoolValueB\003\340A\005:\233\001\352A\227\001\n;analyticsadm" + - "in.googleapis.com/DisplayVideo360Adverti" + - "serLink\022Xproperties/{property}/displayVi" + - "deo360AdvertiserLinks/{display_video_360" + - "_advertiser_link}\"\212\005\n%DisplayVideo360Adv" + - "ertiserLinkProposal\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032" + - "\n\radvertiser_id\030\002 \001(\tB\003\340A\005\022d\n\034link_propo" + - "sal_status_details\030\003 \001(\01329.google.analyt" + - "ics.admin.v1alpha.LinkProposalStatusDeta" + - "ilsB\003\340A\003\022$\n\027advertiser_display_name\030\004 \001(" + - "\tB\003\340A\003\022\035\n\020validation_email\030\005 \001(\tB\003\340A\004\022D\n" + - "\033ads_personalization_enabled\030\006 \001(\0132\032.goo" + - "gle.protobuf.BoolValueB\003\340A\005\022F\n\035campaign_" + - "data_sharing_enabled\030\007 \001(\0132\032.google.prot" + - "obuf.BoolValueB\003\340A\005\022B\n\031cost_data_sharing" + - "_enabled\030\010 \001(\0132\032.google.protobuf.BoolVal" + - "ueB\003\340A\005:\264\001\352A\260\001\nCanalyticsadmin.googleapi" + - "s.com/DisplayVideo360AdvertiserLinkPropo" + - "sal\022iproperties/{property}/displayVideo3" + - "60AdvertiserLinkProposals/{display_video" + - "_360_advertiser_link_proposal}\"\374\001\n\031LinkP" + - "roposalStatusDetails\022l\n link_proposal_in" + - "itiating_product\030\001 \001(\0162=.google.analytic" + - "s.admin.v1alpha.LinkProposalInitiatingPr" + - "oductB\003\340A\003\022\034\n\017requestor_email\030\002 \001(\tB\003\340A\003" + - "\022S\n\023link_proposal_state\030\003 \001(\01621.google.a" + - "nalytics.admin.v1alpha.LinkProposalState" + - "B\003\340A\003\"\217\002\n\017ConversionEvent\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\003\022\027\n\nevent_name\030\002 \001(\tB\003\340A\005\0224\n\013create_" + - "time\030\003 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custom\030\005 " + - "\001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.googleapis" + - ".com/ConversionEvent\0229properties/{proper" + - "ty}/conversionEvents/{conversion_event}\"" + - "\240\002\n\025GoogleSignalsSettings\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\003\022A\n\005state\030\003 \001(\01622.google.analytics.a" + - "dmin.v1alpha.GoogleSignalsState\022J\n\007conse" + - "nt\030\004 \001(\01624.google.analytics.admin.v1alph" + - "a.GoogleSignalsConsentB\003\340A\003:e\352Ab\n3analyt" + - "icsadmin.googleapis.com/GoogleSignalsSet" + - "tings\022+properties/{property}/googleSigna" + - "lsSettings\"\237\003\n\017CustomDimension\022\021\n\004name\030\001" + - " \001(\tB\003\340A\003\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A" + - "\005\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\030\n\013descript" + - "ion\030\004 \001(\tB\003\340A\001\022U\n\005scope\030\005 \001(\0162>.google.a" + - "nalytics.admin.v1alpha.CustomDimension.D" + - "imensionScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_pe" + - "rsonalization\030\006 \001(\010B\003\340A\001\"F\n\016DimensionSco" + - "pe\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005E" + - "VENT\020\001\022\010\n\004USER\020\002:Z\352AW\n-analyticsadmin.go" + - "ogleapis.com/CustomDimension\022&properties" + - "/{property}/customDimensions\"\354\004\n\014CustomM" + - "etric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016parameter_na" + - "me\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030\003 \001(\tB\003" + - "\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022[\n\020measure" + - "ment_unit\030\005 \001(\0162<.google.analytics.admin" + - ".v1alpha.CustomMetric.MeasurementUnitB\003\340" + - "A\002\022O\n\005scope\030\006 \001(\01628.google.analytics.adm" + - "in.v1alpha.CustomMetric.MetricScopeB\006\340A\002" + - "\340A\005\"\267\001\n\017MeasurementUnit\022 \n\034MEASUREMENT_U" + - "NIT_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\014\n\010CURRE" + - "NCY\020\002\022\010\n\004FEET\020\003\022\n\n\006METERS\020\004\022\016\n\nKILOMETER" + - "S\020\005\022\t\n\005MILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECO" + - "NDS\020\010\022\013\n\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricS" + - "cope\022\034\n\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EV" + - "ENT\020\001:T\352AQ\n*analyticsadmin.googleapis.co" + - "m/CustomMetric\022#properties/{property}/cu" + - "stomMetrics\"\302\003\n\025DataRetentionSettings\022\021\n" + - "\004name\030\001 \001(\tB\003\340A\003\022e\n\024event_data_retention" + - "\030\002 \001(\0162G.google.analytics.admin.v1alpha." + - "DataRetentionSettings.RetentionDuration\022" + - "\'\n\037reset_user_data_on_new_activity\030\003 \001(\010" + - "\"\236\001\n\021RetentionDuration\022\"\n\036RETENTION_DURA" + - "TION_UNSPECIFIED\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FO" + - "URTEEN_MONTHS\020\003\022\025\n\021TWENTY_SIX_MONTHS\020\004\022\027" + - "\n\023THIRTY_EIGHT_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020" + - "\006:e\352Ab\n3analyticsadmin.googleapis.com/Da" + - "taRetentionSettings\022+properties/{propert" + - "y}/dataRetentionSettings*\252\004\n\020IndustryCat" + - "egory\022!\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000" + - "\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTR" + - "IAL_MARKETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE" + - "\020\004\022\016\n\nTECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020" + - "\007\022\032\n\026ARTS_AND_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\005GAMES\020\014\022\027\n\023HOBBIE" + - "S_AND_LEISURE\020\r\022\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024" + - "INTERNET_AND_TELECOM\020\017\022\026\n\022LAW_AND_GOVERN" + - "MENT\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_ANI" + - "MALS\020\024\022\017\n\013REAL_ESTATE\020\025\022\r\n\tREFERENCE\020\026\022\013" + - "\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022JOBS_AND_EDUC" + - "ATION\020\031\022\014\n\010SHOPPING\020\032*f\n\014ServiceLevel\022\035\n" + - "\031SERVICE_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_A" + - "NALYTICS_STANDARD\020\001\022\030\n\024GOOGLE_ANALYTICS_" + - "360\020\002*J\n\tActorType\022\032\n\026ACTOR_TYPE_UNSPECI" + - "FIED\020\000\022\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\022\013\n\007SUPPORT\020" + - "\003*P\n\nActionType\022\033\n\027ACTION_TYPE_UNSPECIFI" + - "ED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007DELETE" + - "D\020\003*\310\003\n\031ChangeHistoryResourceType\022,\n(CHA" + - "NGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022" + - "\013\n\007ACCOUNT\020\001\022\014\n\010PROPERTY\020\002\022\023\n\017WEB_DATA_S" + - "TREAM\020\003\022\033\n\027ANDROID_APP_DATA_STREAM\020\004\022\027\n\023" + - "IOS_APP_DATA_STREAM\020\005\022\021\n\rFIREBASE_LINK\020\006" + - "\022\023\n\017GOOGLE_ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_" + - "SETTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEAS" + - "UREMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIME" + - "NSION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETEN" + - "TION_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADV" + - "ERTISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVE" + - "RTISER_LINK_PROPOSAL\020\017*s\n\022GoogleSignalsS" + - "tate\022$\n GOOGLE_SIGNALS_STATE_UNSPECIFIED" + - "\020\000\022\032\n\026GOOGLE_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE" + - "_SIGNALS_DISABLED\020\002*\216\001\n\024GoogleSignalsCon" + - "sent\022&\n\"GOOGLE_SIGNALS_CONSENT_UNSPECIFI" + - "ED\020\000\022$\n GOOGLE_SIGNALS_CONSENT_CONSENTED" + - "\020\002\022(\n$GOOGLE_SIGNALS_CONSENT_NOT_CONSENT" + - "ED\020\001*{\n\035LinkProposalInitiatingProduct\0220\n" + - ",LINK_PROPOSAL_INITIATING_PRODUCT_UNSPEC" + - "IFIED\020\000\022\024\n\020GOOGLE_ANALYTICS\020\001\022\022\n\016LINKED_" + - "PRODUCT\020\002*\304\001\n\021LinkProposalState\022#\n\037LINK_" + - "PROPOSAL_STATE_UNSPECIFIED\020\000\022)\n%AWAITING" + - "_REVIEW_FROM_GOOGLE_ANALYTICS\020\001\022\'\n#AWAIT" + - "ING_REVIEW_FROM_LINKED_PRODUCT\020\002\022\r\n\tWITH" + - "DRAWN\020\003\022\014\n\010DECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OB" + - "SOLETE\020\006B{\n\"com.google.analytics.admin.v" + - "1alphaB\016ResourcesProtoP\001ZCgoogle.golang." + - "org/genproto/googleapis/analytics/admin/" + - "v1alpha;adminb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.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", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor, - new java.lang.String[] { "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "PackageName", "DisplayName", }); - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor, - new java.lang.String[] { "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "BundleId", "DisplayName", }); - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor, - new java.lang.String[] { "Name", "MeasurementId", "FirebaseAppId", "CreateTime", "UpdateTime", "DefaultUri", "DisplayName", }); - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, - new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, - new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "PackageName", }); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "BundleId", }); - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, - new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, - new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", }); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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", }); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(15); - 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(16); - 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", "WebDataStream", "AndroidAppDataStream", "IosAppDataStream", "FirebaseLink", "GoogleAdsLink", "GoogleSignalsSettings", "DisplayVideo360AdvertiserLink", "DisplayVideo360AdvertiserLinkProposal", "ConversionEvent", "MeasurementProtocolSecret", "CustomDimension", "CustomMetric", "DataRetentionSettings", "Resource", }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = - getDescriptor().getMessageTypes().get(17); - 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(18); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, - new java.lang.String[] { "Name", "AdvertiserId", "LinkProposalStatusDetails", "AdvertiserDisplayName", "ValidationEmail", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = - getDescriptor().getMessageTypes().get(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", }); - 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", }); - 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", }); - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java deleted file mode 100644 index 5f523e40..00000000 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java index e4fed015..3d275c7a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ -public final class Account extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Account extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Account) AccountOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Account() { name_ = ""; displayName_ = ""; @@ -27,16 +45,15 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Account( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,90 +72,101 @@ private Account( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - regionCode_ = s; - break; - } - case 48: { + displayName_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - deleted_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + regionCode_ = s; + break; + } + case 48: + { + deleted_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -146,6 +174,7 @@ private Account(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -154,14 +183,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}
@@ -169,16 +199,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 { @@ -189,11 +218,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 @@ -201,11 +234,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 @@ -213,11 +250,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() { @@ -227,11 +267,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 @@ -239,11 +283,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 @@ -251,11 +299,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() { @@ -265,11 +316,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; 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 @@ -278,29 +332,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 { @@ -311,11 +365,14 @@ public java.lang.String getDisplayName() { public static final int REGION_CODE_FIELD_NUMBER = 5; 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 @@ -324,29 +381,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 { @@ -357,12 +414,15 @@ public java.lang.String getRegionCode() { public static final int DELETED_FIELD_NUMBER = 6; 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 @@ -371,6 +431,7 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,8 +443,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -415,12 +475,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_); @@ -429,8 +487,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,31 +497,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,125 +543,133 @@ 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) + unknownFields.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() @@ -617,16 +677,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -654,9 +713,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 @@ -675,7 +734,8 @@ public com.google.analytics.admin.v1alpha.Account build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Account buildPartial() { - com.google.analytics.admin.v1alpha.Account result = new com.google.analytics.admin.v1alpha.Account(this); + com.google.analytics.admin.v1alpha.Account result = + new com.google.analytics.admin.v1alpha.Account(this); result.name_ = name_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -698,38 +758,39 @@ public com.google.analytics.admin.v1alpha.Account buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -790,6 +851,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -797,13 +860,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; @@ -812,6 +875,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -819,15 +884,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 { @@ -835,6 +899,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -842,20 +908,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -863,15 +931,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -879,16 +950,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -896,39 +967,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 createTimeBuilder_ != null || 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. */ 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) { @@ -944,14 +1034,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(); onChanged(); @@ -962,17 +1055,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -984,11 +1081,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() { if (createTimeBuilder_ == null) { @@ -1002,48 +1103,64 @@ 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() { - + onChanged(); 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_; @@ -1051,39 +1168,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1099,14 +1235,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(); onChanged(); @@ -1117,17 +1256,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1139,11 +1282,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() { if (updateTimeBuilder_ == null) { @@ -1157,48 +1304,64 @@ 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() { - + onChanged(); 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_; @@ -1206,18 +1369,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; @@ -1226,20 +1391,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 { @@ -1247,54 +1413,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1302,18 +1475,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; @@ -1322,20 +1497,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 { @@ -1343,67 +1519,77 @@ 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) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; 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() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); 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) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); 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 @@ -1411,39 +1597,45 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1453,12 +1645,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(); } @@ -1467,16 +1659,16 @@ 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 { - return new Account(input, extensionRegistry); - } - }; + 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 { + return new Account(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1491,6 +1683,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java index 9f1c370c..9aae2948 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountOrBuilder extends +public interface AccountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Account) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -15,10 +33,13 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -26,112 +47,147 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when this account was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when account payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ boolean getDeleted(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java index 45dedd04..1b1f4dfb 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
  */
-public final class AccountSummary extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccountSummary)
     AccountSummaryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -29,16 +47,15 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AccountSummary(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,47 +75,53 @@ private AccountSummary(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            account_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              account_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              propertySummaries_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              displayName_ = s;
+              break;
             }
-            propertySummaries_.add(
-                input.readMessage(com.google.analytics.admin.v1alpha.PropertySummary.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                propertySummaries_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              propertySummaries_.add(
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.PropertySummary.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -107,22 +130,27 @@ private AccountSummary(
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -130,6 +158,7 @@ private AccountSummary(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -138,14 +167,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}
@@ -153,16 +183,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 { @@ -173,6 +202,8 @@ public java.lang.String getName() { public static final int ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object account_; /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -180,6 +211,7 @@ public java.lang.String getName() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ @java.lang.Override @@ -188,14 +220,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}
@@ -203,16 +236,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 { @@ -223,11 +255,14 @@ public java.lang.String getAccount() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -236,29 +271,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 { @@ -269,6 +304,8 @@ public java.lang.String getDisplayName() { public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; private java.util.List propertySummaries_; /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -276,10 +313,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.
    * 
@@ -287,11 +327,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.
    * 
@@ -303,6 +345,8 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -314,6 +358,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i return propertySummaries_.get(index); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -327,6 +373,7 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +385,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -371,8 +417,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -382,21 +428,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -424,96 +467,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.
@@ -521,21 +571,23 @@ 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()
@@ -543,17 +595,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPropertySummariesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +625,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
@@ -594,7 +646,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.account_ = account_;
@@ -616,38 +669,39 @@ public com.google.analytics.admin.v1alpha.AccountSummary buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -655,7 +709,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_;
         onChanged();
@@ -686,9 +741,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            propertySummariesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPropertySummariesFieldBuilder() : null;
+            propertySummariesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPropertySummariesFieldBuilder()
+                    : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -713,7 +769,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.admin.v1alpha.AccountSummary) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.admin.v1alpha.AccountSummary) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -722,10 +779,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -733,13 +793,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; @@ -748,6 +808,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -755,15 +817,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 { @@ -771,6 +832,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -778,20 +841,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -799,15 +864,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -815,16 +883,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -832,6 +900,8 @@ public Builder setNameBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -839,13 +909,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; @@ -854,6 +924,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -861,15 +933,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 { @@ -877,6 +948,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -884,20 +957,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) { + public Builder setAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + account_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -905,15 +980,18 @@ public Builder setAccount(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -921,16 +999,16 @@ 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) { + public Builder setAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + account_ = value; onChanged(); return this; @@ -938,18 +1016,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; @@ -958,20 +1038,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 { @@ -979,79 +1060,95 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - propertySummaries_ = new java.util.ArrayList(propertySummaries_); + propertySummaries_ = + new java.util.ArrayList( + propertySummaries_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1059,6 +1156,8 @@ public java.util.List getPro } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1073,6 +1172,8 @@ public int getPropertySummariesCount() { } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1087,6 +1188,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1108,6 +1211,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1126,6 +1231,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1146,6 +1253,8 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1alpha.PropertyS return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1167,6 +1276,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1185,6 +1296,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1203,6 +1316,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1213,8 +1328,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); @@ -1222,6 +1336,8 @@ public Builder addAllPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1239,6 +1355,8 @@ public Builder clearPropertySummaries() { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1256,6 +1374,8 @@ public Builder removePropertySummaries(int index) { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1267,28 +1387,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 { @@ -1296,17 +1421,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.
      * 
@@ -1315,26 +1445,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1343,9 +1482,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); } @@ -1355,12 +1494,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(); } @@ -1369,16 +1508,16 @@ 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 { - return new AccountSummary(input, extensionRegistry); - } - }; + 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 { + return new AccountSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1393,6 +1532,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java similarity index 76% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java index 7e3379d5..bc3b45fe 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountSummaryOrBuilder extends +public interface AccountSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccountSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -15,10 +33,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -26,12 +47,14 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -39,10 +62,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -50,41 +76,49 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List - getPropertySummariesList(); + java.util.List getPropertySummariesList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -93,6 +127,8 @@ public interface AccountSummaryOrBuilder extends */ com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(int index); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -101,15 +137,19 @@ public interface AccountSummaryOrBuilder extends */ int getPropertySummariesCount(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java index b03db203..0e523497 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} */ -public final class AcknowledgeUserDataCollectionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) AcknowledgeUserDataCollectionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. - private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AcknowledgeUserDataCollectionRequest() { property_ = ""; acknowledgement_ = ""; @@ -26,16 +46,15 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AcknowledgeUserDataCollectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,58 +73,67 @@ private AcknowledgeUserDataCollectionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + property_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - acknowledgement_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + acknowledgement_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -114,29 +142,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 { @@ -147,6 +177,8 @@ public java.lang.String getProperty() { public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; private volatile java.lang.Object acknowledgement_; /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -158,6 +190,7 @@ public java.lang.String getProperty() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ @java.lang.Override @@ -166,14 +199,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.
@@ -185,16 +219,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 { @@ -203,6 +236,7 @@ public java.lang.String getAcknowledgement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -245,17 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,134 +309,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +460,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); } @@ -437,7 +484,8 @@ 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); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = + new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(this); result.property_ = property_; result.acknowledgement_ = acknowledgement_; onBuilt(); @@ -448,46 +496,52 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest 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.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_; onChanged(); @@ -515,7 +569,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -527,18 +583,22 @@ public Builder mergeFrom( 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; @@ -547,20 +607,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 { @@ -568,54 +631,67 @@ 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) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; 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() { - + property_ = getDefaultInstance().getProperty(); 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) = { ... } + * + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; @@ -623,6 +699,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.
@@ -634,13 +712,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; @@ -649,6 +727,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -660,15 +740,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 { @@ -676,6 +755,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -687,20 +768,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) { + public Builder setAcknowledgement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + acknowledgement_ = value; onChanged(); return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -712,15 +795,18 @@ public Builder setAcknowledgement(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAcknowledgement() { - + acknowledgement_ = getDefaultInstance().getAcknowledgement(); onChanged(); return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -732,23 +818,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) { + public Builder setAcknowledgementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acknowledgement_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -758,30 +844,33 @@ 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 { - return new AcknowledgeUserDataCollectionRequest(input, extensionRegistry); - } - }; + 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 { + return new AcknowledgeUserDataCollectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,9 +882,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java index bd34d9b4..35c9aa57 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AcknowledgeUserDataCollectionRequestOrBuilder extends +public interface AcknowledgeUserDataCollectionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -39,10 +66,13 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ java.lang.String getAcknowledgement(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -54,8 +84,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ - com.google.protobuf.ByteString - getAcknowledgementBytes(); + com.google.protobuf.ByteString getAcknowledgementBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java similarity index 59% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java index a80019e5..172b0386 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java @@ -1,39 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} */ -public final class AcknowledgeUserDataCollectionResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) AcknowledgeUserDataCollectionResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. - private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcknowledgeUserDataCollectionResponse() { - } + + private AcknowledgeUserDataCollectionResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AcknowledgeUserDataCollectionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +70,42 @@ private AcknowledgeUserDataCollectionResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; @@ -96,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -115,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -139,134 +161,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -274,19 +308,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); } @@ -295,7 +332,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; } @@ -304,46 +342,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.unknownFields); onChanged(); return this; @@ -363,7 +407,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -372,9 +418,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -384,30 +430,33 @@ 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 { - return new AcknowledgeUserDataCollectionResponse(input, extensionRegistry); - } - }; + 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 { + return new AcknowledgeUserDataCollectionResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -419,9 +468,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 00000000..d67a9c55 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface AcknowledgeUserDataCollectionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java index 833f1173..bdd4ca5b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ActionType} */ -public enum ActionType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ActionType */ ACTION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource was created in this change.
    * 
@@ -29,6 +49,8 @@ public enum ActionType */ CREATED(1), /** + * + * *
    * Resource was updated in this change.
    * 
@@ -37,6 +59,8 @@ public enum ActionType */ UPDATED(2), /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -48,6 +72,8 @@ public enum ActionType ; /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -56,6 +82,8 @@ public enum ActionType */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource was created in this change.
    * 
@@ -64,6 +92,8 @@ public enum ActionType */ public static final int CREATED_VALUE = 1; /** + * + * *
    * Resource was updated in this change.
    * 
@@ -72,6 +102,8 @@ public enum ActionType */ public static final int UPDATED_VALUE = 2; /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -80,7 +112,6 @@ public enum ActionType */ public static final int DELETED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: return ACTION_TYPE_UNSPECIFIED; - case 1: return CREATED; - case 2: return UPDATED; - case 3: return DELETED; - default: return null; + case 0: + return ACTION_TYPE_UNSPECIFIED; + case 1: + return CREATED; + case 2: + return UPDATED; + case 3: + return DELETED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -164,4 +196,3 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActionType) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java index 3ec53b37..b34ddadc 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.ActorType}
  */
-public enum ActorType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -22,6 +40,8 @@ public enum ActorType */ ACTOR_TYPE_UNSPECIFIED(0), /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -30,6 +50,8 @@ public enum ActorType */ USER(1), /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -38,6 +60,8 @@ public enum ActorType */ SYSTEM(2), /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -49,6 +73,8 @@ public enum ActorType ; /** + * + * *
    * Unknown or unspecified actor type.
    * 
@@ -57,6 +83,8 @@ public enum ActorType */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -65,6 +93,8 @@ public enum ActorType */ public static final int USER_VALUE = 1; /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -73,6 +103,8 @@ public enum ActorType */ public static final int SYSTEM_VALUE = 2; /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -81,7 +113,6 @@ public enum ActorType */ public static final int SUPPORT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: return ACTOR_TYPE_UNSPECIFIED; - case 1: return USER; - case 2: return SYSTEM; - case 3: return SUPPORT; - default: return null; + case 0: + return ACTOR_TYPE_UNSPECIFIED; + case 1: + return USER; + case 2: + return SYSTEM; + case 3: + return SUPPORT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActorType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -165,4 +197,3 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActorType) } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java new file mode 100644 index 00000000..a787a63a --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -0,0 +1,2269 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// 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_GetAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; + + 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\032.google/analytics/admin/v1alpha/r" + + "esources.proto\032\034google/api/annotations.p" + + "roto\032\027google/api/client.proto\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\032\033google/protobuf/empty.proto\032 " + + "google/protobuf/field_mask.proto\032\037google" + + "/protobuf/timestamp.proto\"P\n\021GetAccountR" + + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsa" + + "dmin.googleapis.com/Account\"R\n\023ListAccou" + + "ntsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" + + "ken\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"j\n\024ListA" + + "ccountsResponse\0229\n\010accounts\030\001 \003(\0132\'.goog" + + "le.analytics.admin.v1alpha.Account\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"S\n\024DeleteAccountRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + + "n.googleapis.com/Account\"\213\001\n\024UpdateAccou" + + "ntRequest\022=\n\007account\030\001 \001(\0132\'.google.anal" + + "ytics.admin.v1alpha.AccountB\003\340A\002\0224\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\002\"o\n\035ProvisionAccountTicketRequest\022" + + "8\n\007account\030\001 \001(\0132\'.google.analytics.admi" + + "n.v1alpha.Account\022\024\n\014redirect_uri\030\002 \001(\t\"" + + ";\n\036ProvisionAccountTicketResponse\022\031\n\021acc" + + "ount_ticket_id\030\001 \001(\t\"R\n\022GetPropertyReque" + + "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin" + + ".googleapis.com/Property\"i\n\025ListProperti" + + "esRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_de" + + "leted\030\004 \001(\010\"o\n\026ListPropertiesResponse\022<\n" + + "\nproperties\030\001 \003(\0132(.google.analytics.adm" + + "in.v1alpha.Property\022\027\n\017next_page_token\030\002" + + " \001(\t\"\216\001\n\025UpdatePropertyRequest\022?\n\010proper" + + "ty\030\001 \001(\0132(.google.analytics.admin.v1alph" + + "a.PropertyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\"X\n\025CreateP" + + "ropertyRequest\022?\n\010property\030\001 \001(\0132(.googl" + + "e.analytics.admin.v1alpha.PropertyB\003\340A\002\"" + + "U\n\025DeletePropertyRequest\022<\n\004name\030\001 \001(\tB." + + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Pr" + + "operty\"R\n\022GetUserLinkRequest\022<\n\004name\030\001 \001" + + "(\tB.\340A\002\372A(\n&analyticsadmin.googleapis.co" + + "m/UserLink\"\231\001\n\030BatchGetUserLinksRequest\022" + + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin." + + "googleapis.com/UserLink\022=\n\005names\030\002 \003(\tB." + + "\340A\002\372A(\n&analyticsadmin.googleapis.com/Us" + + "erLink\"Y\n\031BatchGetUserLinksResponse\022<\n\nu" + + "ser_links\030\001 \003(\0132(.google.analytics.admin" + + ".v1alpha.UserLink\"}\n\024ListUserLinksReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025ListUserLink" + + "sResponse\022<\n\nuser_links\030\001 \003(\0132(.google.a" + + "nalytics.admin.v1alpha.UserLink\022\027\n\017next_" + + "page_token\030\002 \001(\t\"~\n\025AuditUserLinksReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmi" + + "n.googleapis.com/UserLink\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026AuditUserLin" + + "ksResponse\022A\n\nuser_links\030\001 \003(\0132-.google." + + "analytics.admin.v1alpha.AuditUserLink\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\267\001\n\025CreateUserLin" + + "kRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt" + + "icsadmin.googleapis.com/UserLink\022\034\n\017noti" + + "fy_new_user\030\002 \001(\010B\003\340A\001\022@\n\tuser_link\030\003 \001(" + + "\0132(.google.analytics.admin.v1alpha.UserL" + + "inkB\003\340A\002\"\312\001\n\033BatchCreateUserLinksRequest" + + "\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin" + + ".googleapis.com/UserLink\022\035\n\020notify_new_u" + + "sers\030\002 \001(\010B\003\340A\001\022L\n\010requests\030\003 \003(\01325.goog" + + "le.analytics.admin.v1alpha.CreateUserLin" + + "kRequestB\003\340A\002\"\\\n\034BatchCreateUserLinksRes" + + "ponse\022<\n\nuser_links\030\001 \003(\0132(.google.analy" + + "tics.admin.v1alpha.UserLink\"Y\n\025UpdateUse" + + "rLinkRequest\022@\n\tuser_link\030\001 \001(\0132(.google" + + ".analytics.admin.v1alpha.UserLinkB\003\340A\002\"\253" + + "\001\n\033BatchUpdateUserLinksRequest\022>\n\006parent" + + "\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleapi" + + "s.com/UserLink\022L\n\010requests\030\002 \003(\01325.googl" + + "e.analytics.admin.v1alpha.UpdateUserLink" + + "RequestB\003\340A\002\"\\\n\034BatchUpdateUserLinksResp" + + "onse\022<\n\nuser_links\030\001 \003(\0132(.google.analyt" + + "ics.admin.v1alpha.UserLink\"U\n\025DeleteUser" + + "LinkRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analy" + + "ticsadmin.googleapis.com/UserLink\"\253\001\n\033Ba" + + "tchDeleteUserLinksRequest\022>\n\006parent\030\001 \001(" + + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com" + + "/UserLink\022L\n\010requests\030\002 \003(\01325.google.ana" + + "lytics.admin.v1alpha.DeleteUserLinkReque" + + "stB\003\340A\002\"\\\n\027GetWebDataStreamRequest\022A\n\004na" + + "me\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googlea" + + "pis.com/WebDataStream\"_\n\032DeleteWebDataSt" + + "reamRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analy" + + "ticsadmin.googleapis.com/WebDataStream\"\237" + + "\001\n\032UpdateWebDataStreamRequest\022K\n\017web_dat" + + "a_stream\030\001 \001(\0132-.google.analytics.admin." + + "v1alpha.WebDataStreamB\003\340A\002\0224\n\013update_mas" + + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" + + "\"\256\001\n\032CreateWebDataStreamRequest\022K\n\017web_d" + + "ata_stream\030\001 \001(\0132-.google.analytics.admi" + + "n.v1alpha.WebDataStreamB\003\340A\002\022C\n\006parent\030\002" + + " \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis." + + "com/WebDataStream\"\207\001\n\031ListWebDataStreams" + + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyti" + + "csadmin.googleapis.com/WebDataStream\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n\032L" + + "istWebDataStreamsResponse\022G\n\020web_data_st" + + "reams\030\001 \003(\0132-.google.analytics.admin.v1a" + + "lpha.WebDataStream\022\027\n\017next_page_token\030\002 " + + "\001(\t\"b\n\032GetIosAppDataStreamRequest\022D\n\004nam" + + "e\030\001 \001(\tB6\340A\002\372A0\n.analyticsadmin.googleap" + + "is.com/IosAppDataStream\"e\n\035DeleteIosAppD" + + "ataStreamRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n." + + "analyticsadmin.googleapis.com/IosAppData" + + "Stream\"\251\001\n\035UpdateIosAppDataStreamRequest" + + "\022R\n\023ios_app_data_stream\030\001 \001(\01320.google.a" + + "nalytics.admin.v1alpha.IosAppDataStreamB" + + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"\215\001\n\034ListIosAppDataStr" + + "eamsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.ana" + + "lyticsadmin.googleapis.com/IosAppDataStr" + + "eam\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\"\210\001\n\035ListIosAppDataStreamsResponse\022N\n\024" + + "ios_app_data_streams\030\001 \003(\01320.google.anal" + + "ytics.admin.v1alpha.IosAppDataStream\022\027\n\017" + + "next_page_token\030\002 \001(\t\"j\n\036GetAndroidAppDa" + + "taStreamRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2a" + + "nalyticsadmin.googleapis.com/AndroidAppD" + + "ataStream\"m\n!DeleteAndroidAppDataStreamR" + + "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2analyticsa" + + "dmin.googleapis.com/AndroidAppDataStream" + + "\"\265\001\n!UpdateAndroidAppDataStreamRequest\022Z" + + "\n\027android_app_data_stream\030\001 \001(\01324.google" + + ".analytics.admin.v1alpha.AndroidAppDataS" + + "treamB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMaskB\003\340A\002\"\225\001\n ListAndroid" + + "AppDataStreamsRequest\022J\n\006parent\030\001 \001(\tB:\340" + + "A\002\372A4\0222analyticsadmin.googleapis.com/And" + + "roidAppDataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\224\001\n!ListAndroidAppDataS" + + "treamsResponse\022V\n\030android_app_data_strea" + + "ms\030\001 \003(\01324.google.analytics.admin.v1alph" + + "a.AndroidAppDataStream\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\251\001\n\031CreateFirebaseLinkRequest\022B\n" + + "\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.go" + + "ogleapis.com/FirebaseLink\022H\n\rfirebase_li" + + "nk\030\002 \001(\0132,.google.analytics.admin.v1alph" + + "a.FirebaseLinkB\003\340A\002\"]\n\031DeleteFirebaseLin" + + "kRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analytic" + + "sadmin.googleapis.com/FirebaseLink\"\205\001\n\030L" + + "istFirebaseLinksRequest\022B\n\006parent\030\001 \001(\tB" + + "2\340A\002\372A,\022*analyticsadmin.googleapis.com/F" + + "irebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"z\n\031ListFirebaseLinksResponse\022" + + "D\n\016firebase_links\030\001 \003(\0132,.google.analyti" + + "cs.admin.v1alpha.FirebaseLink\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\\\n\027GetGlobalSiteTagReques" + + "t\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin." + + "googleapis.com/GlobalSiteTag\"\256\001\n\032CreateG" + + "oogleAdsLinkRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" + + "\372A-\022+analyticsadmin.googleapis.com/Googl" + + "eAdsLink\022K\n\017google_ads_link\030\002 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink" + + "B\003\340A\002\"\232\001\n\032UpdateGoogleAdsLinkRequest\022F\n\017" + + "google_ads_link\030\001 \001(\0132-.google.analytics" + + ".admin.v1alpha.GoogleAdsLink\0224\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + + "A\002\"_\n\032DeleteGoogleAdsLinkRequest\022A\n\004name" + + "\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.googleapi" + + "s.com/GoogleAdsLink\"\207\001\n\031ListGoogleAdsLin" + + "ksRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analy" + + "ticsadmin.googleapis.com/GoogleAdsLink\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"~\n" + + "\032ListGoogleAdsLinksResponse\022G\n\020google_ad" + + "s_links\030\001 \003(\0132-.google.analytics.admin.v" + + "1alpha.GoogleAdsLink\022\027\n\017next_page_token\030" + + "\002 \001(\t\"h\n\035GetDataSharingSettingsRequest\022G" + + "\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyticsadmin.goo" + + "gleapis.com/DataSharingSettings\"D\n\033ListA" + + "ccountSummariesRequest\022\021\n\tpage_size\030\001 \001(" + + "\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAccountSum" + + "mariesResponse\022I\n\021account_summaries\030\001 \003(" + + "\0132..google.analytics.admin.v1alpha.Accou" + + "ntSummary\022\027\n\017next_page_token\030\002 \001(\t\"\206\001\n$A" + + "cknowledgeUserDataCollectionRequest\022@\n\010p" + + "roperty\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.go" + + "ogleapis.com/Property\022\034\n\017acknowledgement" + + "\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUserDataCollec" + + "tionResponse\"\203\004\n SearchChangeHistoryEven" + + "tsRequest\022>\n\007account\030\001 \001(\tB-\340A\002\372A\'\n%anal" + + "yticsadmin.googleapis.com/Account\022@\n\010pro" + + "perty\030\002 \001(\tB.\340A\001\372A(\n&analyticsadmin.goog" + + "leapis.com/Property\022U\n\rresource_type\030\003 \003" + + "(\01629.google.analytics.admin.v1alpha.Chan" + + "geHistoryResourceTypeB\003\340A\001\022?\n\006action\030\004 \003" + + "(\0162*.google.analytics.admin.v1alpha.Acti" + + "onTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\tB\003\340A\001\022=\n" + + "\024earliest_change_time\030\006 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\001\022;\n\022latest_change_ti" + + "me\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeHistoryEvents" + + "Response\022Q\n\025change_history_events\030\001 \003(\0132" + + "2.google.analytics.admin.v1alpha.ChangeH" + + "istoryEvent\022\027\n\017next_page_token\030\002 \001(\t\"t\n#" + + "GetMeasurementProtocolSecretRequest\022M\n\004n" + + "ame\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.google" + + "apis.com/MeasurementProtocolSecret\"\336\001\n&C" + + "reateMeasurementProtocolSecretRequest\022O\n" + + "\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsadmin.go" + + "ogleapis.com/MeasurementProtocolSecret\022c" + + "\n\033measurement_protocol_secret\030\002 \001(\01329.go" + + "ogle.analytics.admin.v1alpha.Measurement" + + "ProtocolSecretB\003\340A\002\"w\n&DeleteMeasurement" + + "ProtocolSecretRequest\022M\n\004name\030\001 \001(\tB?\340A\002" + + "\372A9\n7analyticsadmin.googleapis.com/Measu" + + "rementProtocolSecret\"\276\001\n&UpdateMeasureme" + + "ntProtocolSecretRequest\022c\n\033measurement_p" + + "rotocol_secret\030\001 \001(\01329.google.analytics." + + "admin.v1alpha.MeasurementProtocolSecretB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"\237\001\n%ListMeasurementProtoco" + + "lSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\022" + + "7analyticsadmin.googleapis.com/Measureme" + + "ntProtocolSecret\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"\242\001\n&ListMeasurementProto" + + "colSecretsResponse\022_\n\034measurement_protoc" + + "ol_secrets\030\001 \003(\01329.google.analytics.admi" + + "n.v1alpha.MeasurementProtocolSecret\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"l\n\037GetGoogleSignals" + + "SettingsRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3a" + + "nalyticsadmin.googleapis.com/GoogleSigna" + + "lsSettings\"\267\001\n\"UpdateGoogleSignalsSettin" + + "gsRequest\022[\n\027google_signals_settings\030\001 \001" + + "(\01325.google.analytics.admin.v1alpha.Goog" + + "leSignalsSettingsB\003\340A\002\0224\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\265\001\n" + + "\034CreateConversionEventRequest\022N\n\020convers" + + "ion_event\030\001 \001(\0132/.google.analytics.admin" + + ".v1alpha.ConversionEventB\003\340A\002\022E\n\006parent\030" + + "\002 \001(\tB5\340A\002\372A/\022-analyticsadmin.googleapis" + + ".com/ConversionEvent\"`\n\031GetConversionEve" + + "ntRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyti" + + "csadmin.googleapis.com/ConversionEvent\"c" + + "\n\034DeleteConversionEventRequest\022C\n\004name\030\001" + + " \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis." + + "com/ConversionEvent\"\213\001\n\033ListConversionEv" + + "entsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-ana" + + "lyticsadmin.googleapis.com/ConversionEve" + + "nt\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"\203\001\n\034ListConversionEventsResponse\022J\n\021co" + + "nversion_events\030\001 \003(\0132/.google.analytics" + + ".admin.v1alpha.ConversionEvent\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"|\n\'GetDisplayVideo360Adv" + + "ertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=" + + "\n;analyticsadmin.googleapis.com/DisplayV" + + "ideo360AdvertiserLink\"\247\001\n)ListDisplayVid" + + "eo360AdvertiserLinksRequest\022S\n\006parent\030\001 " + + "\001(\tBC\340A\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\"\360\001\n*CreateDisplayVideo360Adve" + + "rtiserLinkRequest\022S\n\006parent\030\001 \001(\tBC\340A\002\372A" + + "=\022;analyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLink\022m\n!display_video_" + + "360_advertiser_link\030\002 \001(\0132=.google.analy" + + "tics.admin.v1alpha.DisplayVideo360Advert" + + "iserLinkB\003\340A\002\"\177\n*DeleteDisplayVideo360Ad" + + "vertiserLinkRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A" + + "=\n;analyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLink\"\314\001\n*UpdateDisplay" + + "Video360AdvertiserLinkRequest\022h\n!display" + + "_video_360_advertiser_link\030\001 \001(\0132=.googl" + + "e.analytics.admin.v1alpha.DisplayVideo36" + + "0AdvertiserLink\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\"\214\001\n/GetDis" + + "playVideo360AdvertiserLinkProposalReques" + + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "LinkProposal\"\267\001\n1ListDisplayVideo360Adve" + + "rtiserLinkProposalsRequest\022[\n\006parent\030\001 \001" + + "(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis.co" + + "m/DisplayVideo360AdvertiserLinkProposal\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\311" + + "\001\n2ListDisplayVideo360AdvertiserLinkProp" + + "osalsResponse\022z\n+display_video_360_adver" + + "tiser_link_proposals\030\001 \003(\0132E.google.anal" + + "ytics.admin.v1alpha.DisplayVideo360Adver" + + "tiserLinkProposal\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\221\002\n2CreateDisplayVideo360AdvertiserLi" + + "nkProposalRequest\022[\n\006parent\030\001 \001(\tBK\340A\002\372A" + + "E\022Canalyticsadmin.googleapis.com/Display" + + "Video360AdvertiserLinkProposal\022~\n*displa" + + "y_video_360_advertiser_link_proposal\030\002 \001" + + "(\0132E.google.analytics.admin.v1alpha.Disp" + + "layVideo360AdvertiserLinkProposalB\003\340A\002\"\217" + + "\001\n2DeleteDisplayVideo360AdvertiserLinkPr" + + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + + "lyticsadmin.googleapis.com/DisplayVideo3" + + "60AdvertiserLinkProposal\"\220\001\n3ApproveDisp" + + "layVideo360AdvertiserLinkProposalRequest" + + "\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin.g" + + "oogleapis.com/DisplayVideo360AdvertiserL" + + "inkProposal\"\240\001\n4ApproveDisplayVideo360Ad" + + "vertiserLinkProposalResponse\022h\n!display_" + + "video_360_advertiser_link\030\001 \001(\0132=.google" + + ".analytics.admin.v1alpha.DisplayVideo360" + + "AdvertiserLink\"\217\001\n2CancelDisplayVideo360" + + "AdvertiserLinkProposalRequest\022Y\n\004name\030\001 " + + "\001(\tBK\340A\002\372AE\nCanalyticsadmin.googleapis.c" + + "om/DisplayVideo360AdvertiserLinkProposal" + + "\"\265\001\n\034CreateCustomDimensionRequest\022E\n\006par" + + "ent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.google" + + "apis.com/CustomDimension\022N\n\020custom_dimen" + + "sion\030\002 \001(\0132/.google.analytics.admin.v1al" + + "pha.CustomDimensionB\003\340A\002\"\237\001\n\034UpdateCusto" + + "mDimensionRequest\022I\n\020custom_dimension\030\001 " + + "\001(\0132/.google.analytics.admin.v1alpha.Cus" + + "tomDimension\0224\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCusto" + + "mDimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372" + + "A/\022-analyticsadmin.googleapis.com/Custom" + + "Dimension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"\203\001\n\034ListCustomDimensionsRespons" + + "e\022J\n\021custom_dimensions\030\001 \003(\0132/.google.an" + + "alytics.admin.v1alpha.CustomDimension\022\027\n" + + "\017next_page_token\030\002 \001(\t\"d\n\035ArchiveCustomD" + + "imensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-a" + + "nalyticsadmin.googleapis.com/CustomDimen" + + "sion\"`\n\031GetCustomDimensionRequest\022C\n\004nam" + + "e\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleap" + + "is.com/CustomDimension\"\251\001\n\031CreateCustomM" + + "etricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/CustomMetric" + + "\022H\n\rcustom_metric\030\002 \001(\0132,.google.analyti" + + "cs.admin.v1alpha.CustomMetricB\003\340A\002\"\226\001\n\031U" + + "pdateCustomMetricRequest\022C\n\rcustom_metri" + + "c\030\001 \001(\0132,.google.analytics.admin.v1alpha" + + ".CustomMetric\0224\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCust" + + "omMetricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A," + + "\022*analyticsadmin.googleapis.com/CustomMe" + + "tric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"z\n\031ListCustomMetricsResponse\022D\n\016cust" + + "om_metrics\030\001 \003(\0132,.google.analytics.admi" + + "n.v1alpha.CustomMetric\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"^\n\032ArchiveCustomMetricRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + + "leapis.com/CustomMetric\"Z\n\026GetCustomMetr" + + "icRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyti" + + "csadmin.googleapis.com/CustomMetric\"l\n\037G" + + "etDataRetentionSettingsRequest\022I\n\004name\030\001" + + " \001(\tB;\340A\002\372A5\n3analyticsadmin.googleapis." + + "com/DataRetentionSettings\"\267\001\n\"UpdateData" + + "RetentionSettingsRequest\022[\n\027data_retenti" + + "on_settings\030\001 \001(\01325.google.analytics.adm" + + "in.v1alpha.DataRetentionSettingsB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\003\340A\002\"\241\001\n\027CreateDataStreamRequest\022" + + "@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin." + + "googleapis.com/DataStream\022D\n\013data_stream" + + "\030\002 \001(\0132*.google.analytics.admin.v1alpha." + + "DataStreamB\003\340A\002\"Y\n\027DeleteDataStreamReque" + + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin" + + ".googleapis.com/DataStream\"\220\001\n\027UpdateDat" + + "aStreamRequest\022?\n\013data_stream\030\001 \001(\0132*.go" + + "ogle.analytics.admin.v1alpha.DataStream\022" + + "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\003\340A\002\"\201\001\n\026ListDataStreamsRequest" + + "\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin" + + ".googleapis.com/DataStream\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListDataStr" + + "eamsResponse\022@\n\014data_streams\030\001 \003(\0132*.goo" + + "gle.analytics.admin.v1alpha.DataStream\022\027" + + "\n\017next_page_token\030\002 \001(\t\"V\n\024GetDataStream" + + "Request\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analytics" + + "admin.googleapis.com/DataStream2\363\236\001\n\025Ana" + + "lyticsAdminService\022\223\001\n\nGetAccount\0221.goog" + + "le.analytics.admin.v1alpha.GetAccountReq" + + "uest\032\'.google.analytics.admin.v1alpha.Ac" + + "count\")\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*" + + "}\332A\004name\022\224\001\n\014ListAccounts\0223.google.analy" + + "tics.admin.v1alpha.ListAccountsRequest\0324" + + ".google.analytics.admin.v1alpha.ListAcco" + + "untsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022" + + "\210\001\n\rDeleteAccount\0224.google.analytics.adm" + + "in.v1alpha.DeleteAccountRequest\032\026.google" + + ".protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha/{name=" + + "accounts/*}\332A\004name\022\271\001\n\rUpdateAccount\0224.g" + + "oogle.analytics.admin.v1alpha.UpdateAcco" + + "untRequest\032\'.google.analytics.admin.v1al" + + "pha.Account\"I\202\323\344\223\002-2\"/v1alpha/{account.n" + + "ame=accounts/*}:\007account\332A\023account,updat" + + "e_mask\022\314\001\n\026ProvisionAccountTicket\022=.goog" + + "le.analytics.admin.v1alpha.ProvisionAcco" + + "untTicketRequest\032>.google.analytics.admi", + "n.v1alpha.ProvisionAccountTicketResponse" + + "\"3\202\323\344\223\002-\"(/v1alpha/accounts:provisionAcc" + + "ountTicket:\001*\022\264\001\n\024ListAccountSummaries\022;" + + ".google.analytics.admin.v1alpha.ListAcco" + + "untSummariesRequest\032<.google.analytics.a" + + "dmin.v1alpha.ListAccountSummariesRespons" + + "e\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummaries\022\230\001\n" + + "\013GetProperty\0222.google.analytics.admin.v1" + + "alpha.GetPropertyRequest\032(.google.analyt" + + "ics.admin.v1alpha.Property\"+\202\323\344\223\002\036\022\034/v1a" + + "lpha/{name=properties/*}\332A\004name\022\234\001\n\016List" + + "Properties\0225.google.analytics.admin.v1al" + + "pha.ListPropertiesRequest\0326.google.analy" + + "tics.admin.v1alpha.ListPropertiesRespons" + + "e\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001\n\016Creat" + + "eProperty\0225.google.analytics.admin.v1alp" + + "ha.CreatePropertyRequest\032(.google.analyt" + + "ics.admin.v1alpha.Property\"0\202\323\344\223\002\037\"\023/v1a" + + "lpha/properties:\010property\332A\010property\022\236\001\n" + + "\016DeleteProperty\0225.google.analytics.admin" + + ".v1alpha.DeletePropertyRequest\032(.google." + + "analytics.admin.v1alpha.Property\"+\202\323\344\223\002\036" + + "*\034/v1alpha/{name=properties/*}\332A\004name\022\301\001" + + "\n\016UpdateProperty\0225.google.analytics.admi" + + "n.v1alpha.UpdatePropertyRequest\032(.google" + + ".analytics.admin.v1alpha.Property\"N\202\323\344\223\002" + + "12%/v1alpha/{property.name=properties/*}" + + ":\010property\332A\024property,update_mask\022\316\001\n\013Ge" + + "tUserLink\0222.google.analytics.admin.v1alp" + + "ha.GetUserLinkRequest\032(.google.analytics" + + ".admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&/v1alph" + + "a/{name=accounts/*/userLinks/*}Z*\022(/v1al" + + "pha/{name=properties/*/userLinks/*}\332A\004na" + + "me\022\366\001\n\021BatchGetUserLinks\0228.google.analyt" + + "ics.admin.v1alpha.BatchGetUserLinksReque" + + "st\0329.google.analytics.admin.v1alpha.Batc" + + "hGetUserLinksResponse\"l\202\323\344\223\002f\022//v1alpha/" + + "{parent=accounts/*}/userLinks:batchGetZ3" + + "\0221/v1alpha/{parent=properties/*}/userLin" + + "ks:batchGet\022\341\001\n\rListUserLinks\0224.google.a" + + "nalytics.admin.v1alpha.ListUserLinksRequ" + + "est\0325.google.analytics.admin.v1alpha.Lis" + + "tUserLinksResponse\"c\202\323\344\223\002T\022&/v1alpha/{pa" + + "rent=accounts/*}/userLinksZ*\022(/v1alpha/{" + + "parent=properties/*}/userLinks\332A\006parent\022" + + "\355\001\n\016AuditUserLinks\0225.google.analytics.ad" + + "min.v1alpha.AuditUserLinksRequest\0326.goog" + + "le.analytics.admin.v1alpha.AuditUserLink" + + "sResponse\"l\202\323\344\223\002f\",/v1alpha/{parent=acco" + + "unts/*}/userLinks:audit:\001*Z3\"./v1alpha/{" + + "parent=properties/*}/userLinks:audit:\001*\022" + + "\367\001\n\016CreateUserLink\0225.google.analytics.ad" + + "min.v1alpha.CreateUserLinkRequest\032(.goog" + + "le.analytics.admin.v1alpha.UserLink\"\203\001\202\323" + + "\344\223\002j\"&/v1alpha/{parent=accounts/*}/userL" + + "inks:\tuser_linkZ5\"(/v1alpha/{parent=prop" + + "erties/*}/userLinks:\tuser_link\332A\020parent," + + "user_link\022\213\002\n\024BatchCreateUserLinks\022;.goo" + + "gle.analytics.admin.v1alpha.BatchCreateU" + + "serLinksRequest\032<.google.analytics.admin" + + ".v1alpha.BatchCreateUserLinksResponse\"x\202" + + "\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/user" + + "Links:batchCreate:\001*Z9\"4/v1alpha/{parent" + + "=properties/*}/userLinks:batchCreate:\001*\022" + + "\204\002\n\016UpdateUserLink\0225.google.analytics.ad" + + "min.v1alpha.UpdateUserLinkRequest\032(.goog" + + "le.analytics.admin.v1alpha.UserLink\"\220\001\202\323" + + "\344\223\002~20/v1alpha/{user_link.name=accounts/" + + "*/userLinks/*}:\tuser_linkZ?22/v1alpha/{u" + + "ser_link.name=properties/*/userLinks/*}:" + + "\tuser_link\332A\tuser_link\022\213\002\n\024BatchUpdateUs" + + "erLinks\022;.google.analytics.admin.v1alpha" + + ".BatchUpdateUserLinksRequest\032<.google.an" + + "alytics.admin.v1alpha.BatchUpdateUserLin" + + "ksResponse\"x\202\323\344\223\002r\"2/v1alpha/{parent=acc" + + "ounts/*}/userLinks:batchUpdate:\001*Z9\"4/v1" + + "alpha/{parent=properties/*}/userLinks:ba" + + "tchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225.google" + + ".analytics.admin.v1alpha.DeleteUserLinkR" + + "equest\032\026.google.protobuf.Empty\"a\202\323\344\223\002T*&" + + "/v1alpha/{name=accounts/*/userLinks/*}Z*" + + "*(/v1alpha/{name=properties/*/userLinks/" + + "*}\332A\004name\022\345\001\n\024BatchDeleteUserLinks\022;.goo" + + "gle.analytics.admin.v1alpha.BatchDeleteU" + + "serLinksRequest\032\026.google.protobuf.Empty\"" + + "x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/us" + + "erLinks:batchDelete:\001*Z9\"4/v1alpha/{pare" + + "nt=properties/*}/userLinks:batchDelete:\001" + + "*\022\270\001\n\020GetWebDataStream\0227.google.analytic" + + "s.admin.v1alpha.GetWebDataStreamRequest\032" + + "-.google.analytics.admin.v1alpha.WebData" + + "Stream\"<\202\323\344\223\002/\022-/v1alpha/{name=propertie" + + "s/*/webDataStreams/*}\332A\004name\022\247\001\n\023DeleteW" + + "ebDataStream\022:.google.analytics.admin.v1" + + "alpha.DeleteWebDataStreamRequest\032\026.googl" + + "e.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{name" + + "=properties/*/webDataStreams/*}\332A\004name\022\366" + + "\001\n\023UpdateWebDataStream\022:.google.analytic" + + "s.admin.v1alpha.UpdateWebDataStreamReque" + + "st\032-.google.analytics.admin.v1alpha.WebD" + + "ataStream\"t\202\323\344\223\002P2=/v1alpha/{web_data_st" + + "ream.name=properties/*/webDataStreams/*}" + + ":\017web_data_stream\332A\033web_data_stream,upda" + + "te_mask\022\341\001\n\023CreateWebDataStream\022:.google" + + ".analytics.admin.v1alpha.CreateWebDataSt" + + "reamRequest\032-.google.analytics.admin.v1a" + + "lpha.WebDataStream\"_\202\323\344\223\002@\"-/v1alpha/{pa" + + "rent=properties/*}/webDataStreams:\017web_d" + + "ata_stream\332A\026parent,web_data_stream\022\313\001\n\022" + + "ListWebDataStreams\0229.google.analytics.ad" + + "min.v1alpha.ListWebDataStreamsRequest\032:." + + "google.analytics.admin.v1alpha.ListWebDa" + + "taStreamsResponse\">\202\323\344\223\002/\022-/v1alpha/{par" + + "ent=properties/*}/webDataStreams\332A\006paren" + + "t\022\304\001\n\023GetIosAppDataStream\022:.google.analy" + + "tics.admin.v1alpha.GetIosAppDataStreamRe" + + "quest\0320.google.analytics.admin.v1alpha.I" + + "osAppDataStream\"?\202\323\344\223\0022\0220/v1alpha/{name=" + + "properties/*/iosAppDataStreams/*}\332A\004name" + + "\022\260\001\n\026DeleteIosAppDataStream\022=.google.ana" + + "lytics.admin.v1alpha.DeleteIosAppDataStr" + + "eamRequest\032\026.google.protobuf.Empty\"?\202\323\344\223" + + "\0022*0/v1alpha/{name=properties/*/iosAppDa" + + "taStreams/*}\332A\004name\022\217\002\n\026UpdateIosAppData" + + "Stream\022=.google.analytics.admin.v1alpha." + + "UpdateIosAppDataStreamRequest\0320.google.a" + + "nalytics.admin.v1alpha.IosAppDataStream\"" + + "\203\001\202\323\344\223\002[2D/v1alpha/{ios_app_data_stream." + + "name=properties/*/iosAppDataStreams/*}:\023" + + "ios_app_data_stream\332A\037ios_app_data_strea" + + "m,update_mask\022\327\001\n\025ListIosAppDataStreams\022" + + "<.google.analytics.admin.v1alpha.ListIos" + + "AppDataStreamsRequest\032=.google.analytics" + + ".admin.v1alpha.ListIosAppDataStreamsResp" + + "onse\"A\202\323\344\223\0022\0220/v1alpha/{parent=propertie" + + "s/*}/iosAppDataStreams\332A\006parent\022\324\001\n\027GetA" + + "ndroidAppDataStream\022>.google.analytics.a" + + "dmin.v1alpha.GetAndroidAppDataStreamRequ" + + "est\0324.google.analytics.admin.v1alpha.And" + + "roidAppDataStream\"C\202\323\344\223\0026\0224/v1alpha/{nam" + + "e=properties/*/androidAppDataStreams/*}\332" + + "A\004name\022\274\001\n\032DeleteAndroidAppDataStream\022A." + + "google.analytics.admin.v1alpha.DeleteAnd" + + "roidAppDataStreamRequest\032\026.google.protob" + + "uf.Empty\"C\202\323\344\223\0026*4/v1alpha/{name=propert" + + "ies/*/androidAppDataStreams/*}\332A\004name\022\253\002" + + "\n\032UpdateAndroidAppDataStream\022A.google.an" + + "alytics.admin.v1alpha.UpdateAndroidAppDa" + + "taStreamRequest\0324.google.analytics.admin" + + ".v1alpha.AndroidAppDataStream\"\223\001\202\323\344\223\002g2L" + + "/v1alpha/{android_app_data_stream.name=p" + + "roperties/*/androidAppDataStreams/*}:\027an" + + "droid_app_data_stream\332A#android_app_data" + + "_stream,update_mask\022\347\001\n\031ListAndroidAppDa" + + "taStreams\022@.google.analytics.admin.v1alp" + + "ha.ListAndroidAppDataStreamsRequest\032A.go" + + "ogle.analytics.admin.v1alpha.ListAndroid" + + "AppDataStreamsResponse\"E\202\323\344\223\0026\0224/v1alpha" + + "/{parent=properties/*}/androidAppDataStr" + + "eams\332A\006parent\022\331\001\n\022CreateFirebaseLink\0229.g" + + "oogle.analytics.admin.v1alpha.CreateFire" + + "baseLinkRequest\032,.google.analytics.admin" + + ".v1alpha.FirebaseLink\"Z\202\323\344\223\002=\",/v1alpha/" + + "{parent=properties/*}/firebaseLinks:\rfir" + + "ebase_link\332A\024parent,firebase_link\022\244\001\n\022De" + + "leteFirebaseLink\0229.google.analytics.admi" + + "n.v1alpha.DeleteFirebaseLinkRequest\032\026.go" + + "ogle.protobuf.Empty\";\202\323\344\223\002.*,/v1alpha/{n" + + "ame=properties/*/firebaseLinks/*}\332A\004name" + + "\022\307\001\n\021ListFirebaseLinks\0228.google.analytic" + + "s.admin.v1alpha.ListFirebaseLinksRequest" + + "\0329.google.analytics.admin.v1alpha.ListFi" + + "rebaseLinksResponse\"=\202\323\344\223\002.\022,/v1alpha/{p" + + "arent=properties/*}/firebaseLinks\332A\006pare" + + "nt\022\306\001\n\020GetGlobalSiteTag\0227.google.analyti" + + "cs.admin.v1alpha.GetGlobalSiteTagRequest" + + "\032-.google.analytics.admin.v1alpha.Global" + + "SiteTag\"J\202\323\344\223\002=\022;/v1alpha/{name=properti" + + "es/*/webDataStreams/*/globalSiteTag}\332A\004n" + + "ame\022\341\001\n\023CreateGoogleAdsLink\022:.google.ana" + + "lytics.admin.v1alpha.CreateGoogleAdsLink" + + "Request\032-.google.analytics.admin.v1alpha" + + ".GoogleAdsLink\"_\202\323\344\223\002@\"-/v1alpha/{parent" + + "=properties/*}/googleAdsLinks:\017google_ad" + + "s_link\332A\026parent,google_ads_link\022\366\001\n\023Upda" + + "teGoogleAdsLink\022:.google.analytics.admin" + + ".v1alpha.UpdateGoogleAdsLinkRequest\032-.go" + + "ogle.analytics.admin.v1alpha.GoogleAdsLi" + + "nk\"t\202\323\344\223\002P2=/v1alpha/{google_ads_link.na" + + "me=properties/*/googleAdsLinks/*}:\017googl" + + "e_ads_link\332A\033google_ads_link,update_mask" + + "\022\247\001\n\023DeleteGoogleAdsLink\022:.google.analyt" + + "ics.admin.v1alpha.DeleteGoogleAdsLinkReq" + + "uest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/*-/v" + + "1alpha/{name=properties/*/googleAdsLinks" + + "/*}\332A\004name\022\313\001\n\022ListGoogleAdsLinks\0229.goog" + + "le.analytics.admin.v1alpha.ListGoogleAds" + + "LinksRequest\032:.google.analytics.admin.v1" + + "alpha.ListGoogleAdsLinksResponse\">\202\323\344\223\002/" + + "\022-/v1alpha/{parent=properties/*}/googleA" + + "dsLinks\332A\006parent\022\313\001\n\026GetDataSharingSetti" + + "ngs\022=.google.analytics.admin.v1alpha.Get" + + "DataSharingSettingsRequest\0323.google.anal" + + "ytics.admin.v1alpha.DataSharingSettings\"" + + "=\202\323\344\223\0020\022./v1alpha/{name=accounts/*/dataS" + + "haringSettings}\332A\004name\022\241\003\n\034GetMeasuremen" + + "tProtocolSecret\022C.google.analytics.admin" + + ".v1alpha.GetMeasurementProtocolSecretReq" + + "uest\0329.google.analytics.admin.v1alpha.Me" + + "asurementProtocolSecret\"\200\002\202\323\344\223\002\362\001\022J/v1al" + + "pha/{name=properties/*/webDataStreams/*/" + + "measurementProtocolSecrets/*}ZO\022M/v1alph" + + "a/{name=properties/*/iosAppDataStreams/*" + + "/measurementProtocolSecrets/*}ZS\022Q/v1alp" + + "ha/{name=properties/*/androidAppDataStre" + + "ams/*/measurementProtocolSecrets/*}\332A\004na" + + "me\022\264\003\n\036ListMeasurementProtocolSecrets\022E." + + "google.analytics.admin.v1alpha.ListMeasu" + + "rementProtocolSecretsRequest\032F.google.an" + + "alytics.admin.v1alpha.ListMeasurementPro" + + "tocolSecretsResponse\"\202\002\202\323\344\223\002\362\001\022J/v1alpha" + + "/{parent=properties/*/webDataStreams/*}/" + + "measurementProtocolSecretsZO\022M/v1alpha/{" + + "parent=properties/*/iosAppDataStreams/*}" + + "/measurementProtocolSecretsZS\022Q/v1alpha/" + + "{parent=properties/*/androidAppDataStrea" + + "ms/*}/measurementProtocolSecrets\332A\006paren" + + "t\022\234\004\n\037CreateMeasurementProtocolSecret\022F." + + "google.analytics.admin.v1alpha.CreateMea" + + "surementProtocolSecretRequest\0329.google.a" + + "nalytics.admin.v1alpha.MeasurementProtoc" + + "olSecret\"\365\002\202\323\344\223\002\311\002\"J/v1alpha/{parent=pro" + + "perties/*/webDataStreams/*}/measurementP" + + "rotocolSecrets:\033measurement_protocol_sec" + + "retZl\"M/v1alpha/{parent=properties/*/ios" + + "AppDataStreams/*}/measurementProtocolSec" + + "rets:\033measurement_protocol_secretZp\"Q/v1" + + "alpha/{parent=properties/*/androidAppDat" + + "aStreams/*}/measurementProtocolSecrets:\033" + + "measurement_protocol_secret\332A\"parent,mea" + + "surement_protocol_secret\022\204\003\n\037DeleteMeasu" + + "rementProtocolSecret\022F.google.analytics." + + "admin.v1alpha.DeleteMeasurementProtocolS" + + "ecretRequest\032\026.google.protobuf.Empty\"\200\002\202" + + "\323\344\223\002\362\001*J/v1alpha/{name=properties/*/webD" + + "ataStreams/*/measurementProtocolSecrets/" + + "*}ZO*M/v1alpha/{name=properties/*/iosApp" + + "DataStreams/*/measurementProtocolSecrets" + + "/*}ZS*Q/v1alpha/{name=properties/*/andro" + + "idAppDataStreams/*/measurementProtocolSe" + + "crets/*}\332A\004name\022\367\004\n\037UpdateMeasurementPro" + + "tocolSecret\022F.google.analytics.admin.v1a" + + "lpha.UpdateMeasurementProtocolSecretRequ" + + "est\0329.google.analytics.admin.v1alpha.Mea" + + "surementProtocolSecret\"\320\003\202\323\344\223\002\237\0032f/v1alp" + + "ha/{measurement_protocol_secret.name=pro" + + "perties/*/webDataStreams/*/measurementPr" + + "otocolSecrets/*}:\033measurement_protocol_s" + + "ecretZ\210\0012i/v1alpha/{measurement_protocol" + + "_secret.name=properties/*/iosAppDataStre" + + "ams/*/measurementProtocolSecrets/*}:\033mea" + + "surement_protocol_secretZ\214\0012m/v1alpha/{m" + + "easurement_protocol_secret.name=properti" + + "es/*/androidAppDataStreams/*/measurement" + + "ProtocolSecrets/*}:\033measurement_protocol" + + "_secret\332A\'measurement_protocol_secret,up" + + "date_mask\022\367\001\n\035AcknowledgeUserDataCollect" + + "ion\022D.google.analytics.admin.v1alpha.Ack" + + "nowledgeUserDataCollectionRequest\032E.goog" + + "le.analytics.admin.v1alpha.AcknowledgeUs" + + "erDataCollectionResponse\"I\202\323\344\223\002C\">/v1alp" + + "ha/{property=properties/*}:acknowledgeUs" + + "erDataCollection:\001*\022\344\001\n\031SearchChangeHist" + + "oryEvents\022@.google.analytics.admin.v1alp" + + "ha.SearchChangeHistoryEventsRequest\032A.go" + + "ogle.analytics.admin.v1alpha.SearchChang" + + "eHistoryEventsResponse\"B\202\323\344\223\002<\"7/v1alpha" + + "/{account=accounts/*}:searchChangeHistor" + + "yEvents:\001*\022\325\001\n\030GetGoogleSignalsSettings\022" + + "?.google.analytics.admin.v1alpha.GetGoog" + + "leSignalsSettingsRequest\0325.google.analyt" + + "ics.admin.v1alpha.GoogleSignalsSettings\"" + + "A\202\323\344\223\0024\0222/v1alpha/{name=properties/*/goo" + + "gleSignalsSettings}\332A\004name\022\254\002\n\033UpdateGoo" + + "gleSignalsSettings\022B.google.analytics.ad" + + "min.v1alpha.UpdateGoogleSignalsSettingsR" + + "equest\0325.google.analytics.admin.v1alpha." + + "GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v1alpha" + + "/{google_signals_settings.name=propertie" + + "s/*/googleSignalsSettings}:\027google_signa" + + "ls_settings\332A#google_signals_settings,up" + + "date_mask\022\353\001\n\025CreateConversionEvent\022<.go" + + "ogle.analytics.admin.v1alpha.CreateConve" + + "rsionEventRequest\032/.google.analytics.adm" + + "in.v1alpha.ConversionEvent\"c\202\323\344\223\002C\"//v1a" + + "lpha/{parent=properties/*}/conversionEve" + + "nts:\020conversion_event\332A\027parent,conversio" + + "n_event\022\300\001\n\022GetConversionEvent\0229.google." + + "analytics.admin.v1alpha.GetConversionEve" + + "ntRequest\032/.google.analytics.admin.v1alp" + + "ha.ConversionEvent\">\202\323\344\223\0021\022//v1alpha/{na" + + "me=properties/*/conversionEvents/*}\332A\004na" + + "me\022\255\001\n\025DeleteConversionEvent\022<.google.an" + + "alytics.admin.v1alpha.DeleteConversionEv" + + "entRequest\032\026.google.protobuf.Empty\">\202\323\344\223" + + "\0021*//v1alpha/{name=properties/*/conversi" + + "onEvents/*}\332A\004name\022\323\001\n\024ListConversionEve" + + "nts\022;.google.analytics.admin.v1alpha.Lis" + + "tConversionEventsRequest\032<.google.analyt" + + "ics.admin.v1alpha.ListConversionEventsRe" + + "sponse\"@\202\323\344\223\0021\022//v1alpha/{parent=propert" + + "ies/*}/conversionEvents\332A\006parent\022\370\001\n Get" + + "DisplayVideo360AdvertiserLink\022G.google.a" + + "nalytics.admin.v1alpha.GetDisplayVideo36" + + "0AdvertiserLinkRequest\032=.google.analytic" + + "s.admin.v1alpha.DisplayVideo360Advertise" + + "rLink\"L\202\323\344\223\002?\022=/v1alpha/{name=properties" + + "/*/displayVideo360AdvertiserLinks/*}\332A\004n" + + "ame\022\213\002\n\"ListDisplayVideo360AdvertiserLin" + + "ks\022I.google.analytics.admin.v1alpha.List" + + "DisplayVideo360AdvertiserLinksRequest\032J." + + "google.analytics.admin.v1alpha.ListDispl" + + "ayVideo360AdvertiserLinksResponse\"N\202\323\344\223\002" + + "?\022=/v1alpha/{parent=properties/*}/displa" + + "yVideo360AdvertiserLinks\332A\006parent\022\306\002\n#Cr" + + "eateDisplayVideo360AdvertiserLink\022J.goog" + + "le.analytics.admin.v1alpha.CreateDisplay" + + "Video360AdvertiserLinkRequest\032=.google.a" + + "nalytics.admin.v1alpha.DisplayVideo360Ad" + + "vertiserLink\"\223\001\202\323\344\223\002b\"=/v1alpha/{parent=" + + "properties/*}/displayVideo360AdvertiserL" + + "inks:!display_video_360_advertiser_link\332" + + "A(parent,display_video_360_advertiser_li" + + "nk\022\327\001\n#DeleteDisplayVideo360AdvertiserLi" + + "nk\022J.google.analytics.admin.v1alpha.Dele" + + "teDisplayVideo360AdvertiserLinkRequest\032\026" + + ".google.protobuf.Empty\"L\202\323\344\223\002?*=/v1alpha" + + "/{name=properties/*/displayVideo360Adver" + + "tiserLinks/*}\332A\004name\022\356\002\n#UpdateDisplayVi" + + "deo360AdvertiserLink\022J.google.analytics." + + "admin.v1alpha.UpdateDisplayVideo360Adver" + + "tiserLinkRequest\032=.google.analytics.admi" + + "n.v1alpha.DisplayVideo360AdvertiserLink\"" + + "\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video_360_a" + + "dvertiser_link.name=properties/*/display" + + "Video360AdvertiserLinks/*}:!display_vide" + + "o_360_advertiser_link\332A-display_video_36" + + "0_advertiser_link,update_mask\022\230\002\n(GetDis" + + "playVideo360AdvertiserLinkProposal\022O.goo" + + "gle.analytics.admin.v1alpha.GetDisplayVi" + + "deo360AdvertiserLinkProposalRequest\032E.go" + + "ogle.analytics.admin.v1alpha.DisplayVide" + + "o360AdvertiserLinkProposal\"T\202\323\344\223\002G\022E/v1a" + + "lpha/{name=properties/*/displayVideo360A" + + "dvertiserLinkProposals/*}\332A\004name\022\253\002\n*Lis" + + "tDisplayVideo360AdvertiserLinkProposals\022" + + "Q.google.analytics.admin.v1alpha.ListDis" + + "playVideo360AdvertiserLinkProposalsReque" + + "st\032R.google.analytics.admin.v1alpha.List" + + "DisplayVideo360AdvertiserLinkProposalsRe" + + "sponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=propert" + + "ies/*}/displayVideo360AdvertiserLinkProp" + + "osals\332A\006parent\022\370\002\n+CreateDisplayVideo360" + + "AdvertiserLinkProposal\022R.google.analytic" + + "s.admin.v1alpha.CreateDisplayVideo360Adv" + + "ertiserLinkProposalRequest\032E.google.anal" + + "ytics.admin.v1alpha.DisplayVideo360Adver" + + "tiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alpha/{pa" + + "rent=properties/*}/displayVideo360Advert" + + "iserLinkProposals:*display_video_360_adv" + + "ertiser_link_proposal\332A1parent,display_v" + + "ideo_360_advertiser_link_proposal\022\357\001\n+De" + + "leteDisplayVideo360AdvertiserLinkProposa" + + "l\022R.google.analytics.admin.v1alpha.Delet" + + "eDisplayVideo360AdvertiserLinkProposalRe" + + "quest\032\026.google.protobuf.Empty\"T\202\323\344\223\002G*E/" + + "v1alpha/{name=properties/*/displayVideo3" + + "60AdvertiserLinkProposals/*}\332A\004name\022\263\002\n," + + "ApproveDisplayVideo360AdvertiserLinkProp" + + "osal\022S.google.analytics.admin.v1alpha.Ap" + + "proveDisplayVideo360AdvertiserLinkPropos" + + "alRequest\032T.google.analytics.admin.v1alp" + + "ha.ApproveDisplayVideo360AdvertiserLinkP" + + "roposalResponse\"X\202\323\344\223\002R\"M/v1alpha/{name=" + + "properties/*/displayVideo360AdvertiserLi" + + "nkProposals/*}:approve:\001*\022\241\002\n+CancelDisp" + + "layVideo360AdvertiserLinkProposal\022R.goog" + + "le.analytics.admin.v1alpha.CancelDisplay" + + "Video360AdvertiserLinkProposalRequest\032E." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkProposal\"W\202\323\344\223\002Q\"L/v" + + "1alpha/{name=properties/*/displayVideo36" + + "0AdvertiserLinkProposals/*}:cancel:\001*\022\353\001" + + "\n\025CreateCustomDimension\022<.google.analyti" + + "cs.admin.v1alpha.CreateCustomDimensionRe" + + "quest\032/.google.analytics.admin.v1alpha.C" + + "ustomDimension\"c\202\323\344\223\002C\"//v1alpha/{parent" + + "=properties/*}/customDimensions:\020custom_" + + "dimension\332A\027parent,custom_dimension\022\201\002\n\025" + + "UpdateCustomDimension\022<.google.analytics", + ".admin.v1alpha.UpdateCustomDimensionRequ" + + "est\032/.google.analytics.admin.v1alpha.Cus" + + "tomDimension\"y\202\323\344\223\002T2@/v1alpha/{custom_d" + + "imension.name=properties/*/customDimensi" + + "ons/*}:\020custom_dimension\332A\034custom_dimens" + + "ion,update_mask\022\323\001\n\024ListCustomDimensions" + + "\022;.google.analytics.admin.v1alpha.ListCu" + + "stomDimensionsRequest\032<.google.analytics" + + ".admin.v1alpha.ListCustomDimensionsRespo" + + "nse\"@\202\323\344\223\0021\022//v1alpha/{parent=properties" + + "/*}/customDimensions\332A\006parent\022\272\001\n\026Archiv" + + "eCustomDimension\022=.google.analytics.admi" + + "n.v1alpha.ArchiveCustomDimensionRequest\032" + + "\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/v1alph" + + "a/{name=properties/*/customDimensions/*}" + + ":archive:\001*\332A\004name\022\300\001\n\022GetCustomDimensio" + + "n\0229.google.analytics.admin.v1alpha.GetCu" + + "stomDimensionRequest\032/.google.analytics." + + "admin.v1alpha.CustomDimension\">\202\323\344\223\0021\022//" + + "v1alpha/{name=properties/*/customDimensi" + + "ons/*}\332A\004name\022\331\001\n\022CreateCustomMetric\0229.g" + + "oogle.analytics.admin.v1alpha.CreateCust" + + "omMetricRequest\032,.google.analytics.admin" + + ".v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1alpha/" + + "{parent=properties/*}/customMetrics:\rcus" + + "tom_metric\332A\024parent,custom_metric\022\354\001\n\022Up" + + "dateCustomMetric\0229.google.analytics.admi" + + "n.v1alpha.UpdateCustomMetricRequest\032,.go" + + "ogle.analytics.admin.v1alpha.CustomMetri" + + "c\"m\202\323\344\223\002K2:/v1alpha/{custom_metric.name=" + + "properties/*/customMetrics/*}:\rcustom_me" + + "tric\332A\031custom_metric,update_mask\022\307\001\n\021Lis" + + "tCustomMetrics\0228.google.analytics.admin." + + "v1alpha.ListCustomMetricsRequest\0329.googl" + + "e.analytics.admin.v1alpha.ListCustomMetr" + + "icsResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=pr" + + "operties/*}/customMetrics\332A\006parent\022\261\001\n\023A" + + "rchiveCustomMetric\022:.google.analytics.ad" + + "min.v1alpha.ArchiveCustomMetricRequest\032\026" + + ".google.protobuf.Empty\"F\202\323\344\223\0029\"4/v1alpha" + + "/{name=properties/*/customMetrics/*}:arc" + + "hive:\001*\332A\004name\022\264\001\n\017GetCustomMetric\0226.goo" + + "gle.analytics.admin.v1alpha.GetCustomMet" + + "ricRequest\032,.google.analytics.admin.v1al" + + "pha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha/{name" + + "=properties/*/customMetrics/*}\332A\004name\022\325\001" + + "\n\030GetDataRetentionSettings\022?.google.anal" + + "ytics.admin.v1alpha.GetDataRetentionSett" + + "ingsRequest\0325.google.analytics.admin.v1a" + + "lpha.DataRetentionSettings\"A\202\323\344\223\0024\0222/v1a" + + "lpha/{name=properties/*/dataRetentionSet" + + "tings}\332A\004name\022\254\002\n\033UpdateDataRetentionSet" + + "tings\022B.google.analytics.admin.v1alpha.U" + + "pdateDataRetentionSettingsRequest\0325.goog" + + "le.analytics.admin.v1alpha.DataRetention" + + "Settings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_retent" + + "ion_settings.name=properties/*/dataReten" + + "tionSettings}:\027data_retention_settings\332A" + + "#data_retention_settings,update_mask\022\315\001\n" + + "\020CreateDataStream\0227.google.analytics.adm" + + "in.v1alpha.CreateDataStreamRequest\032*.goo" + + "gle.analytics.admin.v1alpha.DataStream\"T" + + "\202\323\344\223\0029\"*/v1alpha/{parent=properties/*}/d" + + "ataStreams:\013data_stream\332A\022parent,data_st" + + "ream\022\236\001\n\020DeleteDataStream\0227.google.analy" + + "tics.admin.v1alpha.DeleteDataStreamReque" + + "st\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v1a" + + "lpha/{name=properties/*/dataStreams/*}\332A" + + "\004name\022\336\001\n\020UpdateDataStream\0227.google.anal" + + "ytics.admin.v1alpha.UpdateDataStreamRequ" + + "est\032*.google.analytics.admin.v1alpha.Dat" + + "aStream\"e\202\323\344\223\002E26/v1alpha/{data_stream.n" + + "ame=properties/*/dataStreams/*}:\013data_st" + + "ream\332A\027data_stream,update_mask\022\277\001\n\017ListD" + + "ataStreams\0226.google.analytics.admin.v1al" + + "pha.ListDataStreamsRequest\0327.google.anal" + + "ytics.admin.v1alpha.ListDataStreamsRespo" + + "nse\";\202\323\344\223\002,\022*/v1alpha/{parent=properties" + + "/*}/dataStreams\332A\006parent\022\254\001\n\rGetDataStre" + + "am\0224.google.analytics.admin.v1alpha.GetD" + + "ataStreamRequest\032*.google.analytics.admi" + + "n.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1alpha/{" + + "name=properties/*/dataStreams/*}\332A\004name\032" + + "\374\001\312A\035analyticsadmin.googleapis.com\322A\330\001ht" + + "tps://www.googleapis.com/auth/analytics." + + "edit,https://www.googleapis.com/auth/ana" + + "lytics.manage.users,https://www.googleap" + + "is.com/auth/analytics.manage.users.reado" + + "nly,https://www.googleapis.com/auth/anal" + + "ytics.readonlyB\200\001\n\"com.google.analytics." + + "admin.v1alphaB\023AnalyticsAdminProtoP\001ZCgo" + + "ogle.golang.org/genproto/googleapis/anal" + + "ytics/admin/v1alpha;adminb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + 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(1); + 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(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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(12); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Names", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "NotifyNewUser", "UserLink", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "NotifyNewUsers", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, + new java.lang.String[] { + "UserLink", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor, + new java.lang.String[] { + "WebDataStream", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor, + new java.lang.String[] { + "WebDataStream", "Parent", + }); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor, + new java.lang.String[] { + "WebDataStreams", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor, + new java.lang.String[] { + "IosAppDataStream", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor, + new java.lang.String[] { + "IosAppDataStreams", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor, + new java.lang.String[] { + "AndroidAppDataStream", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor, + new java.lang.String[] { + "AndroidAppDataStreams", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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(63); + 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(64); + 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(65); + 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(66); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { + "MeasurementProtocolSecrets", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(67); + 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(68); + 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(69); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, + new java.lang.String[] { + "ConversionEvent", "Parent", + }); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(70); + 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(71); + 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(72); + 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(73); + 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(74); + 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(75); + 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(76); + 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(77); + 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(78); + 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(79); + 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(80); + 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(81); + 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(82); + 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(83); + 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(84); + 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(85); + 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(86); + 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(87); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(88); + 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(89); + 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(90); + 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(91); + 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(92); + 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(93); + 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(94); + 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(95); + 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(96); + 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(97); + 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(98); + 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(99); + 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(100); + 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(101); + 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(102); + 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(103); + 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(104); + 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(105); + 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(106); + 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(107); + 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", + }); + 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.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java index 43fe5af0..fec64428 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics Android app stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AndroidAppDataStream} */ -public final class AndroidAppDataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AndroidAppDataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AndroidAppDataStream) AndroidAppDataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AndroidAppDataStream.newBuilder() to construct. private AndroidAppDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AndroidAppDataStream() { name_ = ""; firebaseAppId_ = ""; @@ -28,16 +46,15 @@ private AndroidAppDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AndroidAppDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AndroidAppDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,91 +73,103 @@ private AndroidAppDataStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - firebaseAppId_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + firebaseAppId_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - packageName_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + packageName_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -148,6 +177,7 @@ private AndroidAppDataStream(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -156,14 +186,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}/androidAppDataStreams/{stream_id}
@@ -171,16 +202,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 { @@ -191,12 +221,15 @@ public java.lang.String getName() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -205,30 +238,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 = 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 { @@ -239,11 +272,15 @@ public java.lang.String getFirebaseAppId() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when this stream 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 @@ -251,11 +288,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time when this stream 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 @@ -263,11 +304,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 = 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() { @@ -277,11 +321,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 stream 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 @@ -289,11 +337,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time when stream 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 @@ -301,11 +353,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 = 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() { @@ -315,12 +370,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PACKAGE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object packageName_; /** + * + * *
    * Immutable. The package name for the app being measured.
    * Example: "com.example.myandroidapp"
    * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ @java.lang.Override @@ -329,30 +387,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 = 5 [(.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 { @@ -363,12 +421,15 @@ public java.lang.String getPackageName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -377,30 +438,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; } } /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @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 { @@ -409,6 +470,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,8 +482,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -456,12 +517,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firebaseAppId_); } 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(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, packageName_); @@ -477,31 +536,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.AndroidAppDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AndroidAppDataStream other = (com.google.analytics.admin.v1alpha.AndroidAppDataStream) obj; + com.google.analytics.admin.v1alpha.AndroidAppDataStream other = + (com.google.analytics.admin.v1alpha.AndroidAppDataStream) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) 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 (!getPackageName() - .equals(other.getPackageName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -535,117 +589,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AndroidAppDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AndroidAppDataStream prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AndroidAppDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Android app stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AndroidAppDataStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AndroidAppDataStream) com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.class, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder() @@ -653,16 +717,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -690,9 +753,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_AndroidAppDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor; } @java.lang.Override @@ -711,7 +774,8 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream buildPartial() { - com.google.analytics.admin.v1alpha.AndroidAppDataStream result = new com.google.analytics.admin.v1alpha.AndroidAppDataStream(this); + com.google.analytics.admin.v1alpha.AndroidAppDataStream result = + new com.google.analytics.admin.v1alpha.AndroidAppDataStream(this); result.name_ = name_; result.firebaseAppId_ = firebaseAppId_; if (createTimeBuilder_ == null) { @@ -734,38 +798,39 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AndroidAppDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream) other); } else { super.mergeFrom(other); return this; @@ -773,7 +838,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AndroidAppDataStream other) { - if (other == com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -815,7 +881,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.AndroidAppDataStream) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.AndroidAppDataStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -827,6 +894,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -834,13 +903,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; @@ -849,6 +918,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -856,15 +927,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 { @@ -872,6 +942,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -879,20 +951,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -900,15 +974,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -916,16 +993,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -933,19 +1010,21 @@ public Builder setNameBytes( 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 = 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; @@ -954,21 +1033,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 = 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 { @@ -976,57 +1056,64 @@ 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 = 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) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 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) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1034,39 +1121,58 @@ public Builder setFirebaseAppIdBytes( 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 = 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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Time when this stream 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 stream 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) { @@ -1082,14 +1188,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 = 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(); onChanged(); @@ -1100,17 +1209,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when this stream 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1122,11 +1235,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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1140,48 +1257,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when this stream 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when this stream 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 stream 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_; @@ -1189,39 +1322,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 = 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 updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Time when stream 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 stream 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) { @@ -1237,14 +1389,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 = 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(); onChanged(); @@ -1255,17 +1410,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when stream 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1277,11 +1436,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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1295,48 +1458,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when stream 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() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when stream 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 stream 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_; @@ -1344,19 +1523,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object packageName_ = ""; /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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; @@ -1365,21 +1546,22 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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 { @@ -1387,57 +1569,64 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 5 [(.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) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1445,19 +1634,21 @@ public Builder setPackageNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @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; @@ -1466,21 +1657,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @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 { @@ -1488,64 +1680,71 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1555,12 +1754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AndroidAppDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AndroidAppDataStream) private static final com.google.analytics.admin.v1alpha.AndroidAppDataStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AndroidAppDataStream(); } @@ -1569,16 +1768,16 @@ public static com.google.analytics.admin.v1alpha.AndroidAppDataStream getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AndroidAppDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AndroidAppDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1593,6 +1792,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AndroidAppDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java index 1b76787b..e1857fad 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AndroidAppDataStreamOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AndroidAppDataStreamOrBuilder extends +public interface AndroidAppDataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AndroidAppDataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
@@ -15,10 +33,13 @@ public interface AndroidAppDataStreamOrBuilder 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}/androidAppDataStreams/{stream_id}
@@ -26,128 +47,165 @@ public interface AndroidAppDataStreamOrBuilder 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. 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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
    * Output only. Time when this stream 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 stream 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 stream 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 stream 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 stream 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 stream 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. The package name for the app being measured.
    * Example: "com.example.myandroidapp"
    * 
* * string package_name = 5 [(.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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..67c2a9de --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,719 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApproveDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest( + input, extensionRegistry); + } + }; + + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..db4a4828 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java new file mode 100644 index 00000000..4e25cada --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java @@ -0,0 +1,851 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ApproveDisplayVideo360AdvertiserLinkProposalResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApproveDisplayVideo360AdvertiserLinkProposalResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = + null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + } + displayVideo360AdvertiserLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.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 getDisplayVideo360AdvertiserLink(); + } + + 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()); + } + unknownFields.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 += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDisplayVideo360AdvertiserLink()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); + } + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = null; + } else { + displayVideo360AdvertiserLink_ = null; + 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 (displayVideo360AdvertiserLinkBuilder_ == null) { + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; + } else { + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_.build(); + } + 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.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.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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 displayVideo360AdvertiserLinkBuilder_ != null + || 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. + */ + 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; + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); + } + + 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 (displayVideo360AdvertiserLink_ != null) { + displayVideo360AdvertiserLink_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( + displayVideo360AdvertiserLink_) + .mergeFrom(value) + .buildPartial(); + } else { + displayVideo360AdvertiserLink_ = value; + } + onChanged(); + } else { + displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); + } + + 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() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = null; + onChanged(); + } else { + displayVideo360AdvertiserLink_ = null; + displayVideo360AdvertiserLinkBuilder_ = null; + } + + 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() { + + 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 { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse( + input, extensionRegistry); + } + }; + + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java new file mode 100644 index 00000000..3bdcd0ef --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java index bcdcd1fc..12511b8f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArchiveCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private ArchiveCustomDimensionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +491,23 @@ public Builder mergeFrom( 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; @@ -468,21 +516,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 { @@ -490,64 +541,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,30 +621,32 @@ 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 { - return new ArchiveCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new ArchiveCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +658,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..08faf12c --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ArchiveCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java index 845d2bf2..94869b9d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArchiveCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private ArchiveCustomMetricRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +490,23 @@ public Builder mergeFrom( 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; @@ -468,21 +515,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 { @@ -490,64 +540,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +620,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(); } @@ -571,16 +635,16 @@ 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 { - return new ArchiveCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new ArchiveCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +659,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..f7d638fc --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ArchiveCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java index 18c2559a..efa6d550 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Read-only resource used to summarize a principal's effective roles.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ -public final class AuditUserLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLink) AuditUserLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLink.newBuilder() to construct. private AuditUserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLink() { name_ = ""; emailAddress_ = ""; @@ -28,16 +46,15 @@ private AuditUserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuditUserLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,50 +74,53 @@ private AuditUserLink( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - emailAddress_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - directRoles_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + emailAddress_ = s; + break; } - directRoles_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directRoles_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + directRoles_.add(s); + break; } - effectiveRoles_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + effectiveRoles_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { directRoles_ = directRoles_.getUnmodifiableView(); @@ -112,27 +132,33 @@ private AuditUserLink( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -141,29 +167,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -174,11 +200,14 @@ public java.lang.String getName() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The emailAddress. */ @java.lang.Override @@ -187,29 +216,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -220,6 +249,8 @@ public java.lang.String getEmailAddress() { public static final int DIRECT_ROLES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList directRoles_; /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -228,13 +259,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_; } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -243,12 +276,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -257,6 +293,7 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -264,6 +301,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -272,17 +311,19 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } public static final int EFFECTIVE_ROLES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList effectiveRoles_; /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -290,13 +331,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList - getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { return effectiveRoles_; } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -304,12 +347,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -317,6 +363,7 @@ public int getEffectiveRolesCount() {
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -324,6 +371,8 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -331,15 +380,16 @@ public java.lang.String getEffectiveRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString - getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,8 +401,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -404,21 +453,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLink other = (com.google.analytics.admin.v1alpha.AuditUserLink) obj; + com.google.analytics.admin.v1alpha.AuditUserLink other = + (com.google.analytics.admin.v1alpha.AuditUserLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; - if (!getDirectRolesList() - .equals(other.getDirectRolesList())) return false; - if (!getEffectiveRolesList() - .equals(other.getEffectiveRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; + if (!getEffectiveRolesList().equals(other.getEffectiveRolesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -447,118 +493,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Read-only resource used to summarize a principal's effective roles.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLink) com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLink.newBuilder() @@ -566,16 +621,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -591,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override @@ -612,7 +666,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLink result = new com.google.analytics.admin.v1alpha.AuditUserLink(this); + com.google.analytics.admin.v1alpha.AuditUserLink result = + new com.google.analytics.admin.v1alpha.AuditUserLink(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.emailAddress_ = emailAddress_; @@ -634,38 +689,39 @@ public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink) other); } else { super.mergeFrom(other); return this; @@ -673,7 +729,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLink other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -730,22 +787,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -754,20 +814,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -775,54 +836,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -830,18 +898,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -850,20 +920,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -871,67 +942,78 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { + public Builder setEmailAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList directRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -940,13 +1022,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -955,12 +1039,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -969,6 +1056,7 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -976,6 +1064,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -984,14 +1074,16 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1000,21 +1092,23 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles( - int index, java.lang.String value) { + public Builder setDirectRoles(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1023,20 +1117,22 @@ public Builder setDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles( - java.lang.String value) { + public Builder addDirectRoles(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1045,18 +1141,19 @@ public Builder addDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles( - java.lang.Iterable values) { + public Builder addAllDirectRoles(java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1065,6 +1162,7 @@ public Builder addAllDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1074,6 +1172,8 @@ public Builder clearDirectRoles() { return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1082,29 +1182,33 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; + * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes( - com.google.protobuf.ByteString value) { + public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList effectiveRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList effectiveRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEffectiveRolesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(effectiveRoles_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1112,13 +1216,15 @@ private void ensureEffectiveRolesIsMutable() {
      * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList - getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { return effectiveRoles_.getUnmodifiableView(); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1126,12 +1232,15 @@ private void ensureEffectiveRolesIsMutable() {
      * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1139,6 +1248,7 @@ public int getEffectiveRolesCount() {
      * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -1146,6 +1256,8 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1153,14 +1265,16 @@ public java.lang.String getEffectiveRoles(int index) {
      * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString - getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1168,21 +1282,23 @@ public java.lang.String getEffectiveRoles(int index) {
      * 
* * repeated string effective_roles = 4; + * * @param index The index to set the value at. * @param value The effectiveRoles to set. * @return This builder for chaining. */ - public Builder setEffectiveRoles( - int index, java.lang.String value) { + public Builder setEffectiveRoles(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEffectiveRolesIsMutable(); + throw new NullPointerException(); + } + ensureEffectiveRolesIsMutable(); effectiveRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1190,20 +1306,22 @@ public Builder setEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @param value The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRoles( - java.lang.String value) { + public Builder addEffectiveRoles(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEffectiveRolesIsMutable(); + throw new NullPointerException(); + } + ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1211,18 +1329,19 @@ public Builder addEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @param values The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addAllEffectiveRoles( - java.lang.Iterable values) { + public Builder addAllEffectiveRoles(java.lang.Iterable values) { ensureEffectiveRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, effectiveRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveRoles_); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1230,6 +1349,7 @@ public Builder addAllEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @return This builder for chaining. */ public Builder clearEffectiveRoles() { @@ -1239,6 +1359,8 @@ public Builder clearEffectiveRoles() { return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1246,23 +1368,23 @@ public Builder clearEffectiveRoles() {
      * 
* * repeated string effective_roles = 4; + * * @param value The bytes of the effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRolesBytes( - com.google.protobuf.ByteString value) { + public Builder addEffectiveRolesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1272,12 +1394,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLink) private static final com.google.analytics.admin.v1alpha.AuditUserLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLink(); } @@ -1286,16 +1408,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLink(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,6 +1432,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java similarity index 77% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java index 71e824fa..fa33e7f4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java @@ -1,53 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinkOrBuilder extends +public interface AuditUserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -56,11 +84,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - java.util.List - getDirectRolesList(); + java.util.List getDirectRolesList(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -69,10 +99,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ int getDirectRolesCount(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -81,11 +114,14 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -94,13 +130,15 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString - getDirectRolesBytes(int index); + com.google.protobuf.ByteString getDirectRolesBytes(int index); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -108,11 +146,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - java.util.List - getEffectiveRolesList(); + java.util.List getEffectiveRolesList(); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -120,10 +160,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ int getEffectiveRolesCount(); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -131,11 +174,14 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ java.lang.String getEffectiveRoles(int index); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -143,9 +189,9 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - com.google.protobuf.ByteString - getEffectiveRolesBytes(int index); + com.google.protobuf.ByteString getEffectiveRolesBytes(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java index a4f50d10..c11a6c3a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ -public final class AuditUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) AuditUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLinksRequest.newBuilder() to construct. private AuditUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private AuditUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuditUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private AuditUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -119,29 +145,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -160,6 +190,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,6 +201,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -178,6 +211,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -186,14 +220,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -202,16 +237,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 { @@ -220,6 +254,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -255,8 +289,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_); @@ -269,19 +302,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = + (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,117 +336,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.analytics.admin.v1alpha.AuditUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksRequest.newBuilder() @@ -423,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override @@ -467,7 +507,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = + new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -479,38 +520,39 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -518,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -549,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -561,18 +605,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -581,20 +629,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -602,61 +653,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -665,6 +731,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -672,6 +739,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -680,16 +749,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -698,10 +770,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +782,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -717,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; @@ -732,6 +807,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -740,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 { @@ -756,6 +832,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -764,20 +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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -786,15 +866,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -803,23 +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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) private static final com.google.analytics.admin.v1alpha.AuditUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(); } @@ -843,16 +926,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java index e03c1372..f673fe5c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksRequestOrBuilder extends +public interface AuditUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -36,11 +63,14 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -61,8 +94,8 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java index dc09b891..152515f4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ -public final class AuditUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) AuditUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLinksResponse.newBuilder() to construct. private AuditUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private AuditUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuditUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private AuditUserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + userLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.AuditUserLink.parser(), + extensionRegistry)); + break; } - userLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.AuditUserLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -92,22 +113,27 @@ private AuditUserLinksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** + * + * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -120,6 +146,8 @@ public java.util.List getUserL
     return userLinks_;
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -128,11 +156,13 @@ public java.util.List getUserL
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getUserLinksOrBuilderList() {
     return userLinks_;
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -145,6 +175,8 @@ public int getUserLinksCount() {
     return userLinks_.size();
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -157,6 +189,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
     return userLinks_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -173,12 +207,15 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -187,30 +224,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 { @@ -219,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -248,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = + (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,117 +331,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.analytics.admin.v1alpha.AuditUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksResponse.newBuilder() @@ -414,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override @@ -461,7 +506,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = + new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +527,39 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +567,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -539,9 +587,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRespon userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -570,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,21 +629,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.AuditUserLink, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder, + com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -609,6 +667,8 @@ public java.util.List getUserL
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -624,6 +684,8 @@ public int getUserLinksCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -639,6 +701,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -646,8 +710,7 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder setUserLinks(
-        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -661,6 +724,8 @@ public Builder setUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -680,6 +745,8 @@ public Builder setUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -701,6 +768,8 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -708,8 +777,7 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder addUserLinks(
-        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -723,6 +791,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -742,6 +812,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -761,6 +833,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -772,8 +846,7 @@ public Builder addAllUserLinks(
         java.lang.Iterable values) {
       if (userLinksBuilder_ == null) {
         ensureUserLinksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, userLinks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_);
         onChanged();
       } else {
         userLinksBuilder_.addAllMessages(values);
@@ -781,6 +854,8 @@ public Builder addAllUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -799,6 +874,8 @@ public Builder clearUserLinks() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -817,6 +894,8 @@ public Builder removeUserLinks(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -824,11 +903,12 @@ public Builder removeUserLinks(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(
-        int index) {
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(int index) {
       return getUserLinksFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -839,11 +919,14 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuil
     public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
         int index) {
       if (userLinksBuilder_ == null) {
-        return userLinks_.get(index);  } else {
+        return userLinks_.get(index);
+      } else {
         return userLinksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -851,8 +934,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List 
-         getUserLinksOrBuilderList() {
+    public java.util.List
+        getUserLinksOrBuilderList() {
       if (userLinksBuilder_ != null) {
         return userLinksBuilder_.getMessageOrBuilderList();
       } else {
@@ -860,6 +943,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -868,10 +953,12 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
     public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder() {
-      return getUserLinksFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+      return getUserLinksFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -879,12 +966,13 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(
-        int index) {
-      return getUserLinksFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(int index) {
+      return getUserLinksFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -892,20 +980,23 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List 
-         getUserLinksBuilderList() {
+    public java.util.List
+        getUserLinksBuilderList() {
       return getUserLinksFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> 
+            com.google.analytics.admin.v1alpha.AuditUserLink,
+            com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
+            com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>
         getUserLinksFieldBuilder() {
       if (userLinksBuilder_ == null) {
-        userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
-                userLinks_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        userLinksBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AuditUserLink,
+                com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
+                com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
+                userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         userLinks_ = null;
       }
       return userLinksBuilder_;
@@ -913,19 +1004,21 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -934,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 { @@ -956,64 +1050,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1124,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) private static final com.google.analytics.admin.v1alpha.AuditUserLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(); } @@ -1037,16 +1138,16 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1162,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java index 81c26025..6f0caa45 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksResponseOrBuilder extends +public interface AuditUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List 
-      getUserLinksList();
+  java.util.List getUserLinksList();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface AuditUserLinksResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index);
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface AuditUserLinksResponseOrBuilder extends
    */
   int getUserLinksCount();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List 
+  java.util.List
       getUserLinksOrBuilderList();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -53,28 +78,32 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java index 180dd0fa..a00d78bc 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ -public final class BatchCreateUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) BatchCreateUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksRequest.newBuilder() to construct. private BatchCreateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private BatchCreateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCreateUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,40 +72,45 @@ private BatchCreateUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - notifyNewUsers_ = input.readBool(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - requests_.add( - input.readMessage(com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + notifyNewUsers_ = input.readBool(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest>(); + mutable_bitField0_ |= 0x00000001; + } + requests_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -97,22 +119,27 @@ private BatchCreateUserLinksRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -120,7 +147,10 @@ private BatchCreateUserLinksRequest(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,14 +159,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -144,17 +175,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -165,6 +197,8 @@ public java.lang.String getParent() { public static final int NOTIFY_NEW_USERS_FIELD_NUMBER = 2; private boolean notifyNewUsers_; /** + * + * *
    * Optional. If set, then email the new users notifying them that they've been granted
    * permissions to the resource. Regardless of whether this is set or not,
@@ -172,6 +206,7 @@ public java.lang.String getParent() {
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ @java.lang.Override @@ -182,61 +217,82 @@ public boolean getNotifyNewUsers() { public static final int REQUESTS_FIELD_NUMBER = 3; private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -245,6 +301,7 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -280,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUsers_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, notifyNewUsers_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUsers_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, requests_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,19 +349,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getNotifyNewUsers() - != other.getNotifyNewUsers()) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getNotifyNewUsers() != other.getNotifyNewUsers()) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -322,8 +374,7 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNotifyNewUsers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUsers()); if (getRequestsCount() > 0) { hash = (37 * hash) + REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getRequestsList().hashCode(); @@ -334,117 +385,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.newBuilder() @@ -452,17 +513,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -480,13 +541,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance(); } @@ -501,7 +563,8 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.notifyNewUsers_ = notifyNewUsers_; @@ -522,38 +585,39 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -561,7 +625,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -587,9 +653,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -614,7 +681,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,10 +692,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -634,14 +706,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -650,6 +724,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -657,16 +733,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -674,6 +751,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -681,21 +760,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -703,16 +786,21 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are for.
      * This field is required. The parent field in the CreateUserLinkRequest
@@ -720,24 +808,28 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private boolean notifyNewUsers_ ; + private boolean notifyNewUsers_; /** + * + * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -745,6 +837,7 @@ public Builder setParentBytes(
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ @java.lang.Override @@ -752,6 +845,8 @@ public boolean getNotifyNewUsers() { return notifyNewUsers_; } /** + * + * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -759,16 +854,19 @@ public boolean getNotifyNewUsers() {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The notifyNewUsers to set. * @return This builder for chaining. */ public Builder setNotifyNewUsers(boolean value) { - + notifyNewUsers_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set, then email the new users notifying them that they've been granted
      * permissions to the resource. Regardless of whether this is set or not,
@@ -776,36 +874,48 @@ public Builder setNotifyNewUsers(boolean value) {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNotifyNewUsers() { - + notifyNewUsers_ = false; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -813,12 +923,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -828,12 +942,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -843,12 +961,16 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -865,15 +987,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -884,12 +1011,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -905,12 +1036,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -927,12 +1062,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { @@ -946,15 +1085,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -965,19 +1109,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -985,12 +1133,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1003,12 +1155,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1021,42 +1177,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1064,59 +1234,76 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000001) != 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); } @@ -1126,30 +1313,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchCreateUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,9 +1350,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java index 3a8b7f08..e44710fe 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksRequestOrBuilder extends +public interface BatchCreateUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -15,11 +33,16 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are for.
    * This field is required. The parent field in the CreateUserLinkRequest
@@ -27,13 +50,17 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. If set, then email the new users notifying them that they've been granted
    * permissions to the resource. Regardless of whether this is set or not,
@@ -41,56 +68,75 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ boolean getNotifyNewUsers(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java index f3817a4c..7e1670a2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ -public final class BatchCreateUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) BatchCreateUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksResponse.newBuilder() to construct. private BatchCreateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCreateUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,30 @@ private BatchCreateUserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + userLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; } - userLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -85,22 +103,27 @@ private BatchCreateUserLinksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** + * + * *
    * The user links created.
    * 
@@ -112,6 +135,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The user links created.
    * 
@@ -119,11 +144,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The user links created.
    * 
@@ -135,6 +162,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The user links created.
    * 
@@ -146,6 +175,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The user links created.
    * 
@@ -153,12 +184,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -185,8 +215,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +225,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +255,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.newBuilder() @@ -344,17 +383,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,13 +407,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance(); } @@ -389,7 +429,8 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,46 +449,50 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -466,9 +511,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -493,7 +539,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,21 +550,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The user links created.
      * 
@@ -531,6 +587,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The user links created.
      * 
@@ -545,6 +603,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The user links created.
      * 
@@ -559,14 +619,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -580,6 +641,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -598,6 +661,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -618,14 +683,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,6 +705,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -657,6 +725,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -675,6 +745,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -685,8 +757,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -694,6 +765,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -711,6 +784,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The user links created.
      * 
@@ -728,39 +803,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +848,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The user links created.
      * 
@@ -775,49 +857,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,30 +915,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchCreateUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,9 +952,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java index 68aa45e9..ed0c92aa 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksResponseOrBuilder extends +public interface BatchCreateUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The user links created.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The user links created.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java index 71e7a3da..cefb0175 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchDeleteUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ -public final class BatchDeleteUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) BatchDeleteUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteUserLinksRequest.newBuilder() to construct. private BatchDeleteUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private BatchDeleteUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchDeleteUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,40 @@ private BatchDeleteUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - requests_.add( - input.readMessage(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest>(); + mutable_bitField0_ |= 0x00000001; + } + requests_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -92,22 +114,27 @@ private BatchDeleteUserLinksRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -115,7 +142,10 @@ private BatchDeleteUserLinksRequest(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -124,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -139,17 +170,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -160,61 +192,82 @@ public java.lang.String getParent() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -223,6 +276,7 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -255,8 +308,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -266,17 +318,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +351,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchDeleteUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.newBuilder() @@ -418,17 +479,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,13 +505,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance(); } @@ -465,7 +527,8 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (requestsBuilder_ == null) { @@ -485,38 +548,39 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -524,7 +588,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -547,9 +613,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -574,7 +641,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,10 +652,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -594,14 +666,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -610,6 +684,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -617,16 +693,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -634,6 +711,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -641,21 +720,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -663,16 +746,21 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -680,43 +768,56 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -724,12 +825,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -739,12 +844,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -754,12 +863,16 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -776,15 +889,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -795,12 +913,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -816,12 +938,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -838,12 +964,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { @@ -857,15 +987,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -876,19 +1011,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -896,12 +1035,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -914,12 +1057,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -932,42 +1079,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -975,59 +1136,76 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000001) != 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); } @@ -1037,30 +1215,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchDeleteUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1072,9 +1252,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java index 72e2bfa2..d6f29cd1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchDeleteUserLinksRequestOrBuilder extends +public interface BatchDeleteUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -15,11 +33,16 @@ public interface BatchDeleteUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -27,58 +50,78 @@ public interface BatchDeleteUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java index 8d993d28..a3ef4df2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ -public final class BatchGetUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) BatchGetUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetUserLinksRequest.newBuilder() to construct. private BatchGetUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetUserLinksRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private BatchGetUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchGetUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,36 @@ private BatchGetUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - names_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - names_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + names_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + names_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { names_ = names_.getUnmodifiableView(); @@ -92,22 +110,27 @@ private BatchGetUserLinksRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -115,7 +138,10 @@ private BatchGetUserLinksRequest(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -124,14 +150,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -139,17 +166,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -160,40 +188,54 @@ public java.lang.String getParent() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -201,22 +243,27 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -264,17 +310,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getNamesList() - .equals(other.getNamesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +343,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.analytics.admin.v1alpha.BatchGetUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.newBuilder() @@ -416,16 +471,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +491,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override @@ -458,7 +512,8 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -474,38 +529,39 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -513,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -547,7 +604,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,10 +614,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -567,14 +628,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -583,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -590,16 +655,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,6 +673,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -614,21 +682,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -636,16 +708,21 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -653,64 +730,82 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList names_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -718,90 +813,110 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames( - int index, java.lang.String value) { + public Builder setNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames( - java.lang.String value) { + public Builder addNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames( - java.lang.Iterable values) { + public Builder addAllNames(java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNames() { @@ -811,30 +926,34 @@ public Builder clearNames() { return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(); } @@ -858,16 +977,16 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -882,6 +1001,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java index 59258853..7d5b1fc7 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksRequestOrBuilder extends +public interface BatchGetUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -15,11 +33,16 @@ public interface BatchGetUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -27,58 +50,78 @@ public interface BatchGetUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - java.util.List - getNamesList(); + java.util.List getNamesList(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ int getNamesCount(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString - getNamesBytes(int index); + com.google.protobuf.ByteString getNamesBytes(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java index f1cab0e0..7dbce9e1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ -public final class BatchGetUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) BatchGetUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetUserLinksResponse.newBuilder() to construct. private BatchGetUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchGetUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,30 @@ private BatchGetUserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + userLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; } - userLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -85,22 +103,27 @@ private BatchGetUserLinksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** + * + * *
    * The requested user links.
    * 
@@ -112,6 +135,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The requested user links.
    * 
@@ -119,11 +144,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The requested user links.
    * 
@@ -135,6 +162,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The requested user links.
    * 
@@ -146,6 +175,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The requested user links.
    * 
@@ -153,12 +184,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -185,8 +215,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +225,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +255,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.analytics.admin.v1alpha.BatchGetUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.newBuilder() @@ -344,17 +383,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,13 +407,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance(); } @@ -389,7 +429,8 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +449,39 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -447,7 +489,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -466,9 +510,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRes userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -493,7 +538,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,21 +548,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The requested user links.
      * 
@@ -531,6 +585,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The requested user links.
      * 
@@ -545,6 +601,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The requested user links.
      * 
@@ -559,14 +617,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -580,6 +639,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -598,6 +659,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -618,14 +681,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,6 +703,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -657,6 +723,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -675,6 +743,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -685,8 +755,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -694,6 +763,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -711,6 +782,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The requested user links.
      * 
@@ -728,39 +801,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +846,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The requested user links.
      * 
@@ -775,49 +855,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,12 +913,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(); } @@ -841,16 +928,16 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +952,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java index c3d14059..fafcc49b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksResponseOrBuilder extends +public interface BatchGetUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The requested user links.
    * 
@@ -25,6 +44,8 @@ public interface BatchGetUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The requested user links.
    * 
@@ -33,21 +54,24 @@ public interface BatchGetUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java index de05c2e2..b2b579cf 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ -public final class BatchUpdateUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) BatchUpdateUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksRequest.newBuilder() to construct. private BatchUpdateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private BatchUpdateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchUpdateUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,40 @@ private BatchUpdateUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - requests_.add( - input.readMessage(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest>(); + mutable_bitField0_ |= 0x00000001; + } + requests_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -92,22 +114,27 @@ private BatchUpdateUserLinksRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -115,7 +142,10 @@ private BatchUpdateUserLinksRequest(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -124,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -139,17 +170,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -160,61 +192,82 @@ public java.lang.String getParent() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -223,6 +276,7 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -255,8 +308,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -266,17 +318,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +351,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.newBuilder() @@ -418,17 +479,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRequestsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,13 +505,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance(); } @@ -465,7 +527,8 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (requestsBuilder_ == null) { @@ -485,38 +548,39 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -524,7 +588,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -547,9 +613,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -574,7 +641,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,10 +652,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -594,14 +666,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -610,6 +684,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -617,16 +693,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -634,6 +711,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -641,21 +720,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -663,16 +746,21 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -680,43 +768,56 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -724,12 +825,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -739,12 +844,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -754,12 +863,16 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -776,15 +889,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -795,12 +913,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -816,12 +938,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -838,12 +964,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { @@ -857,15 +987,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -876,19 +1011,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -896,12 +1035,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -914,12 +1057,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -932,42 +1079,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -975,59 +1136,76 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000001) != 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); } @@ -1037,30 +1215,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchUpdateUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1072,9 +1252,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java index f3835ca9..fbaf9c26 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksRequestOrBuilder extends +public interface BatchUpdateUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -15,11 +33,16 @@ public interface BatchUpdateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -27,58 +50,78 @@ public interface BatchUpdateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java index 5a583535..913d6d2b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ -public final class BatchUpdateUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) BatchUpdateUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksResponse.newBuilder() to construct. private BatchUpdateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchUpdateUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,30 @@ private BatchUpdateUserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + userLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; } - userLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -85,22 +103,27 @@ private BatchUpdateUserLinksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** + * + * *
    * The user links updated.
    * 
@@ -112,6 +135,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The user links updated.
    * 
@@ -119,11 +144,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The user links updated.
    * 
@@ -135,6 +162,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The user links updated.
    * 
@@ -146,6 +175,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The user links updated.
    * 
@@ -153,12 +184,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -185,8 +215,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +225,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +255,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.newBuilder() @@ -344,17 +383,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,13 +407,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance(); } @@ -389,7 +429,8 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,46 +449,50 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -466,9 +511,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -493,7 +539,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,21 +550,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The user links updated.
      * 
@@ -531,6 +587,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The user links updated.
      * 
@@ -545,6 +603,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The user links updated.
      * 
@@ -559,14 +619,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -580,6 +641,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -598,6 +661,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -618,14 +683,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,6 +705,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -657,6 +725,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -675,6 +745,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -685,8 +757,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -694,6 +765,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -711,6 +784,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The user links updated.
      * 
@@ -728,39 +803,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +848,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The user links updated.
      * 
@@ -775,49 +857,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,30 +915,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchUpdateUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,9 +952,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java index d9d9c6be..a00931b1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksResponseOrBuilder extends +public interface BatchUpdateUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The user links updated.
    * 
@@ -25,6 +44,8 @@ public interface BatchUpdateUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The user links updated.
    * 
@@ -33,21 +54,24 @@ public interface BatchUpdateUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..231a70d9 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,716 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CancelDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CancelDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CancelDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest( + input, extensionRegistry); + } + }; + + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..9f4a2a4d --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index caae863b..296252e0 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -26,16 +44,15 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ChangeHistoryChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,99 +71,124 @@ private ChangeHistoryChange( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - action_ = rawValue; - break; - } - case 26: { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder subBuilder = null; - if (resourceBeforeChange_ != null) { - subBuilder = resourceBeforeChange_.toBuilder(); - } - resourceBeforeChange_ = input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceBeforeChange_); - resourceBeforeChange_ = subBuilder.buildPartial(); + resource_ = s; + break; } + case 16: + { + int rawValue = input.readEnum(); - break; - } - case 34: { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder subBuilder = null; - if (resourceAfterChange_ != null) { - subBuilder = resourceAfterChange_.toBuilder(); + action_ = rawValue; + break; } - resourceAfterChange_ = input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceAfterChange_); - resourceAfterChange_ = subBuilder.buildPartial(); + case 26: + { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + subBuilder = null; + if (resourceBeforeChange_ != null) { + subBuilder = resourceBeforeChange_.toBuilder(); + } + resourceBeforeChange_ = + input.readMessage( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceBeforeChange_); + resourceBeforeChange_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + subBuilder = null; + if (resourceAfterChange_ != null) { + subBuilder = resourceAfterChange_.toBuilder(); + } + resourceAfterChange_ = + input.readMessage( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceAfterChange_); + resourceAfterChange_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -156,24 +198,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.
      * 
@@ -183,24 +233,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return Whether the webDataStream field is set. */ boolean hasWebDataStream(); /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return The webDataStream. */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
@@ -210,51 +268,71 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return Whether the androidAppDataStream field is set. */ boolean hasAndroidAppDataStream(); /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return The androidAppDataStream. */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(); /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder(); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder(); /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return Whether the iosAppDataStream field is set. */ boolean hasIosAppDataStream(); /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return The iosAppDataStream. */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(); /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
@@ -264,24 +342,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder(); /** + * + * *
      * 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.
      * 
@@ -291,24 +377,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.
      * 
@@ -318,111 +412,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.
      * 
@@ -432,51 +578,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.
      * 
@@ -486,24 +655,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.
      * 
@@ -513,35 +690,50 @@ 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(); - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase + getResourceCase(); } /** + * + * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -549,30 +741,29 @@ public interface ChangeHistoryResourceOrBuilder extends
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ChangeHistoryResource() {
-    }
+
+    private ChangeHistoryResource() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ChangeHistoryResource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -591,252 +782,337 @@ private ChangeHistoryResource(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null;
-              if (resourceCase_ == 1) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.Account) resource_).toBuilder();
+            case 10:
+              {
+                com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null;
+                if (resourceCase_ == 1) {
+                  subBuilder = ((com.google.analytics.admin.v1alpha.Account) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Account) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 1;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Account) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 18:
+              {
+                com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null;
+                if (resourceCase_ == 2) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.Property) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Property) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 2;
+                break;
               }
-              resourceCase_ = 1;
-              break;
-            }
-            case 18: {
-              com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null;
-              if (resourceCase_ == 2) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.Property) resource_).toBuilder();
+            case 26:
+              {
+                com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null;
+                if (resourceCase_ == 3) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.WebDataStream) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.WebDataStream.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.WebDataStream) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 3;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.Property) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null;
+                if (resourceCase_ == 4) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 4;
+                break;
               }
-              resourceCase_ = 2;
-              break;
-            }
-            case 26: {
-              com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null;
-              if (resourceCase_ == 3) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.WebDataStream) resource_).toBuilder();
+            case 42:
+              {
+                com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null;
+                if (resourceCase_ == 5) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.IosAppDataStream.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 5;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 50:
+              {
+                com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null;
+                if (resourceCase_ == 6) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.FirebaseLink) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.FirebaseLink.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 6;
+                break;
               }
-              resourceCase_ = 3;
-              break;
-            }
-            case 34: {
-              com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null;
-              if (resourceCase_ == 4) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_).toBuilder();
+            case 58:
+              {
+                com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null;
+                if (resourceCase_ == 7) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 7;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null;
+                if (resourceCase_ == 8) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 8;
+                break;
               }
-              resourceCase_ = 4;
-              break;
-            }
-            case 42: {
-              com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null;
-              if (resourceCase_ == 5) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_).toBuilder();
+            case 74:
+              {
+                com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder
+                    subBuilder = null;
+                if (resourceCase_ == 9) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 9;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 5;
-              break;
-            }
-            case 50: {
-              com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null;
-              if (resourceCase_ == 6) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.FirebaseLink) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 6;
-              break;
-            }
-            case 58: {
-              com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null;
-              if (resourceCase_ == 7) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 7;
-              break;
-            }
-            case 66: {
-              com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null;
-              if (resourceCase_ == 8) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 8;
-              break;
-            }
-            case 74: {
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null;
-              if (resourceCase_ == 9) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 9;
-              break;
-            }
-            case 82: {
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder subBuilder = null;
-              if (resourceCase_ == 10) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 10;
-              break;
-            }
-            case 90: {
-              com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null;
-              if (resourceCase_ == 11) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.ConversionEvent) resource_).toBuilder();
+            case 82:
+              {
+                com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder
+                    subBuilder = null;
+                if (resourceCase_ == 10) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
+                              resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
+                          resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 10;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 90:
+              {
+                com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null;
+                if (resourceCase_ == 11) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.ConversionEvent) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.ConversionEvent.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.ConversionEvent) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 11;
+                break;
               }
-              resourceCase_ = 11;
-              break;
-            }
-            case 98: {
-              com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null;
-              if (resourceCase_ == 12) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_).toBuilder();
+            case 98:
+              {
+                com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder =
+                    null;
+                if (resourceCase_ == 12) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 12;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 106:
+              {
+                com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null;
+                if (resourceCase_ == 13) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.CustomDimension) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.CustomDimension.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.CustomDimension) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 13;
+                break;
               }
-              resourceCase_ = 12;
-              break;
-            }
-            case 106: {
-              com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null;
-              if (resourceCase_ == 13) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.CustomDimension) resource_).toBuilder();
+            case 114:
+              {
+                com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null;
+                if (resourceCase_ == 14) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.CustomMetric) resource_).toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.CustomMetric.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 14;
+                break;
               }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension) resource_);
-                resource_ = subBuilder.buildPartial();
+            case 122:
+              {
+                com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null;
+                if (resourceCase_ == 15) {
+                  subBuilder =
+                      ((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_)
+                          .toBuilder();
+                }
+                resource_ =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_);
+                  resource_ = subBuilder.buildPartial();
+                }
+                resourceCase_ = 15;
+                break;
               }
-              resourceCase_ = 13;
-              break;
-            }
-            case 114: {
-              com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null;
-              if (resourceCase_ == 14) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.CustomMetric) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) resource_);
-                resource_ = subBuilder.buildPartial();
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              resourceCase_ = 14;
-              break;
-            }
-            case 122: {
-              com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null;
-              if (resourceCase_ == 15) {
-                subBuilder = ((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 15;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class,
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder
+                  .class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
+
     public enum ResourceCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -855,6 +1131,7 @@ public enum ResourceCase
       DATA_RETENTION_SETTINGS(15),
       RESOURCE_NOT_SET(0);
       private final int value;
+
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -870,43 +1147,62 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1: return ACCOUNT;
-          case 2: return PROPERTY;
-          case 3: return WEB_DATA_STREAM;
-          case 4: return ANDROID_APP_DATA_STREAM;
-          case 5: return IOS_APP_DATA_STREAM;
-          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 0: return RESOURCE_NOT_SET;
-          default: return null;
+          case 1:
+            return ACCOUNT;
+          case 2:
+            return PROPERTY;
+          case 3:
+            return WEB_DATA_STREAM;
+          case 4:
+            return ANDROID_APP_DATA_STREAM;
+          case 5:
+            return IOS_APP_DATA_STREAM;
+          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 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 @@ -914,21 +1210,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.
      * 
@@ -938,18 +1239,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 @@ -957,21 +1261,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.
      * 
@@ -981,18 +1290,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 WEB_DATA_STREAM_FIELD_NUMBER = 3; /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -1000,21 +1312,26 @@ public boolean hasWebDataStream() { return resourceCase_ == 3; } /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (resourceCase_ == 3) { - return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; + return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; } return com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } /** + * + * *
      * A snapshot of a WebDataStream resource in change history.
      * 
@@ -1024,18 +1341,22 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (resourceCase_ == 3) { - return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; + return (com.google.analytics.admin.v1alpha.WebDataStream) resource_; } return com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } public static final int ANDROID_APP_DATA_STREAM_FIELD_NUMBER = 4; /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -1043,42 +1364,53 @@ public boolean hasAndroidAppDataStream() { return resourceCase_ == 4; } /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return The androidAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { if (resourceCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); } /** + * + * *
      * A snapshot of an AndroidAppDataStream resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder() { if (resourceCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); } public static final int IOS_APP_DATA_STREAM_FIELD_NUMBER = 5; /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -1086,21 +1418,26 @@ public boolean hasIosAppDataStream() { return resourceCase_ == 5; } /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return The iosAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { if (resourceCase_ == 5) { - return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance(); } /** + * + * *
      * A snapshot of an IosAppDataStream resource in change history.
      * 
@@ -1108,20 +1445,24 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder + getIosAppDataStreamOrBuilder() { if (resourceCase_ == 5) { - return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; + return (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_; } return com.google.analytics.admin.v1alpha.IosAppDataStream.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 @@ -1129,21 +1470,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.
      * 
@@ -1153,18 +1499,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 @@ -1172,21 +1521,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.
      * 
@@ -1196,18 +1550,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 @@ -1215,43 +1573,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 @@ -1259,45 +1630,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 @@ -1305,44 +1692,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 @@ -1350,21 +1753,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.
      * 
@@ -1372,20 +1780,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 @@ -1393,42 +1807,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 @@ -1436,21 +1864,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.
      * 
@@ -1458,20 +1891,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 @@ -1479,21 +1916,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.
      * 
@@ -1503,18 +1945,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 @@ -1522,36 +1968,45 @@ 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(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1563,8 +2018,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1587,19 +2041,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_); @@ -1608,7 +2067,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_); } unknownFields.writeTo(output); } @@ -1620,64 +2080,81 @@ 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_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.WebDataStream) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.WebDataStream) resource_); } if (resourceCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_); } if (resourceCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.analytics.admin.v1alpha.IosAppDataStream) 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1687,74 +2164,65 @@ public int getSerializedSize() { @java.lang.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 3: - if (!getWebDataStream() - .equals(other.getWebDataStream())) return false; + if (!getWebDataStream().equals(other.getWebDataStream())) return false; break; case 4: - if (!getAndroidAppDataStream() - .equals(other.getAndroidAppDataStream())) return false; + if (!getAndroidAppDataStream().equals(other.getAndroidAppDataStream())) return false; break; case 5: - if (!getIosAppDataStream() - .equals(other.getIosAppDataStream())) return false; + if (!getIosAppDataStream().equals(other.getIosAppDataStream())) 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 0: default: @@ -1839,88 +2307,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 @@ -1930,45 +2411,52 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1978,19 +2466,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); } @@ -1998,8 +2489,10 @@ 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); + 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 (resourceCase_ == 1) { if (accountBuilder_ == null) { result.resource_ = resource_; @@ -2114,110 +2607,136 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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 WEB_DATA_STREAM: { - mergeWebDataStream(other.getWebDataStream()); - break; - } - case ANDROID_APP_DATA_STREAM: { - mergeAndroidAppDataStream(other.getAndroidAppDataStream()); - break; - } - case IOS_APP_DATA_STREAM: { - mergeIosAppDataStream(other.getIosAppDataStream()); - 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 RESOURCE_NOT_SET: { - break; - } + case ACCOUNT: + { + mergeAccount(other.getAccount()); + break; + } + case PROPERTY: + { + mergeProperty(other.getProperty()); + break; + } + case WEB_DATA_STREAM: + { + mergeWebDataStream(other.getWebDataStream()); + break; + } + case ANDROID_APP_DATA_STREAM: + { + mergeAndroidAppDataStream(other.getAndroidAppDataStream()); + break; + } + case IOS_APP_DATA_STREAM: + { + mergeIosAppDataStream(other.getIosAppDataStream()); + 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 RESOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2234,11 +2753,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parsedMessage = null; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2247,12 +2769,12 @@ public Builder mergeFrom( } 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() { @@ -2262,15 +2784,20 @@ public Builder clearResource() { return this; } - 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 @@ -2278,11 +2805,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 @@ -2300,6 +2830,8 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2320,6 +2852,8 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2338,6 +2872,8 @@ public Builder setAccount( return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2346,10 +2882,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; } @@ -2364,6 +2903,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2387,6 +2928,8 @@ public Builder clearAccount() { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2397,6 +2940,8 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2415,6 +2960,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2422,32 +2969,44 @@ 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()); resource_ = null; } resourceCase_ = 1; - onChanged();; + onChanged(); + ; return accountBuilder_; } 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 @@ -2455,11 +3014,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 @@ -2477,6 +3039,8 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2497,6 +3061,8 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2515,6 +3081,8 @@ public Builder setProperty( return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2523,10 +3091,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; } @@ -2541,6 +3112,8 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2564,6 +3137,8 @@ public Builder clearProperty() { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2574,6 +3149,8 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2592,6 +3169,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2599,32 +3178,44 @@ 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()); resource_ = null; } resourceCase_ = 2; - onChanged();; + onChanged(); + ; return propertyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + webDataStreamBuilder_; /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -2632,11 +3223,14 @@ public boolean hasWebDataStream() { return resourceCase_ == 3; } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; + * * @return The webDataStream. */ @java.lang.Override @@ -2654,6 +3248,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { } } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2674,6 +3270,8 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2692,6 +3290,8 @@ public Builder setWebDataStream( return this; } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2700,10 +3300,14 @@ public Builder setWebDataStream( */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { - if (resourceCase_ == 3 && - resource_ != com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.WebDataStream.newBuilder((com.google.analytics.admin.v1alpha.WebDataStream) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 3 + && resource_ + != com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.WebDataStream.newBuilder( + (com.google.analytics.admin.v1alpha.WebDataStream) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2718,6 +3322,8 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2741,6 +3347,8 @@ public Builder clearWebDataStream() { return this; } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2751,6 +3359,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream return getWebDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2769,6 +3379,8 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea } } /** + * + * *
        * A snapshot of a WebDataStream resource in change history.
        * 
@@ -2776,32 +3388,45 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { if (!(resourceCase_ == 3)) { resource_ = com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance(); } - webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + webDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.WebDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 3; - onChanged();; + onChanged(); + ; return webDataStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + androidAppDataStreamBuilder_; /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -2809,11 +3434,15 @@ public boolean hasAndroidAppDataStream() { return resourceCase_ == 4; } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * + * * @return The androidAppDataStream. */ @java.lang.Override @@ -2831,13 +3460,17 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppData } } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ - public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder setAndroidAppDataStream( + com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2851,11 +3484,14 @@ public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.Androi return this; } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ public Builder setAndroidAppDataStream( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -2869,18 +3505,26 @@ public Builder setAndroidAppDataStream( return this; } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ - public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder mergeAndroidAppDataStream( + com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { - if (resourceCase_ == 4 && - resource_ != com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder((com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 4 + && resource_ + != com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder( + (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2895,11 +3539,14 @@ public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.Andr return this; } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ public Builder clearAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { @@ -2918,24 +3565,32 @@ public Builder clearAndroidAppDataStream() { return this; } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder + getAndroidAppDataStreamBuilder() { return getAndroidAppDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder() { if ((resourceCase_ == 4) && (androidAppDataStreamBuilder_ != null)) { return androidAppDataStreamBuilder_.getMessageOrBuilder(); } else { @@ -2946,39 +3601,55 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndro } } /** + * + * *
        * A snapshot of an AndroidAppDataStream resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamFieldBuilder() { if (androidAppDataStreamBuilder_ == null) { if (!(resourceCase_ == 4)) { - resource_ = com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); - } - androidAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance(); + } + androidAppDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.AndroidAppDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 4; - onChanged();; + onChanged(); + ; return androidAppDataStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + iosAppDataStreamBuilder_; /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -2986,11 +3657,14 @@ public boolean hasIosAppDataStream() { return resourceCase_ == 5; } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; + * * @return The iosAppDataStream. */ @java.lang.Override @@ -3008,13 +3682,16 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() } } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder setIosAppDataStream( + com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3028,6 +3705,8 @@ public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppData return this; } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3046,18 +3725,25 @@ public Builder setIosAppDataStream( return this; } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder mergeIosAppDataStream( + com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { - if (resourceCase_ == 5 && - resource_ != com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder((com.google.analytics.admin.v1alpha.IosAppDataStream) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 5 + && resource_ + != com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder( + (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3072,6 +3758,8 @@ public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDa return this; } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3095,16 +3783,21 @@ public Builder clearIosAppDataStream() { return this; } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder + getIosAppDataStreamBuilder() { return getIosAppDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3112,7 +3805,8 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppData * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder + getIosAppDataStreamOrBuilder() { if ((resourceCase_ == 5) && (iosAppDataStreamBuilder_ != null)) { return iosAppDataStreamBuilder_.getMessageOrBuilder(); } else { @@ -3123,6 +3817,8 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat } } /** + * + * *
        * A snapshot of an IosAppDataStream resource in change history.
        * 
@@ -3130,32 +3826,44 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamFieldBuilder() { if (iosAppDataStreamBuilder_ == null) { if (!(resourceCase_ == 5)) { resource_ = com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance(); } - iosAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + iosAppDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.IosAppDataStream) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 5; - onChanged();; + onChanged(); + ; return iosAppDataStreamBuilder_; } 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 @@ -3163,11 +3871,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 @@ -3185,6 +3896,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3205,6 +3918,8 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3223,6 +3938,8 @@ public Builder setFirebaseLink( return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3231,10 +3948,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; } @@ -3249,6 +3970,8 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3272,6 +3995,8 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3282,6 +4007,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3300,6 +4027,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3307,32 +4036,44 @@ 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()); resource_ = null; } resourceCase_ = 6; - onChanged();; + onChanged(); + ; return firebaseLinkBuilder_; } 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 @@ -3340,11 +4081,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 @@ -3362,6 +4106,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3382,6 +4128,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3400,6 +4148,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3408,10 +4158,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; } @@ -3426,6 +4180,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3449,6 +4205,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3459,6 +4217,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3477,6 +4237,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3484,32 +4246,45 @@ 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()); resource_ = null; } resourceCase_ = 7; - onChanged();; + onChanged(); + ; return googleAdsLinkBuilder_; } 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 @@ -3517,11 +4292,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 @@ -3539,13 +4318,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(); @@ -3559,11 +4342,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) { @@ -3577,18 +4363,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; } @@ -3603,11 +4398,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) { @@ -3626,24 +4424,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 { @@ -3654,40 +4460,58 @@ 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()); resource_ = null; } resourceCase_ = 8; - onChanged();; + onChanged(); + ; return googleSignalsSettingsBuilder_; } 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 @@ -3695,37 +4519,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(); @@ -3739,15 +4576,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(); @@ -3758,19 +4600,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; } @@ -3785,12 +4638,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) { @@ -3809,71 +4666,102 @@ 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()); resource_ = null; } resourceCase_ = 9; - onChanged();; + onChanged(); + ; return displayVideo360AdvertiserLinkBuilder_; } 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 @@ -3881,37 +4769,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(); @@ -3925,15 +4827,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(); @@ -3944,19 +4851,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; } @@ -3971,12 +4889,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) { @@ -3995,70 +4917,102 @@ 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; } resourceCase_ = 10; - onChanged();; + onChanged(); + ; return displayVideo360AdvertiserLinkProposalBuilder_; } 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 @@ -4066,11 +5020,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 @@ -4088,6 +5045,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4108,6 +5067,8 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4126,18 +5087,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; } @@ -4152,6 +5120,8 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4175,16 +5145,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.
        * 
@@ -4192,7 +5167,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 { @@ -4203,6 +5179,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4210,32 +5188,46 @@ 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()); resource_ = null; } resourceCase_ = 11; - onChanged();; + onChanged(); + ; return conversionEventBuilder_; } 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 @@ -4243,15 +5235,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_; @@ -4265,13 +5263,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(); @@ -4285,11 +5288,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) { @@ -4303,18 +5310,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; } @@ -4329,11 +5346,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) { @@ -4352,24 +5373,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 { @@ -4380,39 +5411,56 @@ 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()); resource_ = null; } resourceCase_ = 12; - onChanged();; + onChanged(); + ; return measurementProtocolSecretBuilder_; } 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 @@ -4420,11 +5468,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 @@ -4442,6 +5493,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4462,6 +5515,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4480,18 +5535,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; } @@ -4506,6 +5568,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4529,16 +5593,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.
        * 
@@ -4546,7 +5615,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 { @@ -4557,6 +5627,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4564,32 +5636,44 @@ 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()); resource_ = null; } resourceCase_ = 13; - onChanged();; + onChanged(); + ; return customDimensionBuilder_; } 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 @@ -4597,11 +5681,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 @@ -4619,6 +5706,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4639,6 +5728,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4657,6 +5748,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4665,10 +5758,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; } @@ -4683,6 +5780,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4706,6 +5805,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4716,6 +5817,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4734,6 +5837,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4741,32 +5846,45 @@ 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()); resource_ = null; } resourceCase_ = 14; - onChanged();; + onChanged(); + ; return customMetricBuilder_; } 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 @@ -4774,11 +5892,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 @@ -4796,13 +5918,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(); @@ -4816,11 +5942,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) { @@ -4834,18 +5963,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; } @@ -4860,11 +5998,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) { @@ -4883,24 +6024,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 { @@ -4911,30 +6060,41 @@ 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()); resource_ = null; } resourceCase_ = 15; - onChanged();; + onChanged(); + ; return dataRetentionSettingsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4947,30 +6107,34 @@ 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 { - return new ChangeHistoryResource(input, extensionRegistry); - } - }; + 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 { + return new ChangeHistoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4982,20 +6146,23 @@ 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; 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 @@ -5004,29 +6171,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 { @@ -5037,39 +6204,54 @@ public java.lang.String getResource() { public static final int ACTION_FIELD_NUMBER = 2; private int action_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.ActionType getAction() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.valueOf(action_); + com.google.analytics.admin.v1alpha.ActionType result = + com.google.analytics.admin.v1alpha.ActionType.valueOf(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 @@ -5077,40 +6259,60 @@ 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() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder() { return getResourceBeforeChange(); } 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 @@ -5118,32 +6320,47 @@ 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() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder() { return getResourceAfterChange(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5155,12 +6372,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) { @@ -5181,17 +6398,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5201,25 +6417,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5250,117 +6464,127 @@ 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() @@ -5368,16 +6592,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5401,9 +6624,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 @@ -5422,7 +6645,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryChange buildPartial() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); + com.google.analytics.admin.v1alpha.ChangeHistoryChange result = + new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); result.resource_ = resource_; result.action_ = action_; if (resourceBeforeChangeBuilder_ == null) { @@ -5443,38 +6667,39 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -5482,7 +6707,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_; onChanged(); @@ -5515,7 +6741,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryChange) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ChangeHistoryChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5527,18 +6754,20 @@ public Builder mergeFrom( 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; @@ -5547,20 +6776,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 { @@ -5568,54 +6798,61 @@ 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) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; 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() { - + resource_ = getDefaultInstance().getResource(); onChanged(); 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) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -5623,51 +6860,65 @@ 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. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.valueOf(action_); + com.google.analytics.admin.v1alpha.ActionType result = + com.google.analytics.admin.v1alpha.ActionType.valueOf(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. */ @@ -5675,66 +6926,92 @@ public Builder setAction(com.google.analytics.admin.v1alpha.ActionType value) { if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); 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() { - + action_ = 0; onChanged(); 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 resourceBeforeChangeBuilder_ != null || 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. */ - 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(); @@ -5748,15 +7025,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(); onChanged(); @@ -5767,18 +7049,26 @@ 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 (resourceBeforeChange_ != null) { resourceBeforeChange_ = - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder(resourceBeforeChange_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .newBuilder(resourceBeforeChange_) + .mergeFrom(value) + .buildPartial(); } else { resourceBeforeChange_ = value; } @@ -5790,12 +7080,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() { if (resourceBeforeChangeBuilder_ == null) { @@ -5809,96 +7103,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() { + 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 resourceAfterChangeBuilder_ != null || 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. */ - 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(); @@ -5912,15 +7250,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(); onChanged(); @@ -5931,18 +7274,26 @@ 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 (resourceAfterChange_ != null) { resourceAfterChange_ = - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder(resourceAfterChange_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .newBuilder(resourceAfterChange_) + .mergeFrom(value) + .buildPartial(); } else { resourceAfterChange_ = value; } @@ -5954,12 +7305,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() { if (resourceAfterChangeBuilder_ == null) { @@ -5973,58 +7328,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() { + 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); } @@ -6034,12 +7410,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(); } @@ -6048,16 +7424,16 @@ 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 { - return new ChangeHistoryChange(input, extensionRegistry); - } - }; + 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 { + return new ChangeHistoryChange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6072,6 +7448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java index 48e0e49d..bb3c0817 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java @@ -1,108 +1,167 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface ChangeHistoryChangeOrBuilder extends +public interface ChangeHistoryChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The action. */ com.google.analytics.admin.v1alpha.ActionType getAction(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java index 2c8ba1a6..a5086993 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -31,16 +49,15 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ChangeHistoryEvent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,65 +77,74 @@ private ChangeHistoryEvent(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            id_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (changeTime_ != null) {
-              subBuilder = changeTime_.toBuilder();
+              id_ = s;
+              break;
             }
-            changeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(changeTime_);
-              changeTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (changeTime_ != null) {
+                subBuilder = changeTime_.toBuilder();
+              }
+              changeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(changeTime_);
+                changeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            actorType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            userActorEmail_ = s;
-            break;
-          }
-          case 40: {
+              actorType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            changesFiltered_ = input.readBool();
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              changes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              userActorEmail_ = s;
+              break;
             }
-            changes_.add(
-                input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 40:
+            {
+              changesFiltered_ = input.readBool();
+              break;
+            }
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                changes_ =
+                    new java.util.ArrayList<
+                        com.google.analytics.admin.v1alpha.ChangeHistoryChange>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              changes_.add(
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -127,27 +153,33 @@ private ChangeHistoryEvent(
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -156,29 +188,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 { @@ -189,11 +221,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 @@ -201,11 +236,14 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ @java.lang.Override @@ -213,6 +251,8 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** + * + * *
    * Time when change was made.
    * 
@@ -227,33 +267,44 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.ActorType getActorType() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = + com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; 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.
@@ -261,6 +312,7 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() {
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ @java.lang.Override @@ -269,14 +321,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.
@@ -284,16 +337,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 { @@ -304,12 +356,15 @@ public java.lang.String getUserActorEmail() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; 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 @@ -320,6 +375,8 @@ public boolean getChangesFiltered() { public static final int CHANGES_FIELD_NUMBER = 6; private java.util.List changes_; /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -332,6 +389,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.
@@ -340,11 +399,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.
@@ -357,6 +418,8 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -369,6 +432,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.
@@ -383,6 +448,7 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -394,15 +460,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_)) {
@@ -427,23 +493,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -453,27 +516,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -496,8 +555,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();
@@ -508,96 +566,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
@@ -607,21 +673,23 @@ 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()
@@ -629,17 +697,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getChangesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -667,9 +735,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
@@ -688,7 +756,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.id_ = id_;
       if (changeTimeBuilder_ == null) {
@@ -716,38 +785,39 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -755,7 +825,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_;
         onChanged();
@@ -791,9 +862,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent o
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            changesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChangesFieldBuilder() : null;
+            changesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChangesFieldBuilder()
+                    : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -818,7 +890,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -827,22 +900,25 @@ public Builder mergeFrom(
       }
       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; @@ -851,20 +927,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 { @@ -872,54 +949,61 @@ 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) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; 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() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -927,34 +1011,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 changeTimeBuilder_ != null || changeTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -975,14 +1072,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(); onChanged(); @@ -993,6 +1091,8 @@ public Builder setChangeTime( return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1003,7 +1103,7 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { if (changeTime_ != null) { changeTime_ = - com.google.protobuf.Timestamp.newBuilder(changeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(changeTime_).mergeFrom(value).buildPartial(); } else { changeTime_ = value; } @@ -1015,6 +1115,8 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1033,6 +1135,8 @@ public Builder clearChangeTime() { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1040,11 +1144,13 @@ public Builder clearChangeTime() { * .google.protobuf.Timestamp change_time = 2; */ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { - + onChanged(); return getChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when change was made.
      * 
@@ -1055,11 +1161,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.
      * 
@@ -1067,14 +1176,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_; @@ -1082,51 +1194,65 @@ 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. */ public Builder setActorTypeValue(int value) { - + actorType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.valueOf(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = + com.google.analytics.admin.v1alpha.ActorType.valueOf(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. */ @@ -1134,21 +1260,24 @@ public Builder setActorType(com.google.analytics.admin.v1alpha.ActorType value) if (value == null) { throw new NullPointerException(); } - + actorType_ = value.getNumber(); onChanged(); 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() { - + actorType_ = 0; onChanged(); return this; @@ -1156,6 +1285,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.
@@ -1163,13 +1294,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; @@ -1178,6 +1309,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.
@@ -1185,15 +1318,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 { @@ -1201,6 +1333,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.
@@ -1208,20 +1342,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) { + public Builder setUserActorEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userActorEmail_ = value; 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.
@@ -1229,15 +1365,18 @@ public Builder setUserActorEmail(
      * 
* * string user_actor_email = 4; + * * @return This builder for chaining. */ public Builder clearUserActorEmail() { - + userActorEmail_ = getDefaultInstance().getUserActorEmail(); 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.
@@ -1245,29 +1384,32 @@ 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) { + public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userActorEmail_ = value; onChanged(); 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 @@ -1275,50 +1417,64 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; onChanged(); return this; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @return This builder for chaining. */ public Builder clearChangesFiltered() { - + changesFiltered_ = false; onChanged(); return this; } private java.util.List changes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changes_ = new java.util.ArrayList(changes_); + changes_ = + new java.util.ArrayList( + changes_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1334,6 +1490,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1349,6 +1507,8 @@ public int getChangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1364,6 +1524,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.
@@ -1386,6 +1548,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1405,6 +1569,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1426,6 +1592,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.
@@ -1448,6 +1616,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1467,6 +1637,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1486,6 +1658,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1494,11 +1668,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);
@@ -1506,6 +1680,8 @@ public Builder addAllChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1524,6 +1700,8 @@ public Builder clearChanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1542,6 +1720,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.
@@ -1554,6 +1734,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.
@@ -1564,11 +1746,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.
@@ -1576,8 +1761,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 {
@@ -1585,6 +1770,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.
@@ -1593,10 +1780,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.
@@ -1606,10 +1795,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.
@@ -1617,27 +1809,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_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -1647,12 +1842,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();
   }
@@ -1661,16 +1856,16 @@ 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 {
-      return new ChangeHistoryEvent(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new ChangeHistoryEvent(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1685,6 +1880,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
index 5556422b..0229a14c 100644
--- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
+++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
@@ -1,51 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface ChangeHistoryEventOrBuilder extends
+public interface ChangeHistoryEventOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** + * + * *
    * Time when change was made.
    * 
@@ -55,25 +84,33 @@ public interface ChangeHistoryEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The actorType. */ com.google.analytics.admin.v1alpha.ActorType getActorType(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -81,10 +118,13 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -92,23 +132,28 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString - getUserActorEmailBytes(); + com.google.protobuf.ByteString getUserActorEmailBytes(); /** + * + * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ boolean getChangesFiltered(); /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -116,9 +161,10 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
-      getChangesList();
+  java.util.List getChangesList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -128,6 +174,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int index);
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -137,6 +185,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   int getChangesCount();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -144,9 +194,11 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
+  java.util.List
       getChangesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -154,6 +206,5 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
similarity index 75%
rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
index 2d2a962b..6e192a50 100644
--- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
+++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ChangeHistoryResourceType */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Account resource
    * 
@@ -29,6 +49,8 @@ public enum ChangeHistoryResourceType */ ACCOUNT(1), /** + * + * *
    * Property resource
    * 
@@ -37,6 +59,8 @@ public enum ChangeHistoryResourceType */ PROPERTY(2), /** + * + * *
    * WebDataStream resource
    * 
@@ -45,6 +69,8 @@ public enum ChangeHistoryResourceType */ WEB_DATA_STREAM(3), /** + * + * *
    * AndroidAppDataStream resource
    * 
@@ -53,6 +79,8 @@ public enum ChangeHistoryResourceType */ ANDROID_APP_DATA_STREAM(4), /** + * + * *
    * IosAppDataStream resource
    * 
@@ -61,6 +89,8 @@ public enum ChangeHistoryResourceType */ IOS_APP_DATA_STREAM(5), /** + * + * *
    * FirebaseLink resource
    * 
@@ -69,6 +99,8 @@ public enum ChangeHistoryResourceType */ FIREBASE_LINK(6), /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -77,6 +109,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_ADS_LINK(7), /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -85,6 +119,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_SIGNALS_SETTINGS(8), /** + * + * *
    * ConversionEvent resource
    * 
@@ -93,6 +129,8 @@ public enum ChangeHistoryResourceType */ CONVERSION_EVENT(9), /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -101,6 +139,8 @@ public enum ChangeHistoryResourceType */ MEASUREMENT_PROTOCOL_SECRET(10), /** + * + * *
    * CustomDimension resource
    * 
@@ -109,6 +149,8 @@ public enum ChangeHistoryResourceType */ CUSTOM_DIMENSION(11), /** + * + * *
    * CustomMetric resource
    * 
@@ -117,6 +159,8 @@ public enum ChangeHistoryResourceType */ CUSTOM_METRIC(12), /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -125,6 +169,8 @@ public enum ChangeHistoryResourceType */ DATA_RETENTION_SETTINGS(13), /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -133,6 +179,8 @@ public enum ChangeHistoryResourceType */ DISPLAY_VIDEO_360_ADVERTISER_LINK(14), /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -144,6 +192,8 @@ public enum ChangeHistoryResourceType ; /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -152,6 +202,8 @@ public enum ChangeHistoryResourceType */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Account resource
    * 
@@ -160,6 +212,8 @@ public enum ChangeHistoryResourceType */ public static final int ACCOUNT_VALUE = 1; /** + * + * *
    * Property resource
    * 
@@ -168,6 +222,8 @@ public enum ChangeHistoryResourceType */ public static final int PROPERTY_VALUE = 2; /** + * + * *
    * WebDataStream resource
    * 
@@ -176,6 +232,8 @@ public enum ChangeHistoryResourceType */ public static final int WEB_DATA_STREAM_VALUE = 3; /** + * + * *
    * AndroidAppDataStream resource
    * 
@@ -184,6 +242,8 @@ public enum ChangeHistoryResourceType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 4; /** + * + * *
    * IosAppDataStream resource
    * 
@@ -192,6 +252,8 @@ public enum ChangeHistoryResourceType */ public static final int IOS_APP_DATA_STREAM_VALUE = 5; /** + * + * *
    * FirebaseLink resource
    * 
@@ -200,6 +262,8 @@ public enum ChangeHistoryResourceType */ public static final int FIREBASE_LINK_VALUE = 6; /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -208,6 +272,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -216,6 +282,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** + * + * *
    * ConversionEvent resource
    * 
@@ -224,6 +292,8 @@ public enum ChangeHistoryResourceType */ public static final int CONVERSION_EVENT_VALUE = 9; /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -232,6 +302,8 @@ public enum ChangeHistoryResourceType */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** + * + * *
    * CustomDimension resource
    * 
@@ -240,6 +312,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_DIMENSION_VALUE = 11; /** + * + * *
    * CustomMetric resource
    * 
@@ -248,6 +322,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_METRIC_VALUE = 12; /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -256,6 +332,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -264,6 +342,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -272,7 +352,6 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -297,23 +376,40 @@ 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 3: return WEB_DATA_STREAM; - case 4: return ANDROID_APP_DATA_STREAM; - case 5: return IOS_APP_DATA_STREAM; - 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; - default: return null; + case 0: + return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: + return ACCOUNT; + case 2: + return PROPERTY; + case 3: + return WEB_DATA_STREAM; + case 4: + return ANDROID_APP_DATA_STREAM; + case 5: + return IOS_APP_DATA_STREAM; + 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; + default: + return null; } } @@ -321,28 +417,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); } @@ -351,8 +447,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; @@ -368,4 +463,3 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ChangeHistoryResourceType) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index 2aaecba5..355d7241 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ -public final class ConversionEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConversionEvent) ConversionEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -26,16 +44,15 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConversionEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,82 +71,91 @@ private ConversionEvent( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - eventName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 32: { - - deletable_ = input.readBool(); - break; - } - case 40: { + eventName_ = s; + break; + } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - custom_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 32: + { + deletable_ = input.readBool(); + break; + } + case 40: + { + custom_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -138,30 +164,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 { @@ -172,12 +198,15 @@ public java.lang.String getName() { public static final int EVENT_NAME_FIELD_NUMBER = 2; 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 @@ -186,30 +215,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 { @@ -220,11 +249,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 @@ -232,11 +265,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 @@ -244,11 +281,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() { @@ -258,11 +298,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_; /** + * + * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -273,6 +316,8 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_; /** + * + * *
    * Output only. If set to true, this conversion event refers to a custom event.  If set to
    * false, this conversion event refers to a default event in GA. Default
@@ -283,6 +328,7 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -291,6 +337,7 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -335,16 +381,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,26 +397,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -394,128 +433,135 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConversionEvent) com.google.analytics.admin.v1alpha.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder() @@ -523,16 +569,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +599,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 @@ -575,7 +620,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent buildPartial() { - com.google.analytics.admin.v1alpha.ConversionEvent result = new com.google.analytics.admin.v1alpha.ConversionEvent(this); + com.google.analytics.admin.v1alpha.ConversionEvent result = + new com.google.analytics.admin.v1alpha.ConversionEvent(this); result.name_ = name_; result.eventName_ = eventName_; if (createTimeBuilder_ == null) { @@ -593,38 +639,39 @@ public com.google.analytics.admin.v1alpha.ConversionEvent buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -632,7 +679,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_; onChanged(); @@ -669,7 +717,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ConversionEvent) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ConversionEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -681,19 +730,21 @@ public Builder mergeFrom( 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; @@ -702,21 +753,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 { @@ -724,57 +776,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -782,19 +841,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; @@ -803,21 +864,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 { @@ -825,57 +887,64 @@ 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) { + public Builder setEventName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventName_ = value; 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() { - + eventName_ = getDefaultInstance().getEventName(); onChanged(); 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) { + public Builder setEventNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventName_ = value; onChanged(); return this; @@ -883,39 +952,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 createTimeBuilder_ != null || 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. */ 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) { @@ -931,14 +1019,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(); onChanged(); @@ -949,17 +1040,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -971,11 +1066,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() { if (createTimeBuilder_ == null) { @@ -989,60 +1088,79 @@ 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time when this conversion event was created in the property.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean deletable_ ; + private boolean deletable_; /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -1050,37 +1168,45 @@ public boolean getDeletable() { return deletable_; } /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeletable() { - + deletable_ = false; onChanged(); return this; } - private boolean custom_ ; + private boolean custom_; /** + * + * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1091,6 +1217,7 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -1098,6 +1225,8 @@ public boolean getCustom() { return custom_; } /** + * + * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1108,16 +1237,19 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If set to true, this conversion event refers to a custom event.  If set to
      * false, this conversion event refers to a default event in GA. Default
@@ -1128,17 +1260,18 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustom() { - + custom_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1148,12 +1281,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(); } @@ -1162,16 +1295,16 @@ 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 { - return new ConversionEvent(input, extensionRegistry); - } - }; + 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 { + return new ConversionEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,6 +1319,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index 3629fb0b..b42b2f98 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java @@ -1,94 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface ConversionEventOrBuilder extends +public interface ConversionEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + com.google.protobuf.ByteString getEventNameBytes(); /** + * + * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when this conversion event was created in the property.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ boolean getDeletable(); /** + * + * *
    * Output only. If set to true, this conversion event refers to a custom event.  If set to
    * false, this conversion event refers to a default event in GA. Default
@@ -99,6 +141,7 @@ public interface ConversionEventOrBuilder extends
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ boolean getCustom(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java index ca902274..1963dc83 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,77 @@ private CreateConversionEventRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null; - if (conversionEvent_ != null) { - subBuilder = conversionEvent_.toBuilder(); + case 10: + { + com.google.analytics.admin.v1alpha.ConversionEvent.Builder subBuilder = null; + if (conversionEvent_ != null) { + subBuilder = conversionEvent_.toBuilder(); + } + conversionEvent_ = + input.readMessage( + com.google.analytics.admin.v1alpha.ConversionEvent.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversionEvent_); + conversionEvent_ = subBuilder.buildPartial(); + } + + break; } - conversionEvent_ = input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversionEvent_); - conversionEvent_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -119,23 +148,34 @@ 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() { @@ -145,12 +185,17 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion public static final int PARENT_FIELD_NUMBER = 2; 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 @@ -159,30 +204,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 { @@ -191,6 +238,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -220,8 +267,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_); @@ -234,20 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +316,127 @@ 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() @@ -389,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +468,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(); } @@ -435,7 +490,8 @@ 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); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = + new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); if (conversionEventBuilder_ == null) { result.conversionEvent_ = conversionEvent_; } else { @@ -450,46 +506,50 @@ public com.google.analytics.admin.v1alpha.CreateConversionEventRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -516,7 +576,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,39 +590,58 @@ public Builder mergeFrom( 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 conversionEventBuilder_ != null || 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. */ 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) { @@ -576,11 +657,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) { @@ -594,17 +679,23 @@ 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 (conversionEvent_ != null) { conversionEvent_ = - com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder(conversionEvent_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder(conversionEvent_) + .mergeFrom(value) + .buildPartial(); } else { conversionEvent_ = value; } @@ -616,11 +707,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() { if (conversionEventBuilder_ == null) { @@ -634,48 +729,65 @@ 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() { - + onChanged(); 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_; @@ -683,19 +795,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; @@ -704,21 +820,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 { @@ -726,64 +845,77 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,30 +925,32 @@ 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 { - return new CreateConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +962,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..9efd85dc --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The conversionEvent. + */ + com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + * + * + *
+   * Required. The resource name of the parent property where this conversion event will
+   * be created. Format: properties/123
+   * 
+ * + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the parent property where this conversion event will
+   * be created. Format: properties/123
+   * 
+ * + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java index 6285936e..3ea4d680 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,77 @@ private CreateCustomDimensionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; - if (customDimension_ != null) { - subBuilder = customDimension_.toBuilder(); + parent_ = s; + break; } - customDimension_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customDimension_); - customDimension_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; + if (customDimension_ != null) { + subBuilder = customDimension_.toBuilder(); + } + customDimension_ = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomDimension.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customDimension_); + customDimension_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,29 +149,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 { @@ -153,11 +184,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 @@ -165,23 +201,34 @@ 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() { @@ -189,6 +236,7 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,8 +268,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -269,117 +314,127 @@ 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() @@ -387,16 +442,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,13 +466,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(); } @@ -433,7 +488,8 @@ 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); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); result.parent_ = parent_; if (customDimensionBuilder_ == null) { result.customDimension_ = customDimension_; @@ -448,46 +504,50 @@ public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -514,7 +574,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,18 +588,22 @@ public Builder mergeFrom( 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; @@ -546,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 { @@ -567,54 +636,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -622,39 +704,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 customDimensionBuilder_ != null || 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. */ 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) { @@ -670,11 +771,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) { @@ -688,17 +793,23 @@ 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 (customDimension_ != null) { customDimension_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_) + .mergeFrom(value) + .buildPartial(); } else { customDimension_ = value; } @@ -710,11 +821,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() { if (customDimensionBuilder_ == null) { @@ -728,55 +843,72 @@ 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() { - + onChanged(); 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); } @@ -786,30 +918,32 @@ 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 { - return new CreateCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,9 +955,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..a49f402b --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customDimension. + */ + com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java index 5eef2515..734c241e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,76 @@ private CreateCustomMetricRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; - if (customMetric_ != null) { - subBuilder = customMetric_.toBuilder(); + parent_ = s; + break; } - customMetric_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customMetric_); - customMetric_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; + if (customMetric_ != null) { + subBuilder = customMetric_.toBuilder(); + } + customMetric_ = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customMetric_); + customMetric_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,29 +148,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 { @@ -153,11 +183,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 @@ -165,23 +200,34 @@ 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() { @@ -189,6 +235,7 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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_); } @@ -221,8 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +277,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -269,117 +313,127 @@ 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() @@ -387,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,13 +465,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(); } @@ -433,7 +487,8 @@ 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); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); result.parent_ = parent_; if (customMetricBuilder_ == null) { result.customMetric_ = customMetric_; @@ -448,38 +503,39 @@ public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -487,7 +543,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_; onChanged(); @@ -514,7 +572,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,18 +585,22 @@ public Builder mergeFrom( 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; @@ -546,20 +609,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 { @@ -567,54 +633,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -622,39 +701,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 customMetricBuilder_ != null || 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. */ 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) { @@ -670,11 +768,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) { @@ -688,17 +790,23 @@ 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 (customMetric_ != null) { customMetric_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_) + .mergeFrom(value) + .buildPartial(); } else { customMetric_ = value; } @@ -710,11 +818,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() { if (customMetricBuilder_ == null) { @@ -728,55 +840,71 @@ 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() { - + onChanged(); 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); } @@ -786,12 +914,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(); } @@ -800,16 +929,16 @@ 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 { - return new CreateCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,6 +953,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..1cf913ab --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customMetric. + */ + com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java index a21f24db..ad64d8a1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} */ -public final class CreateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) CreateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataStreamRequest.newBuilder() to construct. private CreateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,76 @@ private CreateDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; - if (dataStream_ != null) { - subBuilder = dataStream_.toBuilder(); + parent_ = s; + break; } - dataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataStream_); - dataStream_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; + if (dataStream_ != null) { + subBuilder = dataStream_.toBuilder(); + } + dataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataStream_); + dataStream_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,29 +148,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 { @@ -153,11 +183,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 @@ -165,23 +200,34 @@ 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() { @@ -189,6 +235,7 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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_); } @@ -221,8 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +277,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -269,117 +313,127 @@ 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() @@ -387,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +465,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 @@ -433,7 +486,8 @@ public com.google.analytics.admin.v1alpha.CreateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); + com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = + new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); result.parent_ = parent_; if (dataStreamBuilder_ == null) { result.dataStream_ = dataStream_; @@ -448,38 +502,39 @@ public com.google.analytics.admin.v1alpha.CreateDataStreamRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -487,7 +542,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_; onChanged(); @@ -514,7 +570,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,18 +583,22 @@ public Builder mergeFrom( 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; @@ -546,20 +607,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 { @@ -567,54 +631,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -622,39 +699,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 dataStreamBuilder_ != null || 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. */ 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) { @@ -670,11 +766,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) { @@ -688,17 +788,23 @@ 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 (dataStream_ != null) { dataStream_ = - com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_) + .mergeFrom(value) + .buildPartial(); } else { dataStream_ = value; } @@ -710,11 +816,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() { if (dataStreamBuilder_ == null) { @@ -728,55 +838,71 @@ 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() { - + onChanged(); 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); } @@ -786,12 +912,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(); } @@ -800,16 +926,16 @@ 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 { - return new CreateDataStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..cce680f1 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The dataStream. + */ + com.google.analytics.admin.v1alpha.DataStream getDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..fbe33191 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,1035 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CreateDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CreateDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateDisplayVideo360AdvertiserLinkProposalRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreateDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + subBuilder = null; + if (displayVideo360AdvertiserLinkProposal_ != null) { + subBuilder = displayVideo360AdvertiserLinkProposal_.toBuilder(); + } + displayVideo360AdvertiserLinkProposal_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLinkProposal_); + displayVideo360AdvertiserLinkProposal_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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 getDisplayVideo360AdvertiserLinkProposal(); + } + + 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()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (displayVideo360AdvertiserLinkProposal_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getDisplayVideo360AdvertiserLinkProposal()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + 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) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = null; + } else { + displayVideo360AdvertiserLinkProposal_ = null; + 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); + result.parent_ = parent_; + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposal_; + } else { + result.displayVideo360AdvertiserLinkProposal_ = + displayVideo360AdvertiserLinkProposalBuilder_.build(); + } + 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.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_; + onChanged(); + } + if (other.hasDisplayVideo360AdvertiserLinkProposal()) { + mergeDisplayVideo360AdvertiserLinkProposal( + other.getDisplayVideo360AdvertiserLinkProposal()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 displayVideo360AdvertiserLinkProposalBuilder_ != null + || 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. + */ + 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; + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); + } + + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + displayVideo360AdvertiserLinkProposal_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder( + displayVideo360AdvertiserLinkProposal_) + .mergeFrom(value) + .buildPartial(); + } else { + displayVideo360AdvertiserLinkProposal_ = value; + } + onChanged(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); + } + + 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() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = null; + onChanged(); + } else { + displayVideo360AdvertiserLinkProposal_ = null; + displayVideo360AdvertiserLinkProposalBuilder_ = null; + } + + 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() { + + 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 { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest( + input, extensionRegistry); + } + }; + + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..91d8814f --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + boolean hasDisplayVideo360AdvertiserLinkProposal(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLinkProposal. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java index 42319a03..336e4762 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ -public final class CreateDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDisplayVideo360AdvertiserLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +72,79 @@ private CreateDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + parent_ = s; + break; } - displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = + null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + } + displayVideo360AdvertiserLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,29 +153,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 { @@ -151,13 +186,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 @@ -165,30 +206,44 @@ 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() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { return getDisplayVideo360AdvertiserLink(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,8 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +287,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,135 +325,152 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,19 +486,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); } @@ -432,8 +509,10 @@ 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); + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); result.parent_ = parent_; if (displayVideo360AdvertiserLinkBuilder_ == null) { result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; @@ -448,46 +527,53 @@ public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -510,11 +596,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,18 +615,22 @@ public Builder mergeFrom( 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; @@ -546,20 +639,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 { @@ -567,96 +663,132 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 displayVideo360AdvertiserLinkBuilder_ != null || displayVideo360AdvertiserLink_ != null; + return displayVideo360AdvertiserLinkBuilder_ != null + || 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. */ - 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(); @@ -670,11 +802,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) { @@ -688,17 +824,25 @@ 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 (displayVideo360AdvertiserLink_ != null) { displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( + displayVideo360AdvertiserLink_) + .mergeFrom(value) + .buildPartial(); } else { displayVideo360AdvertiserLink_ = value; } @@ -710,11 +854,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() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -728,55 +876,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() { + 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); } @@ -786,30 +952,34 @@ 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 { - return new CreateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,9 +991,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..53dabbab --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java index 3e9baef1..9df54351 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateFirebaseLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +70,77 @@ private CreateFirebaseLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null; - if (firebaseLink_ != null) { - subBuilder = firebaseLink_.toBuilder(); + parent_ = s; + break; } - firebaseLink_ = input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firebaseLink_); - firebaseLink_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.FirebaseLink.Builder subBuilder = null; + if (firebaseLink_ != null) { + subBuilder = firebaseLink_.toBuilder(); + } + firebaseLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firebaseLink_); + firebaseLink_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -121,30 +149,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 { @@ -155,11 +185,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 @@ -167,23 +202,34 @@ 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() { @@ -191,6 +237,7 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -223,8 +269,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +315,127 @@ 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() @@ -389,16 +443,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +467,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(); } @@ -435,7 +489,8 @@ 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); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); result.parent_ = parent_; if (firebaseLinkBuilder_ == null) { result.firebaseLink_ = firebaseLink_; @@ -450,38 +505,39 @@ public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -489,7 +545,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_; onChanged(); @@ -516,7 +574,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,19 +587,23 @@ public Builder mergeFrom( 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; @@ -549,21 +612,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 { @@ -571,57 +637,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -629,39 +708,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 firebaseLinkBuilder_ != null || 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. */ 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) { @@ -677,11 +775,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) { @@ -695,17 +797,23 @@ 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 (firebaseLink_ != null) { firebaseLink_ = - com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder(firebaseLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder(firebaseLink_) + .mergeFrom(value) + .buildPartial(); } else { firebaseLink_ = value; } @@ -717,11 +825,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() { if (firebaseLinkBuilder_ == null) { @@ -735,55 +847,71 @@ 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() { - + onChanged(); 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); } @@ -793,12 +921,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(); } @@ -807,16 +936,16 @@ 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 { - return new CreateFirebaseLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateFirebaseLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,6 +960,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 00000000..af6b2f56 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firebaseLink. + */ + com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java index 6b8a6b6a..8a8132eb 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,76 @@ private CreateGoogleAdsLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; - if (googleAdsLink_ != null) { - subBuilder = googleAdsLink_.toBuilder(); + parent_ = s; + break; } - googleAdsLink_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleAdsLink_); - googleAdsLink_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; + if (googleAdsLink_ != null) { + subBuilder = googleAdsLink_.toBuilder(); + } + googleAdsLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleAdsLink_); + googleAdsLink_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,29 +148,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 { @@ -153,11 +183,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 @@ -165,23 +200,34 @@ 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() { @@ -189,6 +235,7 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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_); } @@ -221,8 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +277,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -269,117 +313,127 @@ 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() @@ -387,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,13 +465,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(); } @@ -433,7 +487,8 @@ 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); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); result.parent_ = parent_; if (googleAdsLinkBuilder_ == null) { result.googleAdsLink_ = googleAdsLink_; @@ -448,38 +503,39 @@ public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -487,7 +543,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_; onChanged(); @@ -514,7 +572,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,18 +586,22 @@ public Builder mergeFrom( 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; @@ -546,20 +610,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 { @@ -567,54 +634,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -622,39 +702,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 googleAdsLinkBuilder_ != null || 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. */ 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) { @@ -670,11 +769,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) { @@ -688,17 +791,23 @@ 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 (googleAdsLink_ != null) { googleAdsLink_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_) + .mergeFrom(value) + .buildPartial(); } else { googleAdsLink_ = value; } @@ -710,11 +819,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() { if (googleAdsLinkBuilder_ == null) { @@ -728,55 +841,71 @@ 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() { - + onChanged(); 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); } @@ -786,12 +915,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(); } @@ -800,16 +930,16 @@ 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 { - return new CreateGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 00000000..bd09628d --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java similarity index 59% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java index 0c8db36b..cce3fcdf 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +72,71 @@ private CreateMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null; - if (measurementProtocolSecret_ != null) { - subBuilder = measurementProtocolSecret_.toBuilder(); + parent_ = s; + break; } - measurementProtocolSecret_ = input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(measurementProtocolSecret_); - measurementProtocolSecret_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = + null; + if (measurementProtocolSecret_ != null) { + subBuilder = measurementProtocolSecret_.toBuilder(); + } + measurementProtocolSecret_ = + input.readMessage( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(measurementProtocolSecret_); + measurementProtocolSecret_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -114,7 +144,10 @@ private CreateMeasurementProtocolSecretRequest(
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * string parent = 1 [(.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 @@ -123,14 +156,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 parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -138,17 +172,18 @@ public java.lang.String getParent() {
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * string parent = 1 [(.google.api.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 { @@ -159,11 +194,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 @@ -171,30 +211,44 @@ 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() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { return getMeasurementProtocolSecret(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -227,8 +280,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,19 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +330,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -418,19 +485,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); } @@ -438,8 +508,10 @@ 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); + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); result.parent_ = parent_; if (measurementProtocolSecretBuilder_ == null) { result.measurementProtocolSecret_ = measurementProtocolSecret_; @@ -454,46 +526,52 @@ public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -516,11 +594,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -532,6 +613,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -539,14 +622,16 @@ public Builder mergeFrom(
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * string parent = 1 [(.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; @@ -555,6 +640,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -562,16 +649,17 @@ public java.lang.String getParent() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -579,6 +667,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -586,21 +676,25 @@ public java.lang.String getParent() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * string parent = 1 [(.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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -608,16 +702,21 @@ public Builder setParent(
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * string 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -625,17 +724,19 @@ public Builder clearParent() {
      * Format: properties/{property}/webDataStreams/{webDataStream}
      * 
* - * string parent = 1 [(.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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -643,41 +744,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 measurementProtocolSecretBuilder_ != null || 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. */ - 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(); @@ -691,11 +813,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) { @@ -709,17 +835,25 @@ 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 (measurementProtocolSecret_ != null) { measurementProtocolSecret_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder(measurementProtocolSecret_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( + measurementProtocolSecret_) + .mergeFrom(value) + .buildPartial(); } else { measurementProtocolSecret_ = value; } @@ -731,11 +865,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() { if (measurementProtocolSecretBuilder_ == null) { @@ -749,55 +887,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() { + 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); } @@ -807,30 +963,33 @@ 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 { - return new CreateMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,9 +1001,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/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java index a9a9f76d..4bcf46fd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface CreateMeasurementProtocolSecretRequestOrBuilder extends +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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -15,11 +33,16 @@ public interface CreateMeasurementProtocolSecretRequestOrBuilder extends
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * string parent = 1 [(.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 parent resource where this secret will be created.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -27,36 +50,53 @@ public interface CreateMeasurementProtocolSecretRequestOrBuilder extends
    * Format: properties/{property}/webDataStreams/{webDataStream}
    * 
* - * string parent = 1 [(.google.api.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 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. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
    * 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. */ 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]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java index 45fe53cb..6c78f120 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) CreatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePropertyRequest() { - } + + private CreatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreatePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,70 @@ private CreatePropertyRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; - if (property_ != null) { - subBuilder = property_.toBuilder(); + case 10: + { + com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; + if (property_ != null) { + subBuilder = property_.toBuilder(); + } + property_ = + input.readMessage( + com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(property_); + property_ = subBuilder.buildPartial(); + } + + break; } - property_ = input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(property_); - property_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -113,25 +139,36 @@ 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() { @@ -139,6 +176,7 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 (property_ != null) { output.writeMessage(1, getProperty()); } @@ -165,8 +202,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +212,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -209,117 +245,127 @@ 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() @@ -327,16 +373,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +395,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 @@ -371,7 +416,8 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreatePropertyRequest result = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); + com.google.analytics.admin.v1alpha.CreatePropertyRequest result = + new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); if (propertyBuilder_ == null) { result.property_ = property_; } else { @@ -385,38 +431,39 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -424,7 +471,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()); } @@ -447,7 +495,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreatePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreatePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -459,42 +508,61 @@ public Builder mergeFrom( 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 propertyBuilder_ != null || 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. */ 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) { @@ -510,12 +578,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) { @@ -529,18 +601,24 @@ 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 (property_ != null) { property_ = - com.google.analytics.admin.v1alpha.Property.newBuilder(property_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.Property.newBuilder(property_) + .mergeFrom(value) + .buildPartial(); } else { property_ = value; } @@ -552,12 +630,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() { if (propertyBuilder_ == null) { @@ -571,58 +653,74 @@ 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() { - + onChanged(); 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); } @@ -632,12 +730,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(); } @@ -646,16 +744,16 @@ 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 { - return new CreatePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java new file mode 100644 index 00000000..0cc75c3e --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreatePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The property. + */ + com.google.analytics.admin.v1alpha.Property getProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java index 75e19dd8..60d21086 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateUserLink RPC.
  * Users can have multiple email addresses associated with their Google
@@ -16,31 +33,31 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
  */
-public final class CreateUserLinkRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
     CreateUserLinkRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateUserLinkRequest.newBuilder() to construct.
   private CreateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateUserLinkRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateUserLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateUserLinkRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,70 +76,81 @@ private CreateUserLinkRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            notifyNewUser_ = input.readBool();
-            break;
-          }
-          case 26: {
-            com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null;
-            if (userLink_ != null) {
-              subBuilder = userLink_.toBuilder();
+              parent_ = s;
+              break;
             }
-            userLink_ = input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(userLink_);
-              userLink_ = subBuilder.buildPartial();
+          case 16:
+            {
+              notifyNewUser_ = input.readBool();
+              break;
             }
+          case 26:
+            {
+              com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null;
+              if (userLink_ != null) {
+                subBuilder = userLink_.toBuilder();
+              }
+              userLink_ =
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(userLink_);
+                userLink_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -131,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,12 +194,15 @@ public java.lang.String getParent() { public static final int NOTIFY_NEW_USER_FIELD_NUMBER = 2; private boolean notifyNewUser_; /** + * + * *
    * Optional. If set, then email the new user notifying them that they've been granted
    * permissions to the resource.
    * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUser. */ @java.lang.Override @@ -180,11 +213,16 @@ public boolean getNotifyNewUser() { public static final int USER_LINK_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ @java.lang.Override @@ -192,23 +230,34 @@ public boolean hasUserLink() { return userLink_ != null; } /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { @@ -216,6 +265,7 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -251,12 +300,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUser_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, notifyNewUser_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUser_); } if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUserLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUserLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -266,21 +313,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getNotifyNewUser() - != other.getNotifyNewUser()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getNotifyNewUser() != other.getNotifyNewUser()) return false; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink() - .equals(other.getUserLink())) return false; + if (!getUserLink().equals(other.getUserLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -296,8 +341,7 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNotifyNewUser()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUser()); if (hasUserLink()) { hash = (37 * hash) + USER_LINK_FIELD_NUMBER; hash = (53 * hash) + getUserLink().hashCode(); @@ -308,96 +352,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateUserLink RPC.
    * Users can have multiple email addresses associated with their Google
@@ -410,21 +462,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
       com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.CreateUserLinkRequest.newBuilder()
@@ -432,16 +486,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +512,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -480,7 +533,8 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
-      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
+      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result =
+          new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
       result.parent_ = parent_;
       result.notifyNewUser_ = notifyNewUser_;
       if (userLinkBuilder_ == null) {
@@ -496,38 +550,39 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateUserLinkRequest other) {
-      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -565,7 +621,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -577,18 +634,22 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -597,20 +658,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -618,67 +682,83 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private boolean notifyNewUser_ ; + private boolean notifyNewUser_; /** + * + * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUser. */ @java.lang.Override @@ -686,32 +766,38 @@ public boolean getNotifyNewUser() { return notifyNewUser_; } /** + * + * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The notifyNewUser to set. * @return This builder for chaining. */ public Builder setNotifyNewUser(boolean value) { - + notifyNewUser_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set, then email the new user notifying them that they've been granted
      * permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNotifyNewUser() { - + notifyNewUser_ = false; onChanged(); return this; @@ -719,39 +805,58 @@ public Builder clearNotifyNewUser() { private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinkBuilder_; /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ public boolean hasUserLink() { return userLinkBuilder_ != null || userLink_ != null; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -767,11 +872,15 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -785,17 +894,23 @@ public Builder setUserLink( return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { if (userLink_ != null) { userLink_ = - com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_) + .mergeFrom(value) + .buildPartial(); } else { userLink_ = value; } @@ -807,11 +922,15 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUserLink() { if (userLinkBuilder_ == null) { @@ -825,55 +944,71 @@ public Builder clearUserLink() { return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { - + onChanged(); return getUserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null ? - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), - getParentForChildren(), - isClean()); + userLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), getParentForChildren(), isClean()); userLink_ = null; } return userLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -883,12 +1018,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.CreateUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(); } @@ -897,16 +1032,16 @@ public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,6 +1056,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..c6291c96 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. If set, then email the new user notifying them that they've been granted
+   * permissions to the resource.
+   * 
+ * + * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The notifyNewUser. + */ + boolean getNotifyNewUser(); + + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java index 7022b214..a27dd19d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateWebDataStreamRequest} */ -public final class CreateWebDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) CreateWebDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWebDataStreamRequest.newBuilder() to construct. private CreateWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWebDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,76 @@ private CreateWebDataStreamRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; - if (webDataStream_ != null) { - subBuilder = webDataStream_.toBuilder(); + case 10: + { + com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; + if (webDataStream_ != null) { + subBuilder = webDataStream_.toBuilder(); + } + webDataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webDataStream_); + webDataStream_ = subBuilder.buildPartial(); + } + + break; } - webDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webDataStream_); - webDataStream_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); } public static final int WEB_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; /** + * + * *
    * Required. The web stream to create.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -119,23 +147,34 @@ public boolean hasWebDataStream() { return webDataStream_ != null; } /** + * + * *
    * Required. The web stream to create.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { - return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } /** + * + * *
    * Required. The web stream to create.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { @@ -145,12 +184,17 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource where this web data stream 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 @@ -159,30 +203,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 web data stream 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 { @@ -191,6 +237,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (webDataStream_ != null) { output.writeMessage(1, getWebDataStream()); } @@ -220,8 +266,7 @@ public int getSerializedSize() { size = 0; if (webDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWebDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWebDataStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -234,20 +279,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.CreateWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other = + (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) obj; if (hasWebDataStream() != other.hasWebDataStream()) return false; if (hasWebDataStream()) { - if (!getWebDataStream() - .equals(other.getWebDataStream())) return false; + if (!getWebDataStream().equals(other.getWebDataStream())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +315,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateWebDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) com.google.analytics.admin.v1alpha.CreateWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.newBuilder() @@ -389,16 +443,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +467,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_CreateWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance(); } @@ -435,7 +489,8 @@ public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest result = + new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(this); if (webDataStreamBuilder_ == null) { result.webDataStream_ = webDataStream_; } else { @@ -450,38 +505,39 @@ public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -489,7 +545,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest.getDefaultInstance()) + return this; if (other.hasWebDataStream()) { mergeWebDataStream(other.getWebDataStream()); } @@ -516,7 +574,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,39 +588,58 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + webDataStreamBuilder_; /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the webDataStream field is set. */ public boolean hasWebDataStream() { return webDataStreamBuilder_ != null || webDataStream_ != null; } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The webDataStream. */ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (webDataStreamBuilder_ == null) { - return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } else { return webDataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { @@ -576,11 +655,15 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWebDataStream( com.google.analytics.admin.v1alpha.WebDataStream.Builder builderForValue) { @@ -594,17 +677,23 @@ public Builder setWebDataStream( return this; } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { if (webDataStream_ != null) { webDataStream_ = - com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_) + .mergeFrom(value) + .buildPartial(); } else { webDataStream_ = value; } @@ -616,11 +705,15 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWebDataStream() { if (webDataStreamBuilder_ == null) { @@ -634,48 +727,64 @@ public Builder clearWebDataStream() { return this; } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStreamBuilder() { - + onChanged(); return getWebDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (webDataStreamBuilder_ != null) { return webDataStreamBuilder_.getMessageOrBuilder(); } else { - return webDataStream_ == null ? - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } } /** + * + * *
      * Required. The web stream to create.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { - webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( - getWebDataStream(), - getParentForChildren(), - isClean()); + webDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + getWebDataStream(), getParentForChildren(), isClean()); webDataStream_ = null; } return webDataStreamBuilder_; @@ -683,19 +792,23 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource where this web data stream 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; @@ -704,21 +817,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this web data stream 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 { @@ -726,64 +842,77 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this web data stream 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this web data stream 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this web data stream 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,12 +922,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest(); } @@ -807,16 +937,16 @@ public static com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,6 +961,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..c1f26635 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateWebDataStreamRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateWebDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The web stream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the webDataStream field is set. + */ + boolean hasWebDataStream(); + /** + * + * + *
+   * Required. The web stream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The webDataStream. + */ + com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); + /** + * + * + *
+   * Required. The web stream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); + + /** + * + * + *
+   * Required. The parent resource where this web data stream 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 parent resource where this web data stream 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index 5b611155..0a8b143c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ -public final class CustomDimension extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomDimension) CustomDimensionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -29,16 +47,15 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CustomDimension( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,83 +74,93 @@ private CustomDimension( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - parameterName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parameterName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + displayName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = rawValue; - break; - } - case 48: { + description_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - disallowAdsPersonalization_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + scope_ = rawValue; + break; + } + case 48: + { + disallowAdsPersonalization_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -142,6 +169,8 @@ public enum DimensionScope */ DIMENSION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -150,6 +179,8 @@ public enum DimensionScope */ EVENT(1), /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -161,6 +192,8 @@ public enum DimensionScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -169,6 +202,8 @@ public enum DimensionScope */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -177,6 +212,8 @@ public enum DimensionScope */ public static final int EVENT_VALUE = 1; /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -185,7 +222,6 @@ public enum DimensionScope */ public static final int USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -210,49 +246,51 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: return DIMENSION_SCOPE_UNSPECIFIED; - case 1: return EVENT; - case 2: return USER; - default: return null; + case 0: + return DIMENSION_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + case 2: + return USER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DimensionScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor() + .getEnumTypes() + .get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -272,12 +310,15 @@ private DimensionScope(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -286,30 +327,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 { @@ -320,6 +361,8 @@ public java.lang.String getName() { public static final int PARAMETER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object parameterName_; /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -330,7 +373,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 @@ -339,14 +385,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -357,17 +404,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 { @@ -378,6 +426,8 @@ public java.lang.String getParameterName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -387,6 +437,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -395,14 +446,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
@@ -412,16 +464,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 { @@ -432,11 +483,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -445,29 +499,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -478,33 +532,50 @@ public java.lang.String getDescription() { public static final int SCOPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.valueOf(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.valueOf(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_; /** + * + * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -512,6 +583,7 @@ public java.lang.String getDescription() {
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -520,6 +592,7 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,8 +604,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -545,7 +617,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) { @@ -572,13 +647,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -588,24 +664,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,125 +700,133 @@ 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) + unknownFields.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() @@ -754,16 +834,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -783,9 +862,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 @@ -804,7 +883,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension buildPartial() { - com.google.analytics.admin.v1alpha.CustomDimension result = new com.google.analytics.admin.v1alpha.CustomDimension(this); + com.google.analytics.admin.v1alpha.CustomDimension result = + new com.google.analytics.admin.v1alpha.CustomDimension(this); result.name_ = name_; result.parameterName_ = parameterName_; result.displayName_ = displayName_; @@ -819,38 +899,39 @@ public com.google.analytics.admin.v1alpha.CustomDimension buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -858,7 +939,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_; onChanged(); @@ -900,7 +982,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.CustomDimension) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.CustomDimension) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -912,19 +995,21 @@ public Builder mergeFrom( 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; @@ -933,21 +1018,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 { @@ -955,57 +1041,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1013,6 +1106,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1023,14 +1118,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; @@ -1039,6 +1136,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1049,16 +1148,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 { @@ -1066,6 +1166,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1076,21 +1178,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) { + public Builder setParameterName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parameterName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1101,16 +1207,21 @@ 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() { - + parameterName_ = getDefaultInstance().getParameterName(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1121,17 +1232,19 @@ 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) { + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameterName_ = value; onChanged(); return this; @@ -1139,6 +1252,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
@@ -1148,13 +1263,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; @@ -1163,6 +1278,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
@@ -1172,15 +1289,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 { @@ -1188,6 +1304,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
@@ -1197,20 +1315,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1220,15 +1340,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1238,16 +1361,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1255,18 +1378,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1275,20 +1400,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1296,54 +1422,61 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1351,80 +1484,112 @@ 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. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.valueOf(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.valueOf(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(); } - + scope_ = value.getNumber(); onChanged(); 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() { - + scope_ = 0; onChanged(); return this; } - private boolean disallowAdsPersonalization_ ; + private boolean disallowAdsPersonalization_; /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1432,6 +1597,7 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1439,6 +1605,8 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1446,16 +1614,19 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1463,17 +1634,18 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { - + disallowAdsPersonalization_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1483,12 +1655,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(); } @@ -1497,16 +1669,16 @@ 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 { - return new CustomDimension(input, extensionRegistry); - } - }; + 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 { + return new CustomDimension(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1521,6 +1693,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index d532d766..a7041dc5 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomDimensionOrBuilder extends +public interface CustomDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomDimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -40,11 +63,16 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -55,13 +83,17 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + com.google.protobuf.ByteString getParameterNameBytes(); /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -71,10 +103,13 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -84,51 +119,68 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.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.
@@ -136,6 +188,7 @@ public interface CustomDimensionOrBuilder extends
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index f5b31e7d..5d1e4a9d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ -public final class CustomMetric extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomMetric) CustomMetricOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -30,16 +48,15 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CustomMetric( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,75 +75,85 @@ private CustomMetric( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - parameterName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parameterName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - measurementUnit_ = rawValue; - break; - } - case 48: { - int rawValue = input.readEnum(); + measurementUnit_ = rawValue; + break; + } + case 48: + { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + scope_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, + com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } /** + * + * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -135,9 +162,10 @@ private CustomMetric(
    *
    * 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.
      * 
@@ -146,6 +174,8 @@ public enum MeasurementUnit */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** + * + * *
      * This metric uses default units.
      * 
@@ -154,6 +184,8 @@ public enum MeasurementUnit */ STANDARD(1), /** + * + * *
      * This metric measures a currency.
      * 
@@ -162,6 +194,8 @@ public enum MeasurementUnit */ CURRENCY(2), /** + * + * *
      * This metric measures feet.
      * 
@@ -170,6 +204,8 @@ public enum MeasurementUnit */ FEET(3), /** + * + * *
      * This metric measures meters.
      * 
@@ -178,6 +214,8 @@ public enum MeasurementUnit */ METERS(4), /** + * + * *
      * This metric measures kilometers.
      * 
@@ -186,6 +224,8 @@ public enum MeasurementUnit */ KILOMETERS(5), /** + * + * *
      * This metric measures miles.
      * 
@@ -194,6 +234,8 @@ public enum MeasurementUnit */ MILES(6), /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -202,6 +244,8 @@ public enum MeasurementUnit */ MILLISECONDS(7), /** + * + * *
      * This metric measures seconds.
      * 
@@ -210,6 +254,8 @@ public enum MeasurementUnit */ SECONDS(8), /** + * + * *
      * This metric measures minutes.
      * 
@@ -218,6 +264,8 @@ public enum MeasurementUnit */ MINUTES(9), /** + * + * *
      * This metric measures hours.
      * 
@@ -229,6 +277,8 @@ public enum MeasurementUnit ; /** + * + * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -237,6 +287,8 @@ public enum MeasurementUnit */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This metric uses default units.
      * 
@@ -245,6 +297,8 @@ public enum MeasurementUnit */ public static final int STANDARD_VALUE = 1; /** + * + * *
      * This metric measures a currency.
      * 
@@ -253,6 +307,8 @@ public enum MeasurementUnit */ public static final int CURRENCY_VALUE = 2; /** + * + * *
      * This metric measures feet.
      * 
@@ -261,6 +317,8 @@ public enum MeasurementUnit */ public static final int FEET_VALUE = 3; /** + * + * *
      * This metric measures meters.
      * 
@@ -269,6 +327,8 @@ public enum MeasurementUnit */ public static final int METERS_VALUE = 4; /** + * + * *
      * This metric measures kilometers.
      * 
@@ -277,6 +337,8 @@ public enum MeasurementUnit */ public static final int KILOMETERS_VALUE = 5; /** + * + * *
      * This metric measures miles.
      * 
@@ -285,6 +347,8 @@ public enum MeasurementUnit */ public static final int MILES_VALUE = 6; /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -293,6 +357,8 @@ public enum MeasurementUnit */ public static final int MILLISECONDS_VALUE = 7; /** + * + * *
      * This metric measures seconds.
      * 
@@ -301,6 +367,8 @@ public enum MeasurementUnit */ public static final int SECONDS_VALUE = 8; /** + * + * *
      * This metric measures minutes.
      * 
@@ -309,6 +377,8 @@ public enum MeasurementUnit */ public static final int MINUTES_VALUE = 9; /** + * + * *
      * This metric measures hours.
      * 
@@ -317,7 +387,6 @@ public enum MeasurementUnit */ public static final int HOURS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -342,47 +411,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); } @@ -391,8 +471,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; @@ -410,15 +489,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.
      * 
@@ -427,6 +509,8 @@ public enum MetricScope */ METRIC_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Metric scoped to an event.
      * 
@@ -438,6 +522,8 @@ public enum MetricScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -446,6 +532,8 @@ public enum MetricScope */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric scoped to an event.
      * 
@@ -454,7 +542,6 @@ public enum MetricScope */ public static final int EVENT_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,48 +566,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; @@ -540,12 +626,15 @@ private MetricScope(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -554,30 +643,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 { @@ -588,6 +677,8 @@ public java.lang.String getName() { public static final int PARAMETER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object parameterName_; /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -596,7 +687,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 @@ -605,14 +699,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -621,17 +716,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 { @@ -642,6 +738,8 @@ public java.lang.String getParameterName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -651,6 +749,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -659,14 +758,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
@@ -676,16 +776,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 { @@ -696,12 +795,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -710,30 +812,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 { @@ -744,58 +846,89 @@ public java.lang.String getDescription() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.valueOf(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.valueOf(measurementUnit_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.valueOf(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.valueOf(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -807,8 +940,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -821,10 +953,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_); } unknownFields.writeTo(output); @@ -848,13 +985,16 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -864,21 +1004,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -909,118 +1046,127 @@ 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() @@ -1028,16 +1174,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1057,9 +1202,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 @@ -1078,7 +1223,8 @@ 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); result.name_ = name_; result.parameterName_ = parameterName_; result.displayName_ = displayName_; @@ -1093,38 +1239,39 @@ public com.google.analytics.admin.v1alpha.CustomMetric buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -1132,7 +1279,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_; onChanged(); @@ -1186,19 +1334,21 @@ public Builder mergeFrom( 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; @@ -1207,21 +1357,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 { @@ -1229,57 +1380,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1287,6 +1445,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1295,14 +1455,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; @@ -1311,6 +1473,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1319,16 +1483,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 { @@ -1336,6 +1501,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1344,21 +1511,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) { + public Builder setParameterName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parameterName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1367,16 +1538,21 @@ 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() { - + parameterName_ = getDefaultInstance().getParameterName(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1385,17 +1561,19 @@ 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) { + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameterName_ = value; onChanged(); return this; @@ -1403,6 +1581,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
@@ -1412,13 +1592,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; @@ -1427,6 +1607,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
@@ -1436,15 +1618,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 { @@ -1452,6 +1633,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
@@ -1461,20 +1644,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1484,15 +1669,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1502,16 +1690,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1519,19 +1707,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; @@ -1540,21 +1730,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 { @@ -1562,57 +1753,64 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1620,73 +1818,103 @@ 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. */ public Builder setMeasurementUnitValue(int value) { - + measurementUnit_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.valueOf(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.valueOf(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(); } - + measurementUnit_ = value.getNumber(); onChanged(); 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() { - + measurementUnit_ = 0; onChanged(); return this; @@ -1694,51 +1922,75 @@ 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. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.valueOf(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.valueOf(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. */ @@ -1746,28 +1998,33 @@ public Builder setScope(com.google.analytics.admin.v1alpha.CustomMetric.MetricSc if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); 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() { - + scope_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1777,12 +2034,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(); } @@ -1791,16 +2048,16 @@ 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 { - return new CustomMetric(input, extensionRegistry); - } - }; + 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 { + return new CustomMetric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1815,6 +2072,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index 41e73018..d0a48396 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomMetricOrBuilder extends +public interface CustomMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomMetric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -38,11 +61,16 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -51,13 +79,17 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + com.google.protobuf.ByteString getParameterNameBytes(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -67,10 +99,13 @@ public interface CustomMetricOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -80,67 +115,92 @@ 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(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java index cca14e71..8022ad05 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ -public final class DataRetentionSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataRetentionSettings) DataRetentionSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -26,16 +44,15 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataRetentionSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,65 +71,72 @@ private DataRetentionSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - eventDataRetention_ = rawValue; - break; - } - case 24: { + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - resetUserDataOnNewActivity_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + eventDataRetention_ = rawValue; + break; + } + case 24: + { + resetUserDataOnNewActivity_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -121,6 +145,8 @@ public enum RetentionDuration */ RETENTION_DURATION_UNSPECIFIED(0), /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -129,6 +155,8 @@ public enum RetentionDuration */ TWO_MONTHS(1), /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -137,6 +165,8 @@ public enum RetentionDuration */ FOURTEEN_MONTHS(3), /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -146,6 +176,8 @@ public enum RetentionDuration
      */
     TWENTY_SIX_MONTHS(4),
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -155,6 +187,8 @@ public enum RetentionDuration
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -167,6 +201,8 @@ public enum RetentionDuration
     ;
 
     /**
+     *
+     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -175,6 +211,8 @@ public enum RetentionDuration */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -183,6 +221,8 @@ public enum RetentionDuration */ public static final int TWO_MONTHS_VALUE = 1; /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -191,6 +231,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.
@@ -200,6 +242,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.
@@ -209,6 +253,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.
@@ -218,7 +264,6 @@ public enum RetentionDuration
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -243,13 +288,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;
       }
     }
 
@@ -257,29 +309,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();
@@ -287,8 +341,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;
@@ -308,12 +361,15 @@ private RetentionDuration(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -322,30 +378,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 { @@ -356,39 +412,59 @@ public java.lang.String getName() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf( + 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_; /** + * + * *
    * 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 @@ -397,6 +473,7 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,12 +485,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) { @@ -431,13 +510,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -447,18 +527,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,125 +554,134 @@ 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) + unknownFields.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() @@ -601,16 +689,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +711,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 @@ -645,7 +732,8 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings buildPartial() { - com.google.analytics.admin.v1alpha.DataRetentionSettings result = new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); + com.google.analytics.admin.v1alpha.DataRetentionSettings result = + new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); result.name_ = name_; result.eventDataRetention_ = eventDataRetention_; result.resetUserDataOnNewActivity_ = resetUserDataOnNewActivity_; @@ -657,38 +745,39 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -696,7 +785,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_; onChanged(); @@ -726,7 +816,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DataRetentionSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DataRetentionSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -738,19 +829,21 @@ public Builder mergeFrom( 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; @@ -759,21 +852,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 { @@ -781,57 +875,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -839,86 +940,121 @@ 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. */ public Builder setEventDataRetentionValue(int value) { - + eventDataRetention_ = value; onChanged(); 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() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.valueOf( + 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(); } - + eventDataRetention_ = value.getNumber(); onChanged(); 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() { - + eventDataRetention_ = 0; onChanged(); 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 @@ -926,39 +1062,45 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; onChanged(); return this; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { - + resetUserDataOnNewActivity_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1110,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(); } @@ -982,16 +1124,16 @@ 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 { - return new DataRetentionSettings(input, extensionRegistry); - } - }; + 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 { + return new DataRetentionSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1148,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java similarity index 59% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java index a11cb1f6..b7b92511 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java @@ -1,60 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataRetentionSettingsOrBuilder extends +public interface DataRetentionSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention(); /** + * + * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java index 5ada75d6..1cd7fad0 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
  */
-public final class DataSharingSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DataSharingSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,72 +71,77 @@ private DataSharingSettings(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 16: {
-
-            sharingWithGoogleSupportEnabled_ = input.readBool();
-            break;
-          }
-          case 24: {
-
-            sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-            break;
-          }
-          case 32: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            sharingWithGoogleAnySalesEnabled_ = input.readBool();
-            break;
-          }
-          case 40: {
-
-            sharingWithGoogleProductsEnabled_ = input.readBool();
-            break;
-          }
-          case 48: {
-
-            sharingWithOthersEnabled_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              sharingWithGoogleSupportEnabled_ = input.readBool();
+              break;
+            }
+          case 24:
+            {
+              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+              break;
+            }
+          case 32:
+            {
+              sharingWithGoogleAnySalesEnabled_ = input.readBool();
+              break;
+            }
+          case 40:
+            {
+              sharingWithGoogleProductsEnabled_ = input.readBool();
+              break;
+            }
+          case 48:
+            {
+              sharingWithOthersEnabled_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -127,6 +149,7 @@ private DataSharingSettings(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -135,14 +158,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
@@ -150,16 +174,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 { @@ -170,12 +193,15 @@ public java.lang.String getName() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; 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 @@ -186,6 +212,8 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; 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.
@@ -193,6 +221,7 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -203,12 +232,15 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; 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 @@ -219,11 +251,14 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; 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 @@ -234,11 +269,14 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; 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 @@ -247,6 +285,7 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -291,24 +329,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,25 +359,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,116 +391,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) + unknownFields.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.
@@ -468,21 +519,23 @@ 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()
@@ -490,16 +543,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -519,9 +571,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
@@ -540,7 +592,8 @@ public com.google.analytics.admin.v1alpha.DataSharingSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DataSharingSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.DataSharingSettings result = new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
+      com.google.analytics.admin.v1alpha.DataSharingSettings result =
+          new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
       result.name_ = name_;
       result.sharingWithGoogleSupportEnabled_ = sharingWithGoogleSupportEnabled_;
       result.sharingWithGoogleAssignedSalesEnabled_ = sharingWithGoogleAssignedSalesEnabled_;
@@ -555,38 +608,39 @@ public com.google.analytics.admin.v1alpha.DataSharingSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -594,7 +648,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_;
         onChanged();
@@ -633,7 +688,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.admin.v1alpha.DataSharingSettings) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.admin.v1alpha.DataSharingSettings) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -645,6 +701,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -652,13 +710,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; @@ -667,6 +725,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -674,15 +734,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 { @@ -690,6 +749,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -697,20 +758,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -718,15 +781,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -734,29 +800,32 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -764,39 +833,47 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; onChanged(); return this; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { - + sharingWithGoogleSupportEnabled_ = false; onChanged(); 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.
@@ -804,6 +881,7 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -811,6 +889,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.
@@ -818,16 +898,19 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; onChanged(); return this; } /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -835,23 +918,27 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { - + sharingWithGoogleAssignedSalesEnabled_ = false; onChanged(); 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 @@ -859,44 +946,53 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; onChanged(); return this; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { - + sharingWithGoogleAnySalesEnabled_ = false; onChanged(); 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 @@ -904,42 +1000,51 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; onChanged(); return this; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { - + sharingWithGoogleProductsEnabled_ = false; onChanged(); 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 @@ -947,37 +1052,43 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; onChanged(); return this; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { - + sharingWithOthersEnabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -987,12 +1098,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(); } @@ -1001,16 +1112,16 @@ 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 { - return new DataSharingSettings(input, extensionRegistry); - } - }; + 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 { + return new DataSharingSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java index 689f305c..d7a115e8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataSharingSettingsOrBuilder extends +public interface DataSharingSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -15,10 +33,13 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -26,23 +47,28 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** + * + * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -50,37 +76,47 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** + * + * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** + * + * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** + * + * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java index 700f9270..f364a401 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a data stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} */ -public final class DataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream) DataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataStream.newBuilder() to construct. private DataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataStream() { name_ = ""; type_ = 0; @@ -27,16 +45,15 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,134 +72,168 @@ private DataStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 16: + { + int rawValue = input.readEnum(); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + type_ = rawValue; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder subBuilder = null; - if (streamDataCase_ == 6) { - subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_).toBuilder(); + displayName_ = s; + break; } - streamData_ = - input.readMessage(com.google.analytics.admin.v1alpha.DataStream.WebStreamData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); - streamData_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - streamDataCase_ = 6; - break; - } - case 58: { - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder subBuilder = null; - if (streamDataCase_ == 7) { - subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_).toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } - streamData_ = - input.readMessage(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); - streamData_ = subBuilder.buildPartial(); + case 50: + { + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder subBuilder = null; + if (streamDataCase_ == 6) { + subBuilder = + ((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_) + .toBuilder(); + } + streamData_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 6; + break; } - streamDataCase_ = 7; - break; - } - case 66: { - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder subBuilder = null; - if (streamDataCase_ == 8) { - subBuilder = ((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_).toBuilder(); + case 58: + { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder + subBuilder = null; + if (streamDataCase_ == 7) { + subBuilder = + ((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) + streamData_) + .toBuilder(); + } + streamData_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) + streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 7; + break; } - streamData_ = - input.readMessage(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); - streamData_ = subBuilder.buildPartial(); + case 66: + { + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder subBuilder = + null; + if (streamDataCase_ == 8) { + subBuilder = + ((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_) + .toBuilder(); + } + streamData_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + streamData_ = subBuilder.buildPartial(); + } + streamDataCase_ = 8; + break; } - streamDataCase_ = 8; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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.
      * 
@@ -191,6 +242,8 @@ public enum DataStreamType */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** + * + * *
      * Web data stream.
      * 
@@ -199,6 +252,8 @@ public enum DataStreamType */ WEB_DATA_STREAM(1), /** + * + * *
      * Android app data stream.
      * 
@@ -207,6 +262,8 @@ public enum DataStreamType */ ANDROID_APP_DATA_STREAM(2), /** + * + * *
      * iOS app data stream.
      * 
@@ -218,6 +275,8 @@ public enum DataStreamType ; /** + * + * *
      * Type unknown or not specified.
      * 
@@ -226,6 +285,8 @@ public enum DataStreamType */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Web data stream.
      * 
@@ -234,6 +295,8 @@ public enum DataStreamType */ public static final int WEB_DATA_STREAM_VALUE = 1; /** + * + * *
      * Android app data stream.
      * 
@@ -242,6 +305,8 @@ public enum DataStreamType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** + * + * *
      * iOS app data stream.
      * 
@@ -250,7 +315,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( @@ -275,50 +339,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; @@ -335,92 +400,111 @@ private DataStreamType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.DataStream.DataStreamType) } - public interface WebStreamDataOrBuilder extends + public interface WebStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.WebStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - com.google.protobuf.ByteString - getMeasurementIdBytes(); + com.google.protobuf.ByteString getMeasurementIdBytes(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString - getDefaultUriBytes(); + com.google.protobuf.ByteString getDefaultUriBytes(); } /** + * + * *
    * Data specific to web streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.WebStreamData} */ - public static final class WebStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WebStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) WebStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebStreamData.newBuilder() to construct. private WebStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebStreamData() { measurementId_ = ""; firebaseAppId_ = ""; @@ -429,16 +513,15 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebStreamData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -457,65 +540,73 @@ private WebStreamData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - measurementId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + measurementId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + firebaseAppId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + defaultUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object measurementId_; /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -524,30 +615,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ @java.lang.Override - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -558,12 +649,15 @@ public java.lang.String getMeasurementId() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; 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 @@ -572,30 +666,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 { @@ -606,12 +700,15 @@ public java.lang.String getFirebaseAppId() { public static final int DEFAULT_URI_FIELD_NUMBER = 3; private volatile java.lang.Object defaultUri_; /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ @java.lang.Override @@ -620,30 +717,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -652,6 +749,7 @@ public java.lang.String getDefaultUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -663,8 +761,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -700,19 +797,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -736,87 +831,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 @@ -826,27 +928,32 @@ 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() @@ -854,16 +961,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -877,13 +983,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(); } @@ -898,7 +1005,8 @@ 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); + com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(this); result.measurementId_ = measurementId_; result.firebaseAppId_ = firebaseAppId_; result.defaultUri_ = defaultUri_; @@ -910,38 +1018,41 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -949,7 +1060,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_; onChanged(); @@ -981,7 +1094,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -993,19 +1108,21 @@ public Builder mergeFrom( private java.lang.Object measurementId_ = ""; /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ public java.lang.String getMeasurementId() { java.lang.Object ref = measurementId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; @@ -1014,21 +1131,22 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -1036,57 +1154,64 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId( - java.lang.String value) { + public Builder setMeasurementId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + measurementId_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { - + measurementId_ = getDefaultInstance().getMeasurementId(); onChanged(); return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementIdBytes( - com.google.protobuf.ByteString value) { + public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + measurementId_ = value; onChanged(); return this; @@ -1094,19 +1219,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; @@ -1115,21 +1242,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 { @@ -1137,57 +1265,64 @@ 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) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1195,19 +1330,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object defaultUri_ = ""; /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1216,21 +1353,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1238,61 +1376,69 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri( - java.lang.String value) { + public Builder setDefaultUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultUri_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { - + defaultUri_ = getDefaultInstance().getDefaultUri(); onChanged(); return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultUri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1305,12 +1451,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(); } @@ -1319,16 +1466,16 @@ 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 { - return new WebStreamData(input, extensionRegistry); - } - }; + 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 { + return new WebStreamData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1343,73 +1490,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_ = ""; @@ -1417,16 +1577,15 @@ private AndroidAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AndroidAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AndroidAppStreamData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1445,59 +1604,66 @@ private AndroidAppStreamData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + firebaseAppId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + packageName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -1506,30 +1672,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 { @@ -1540,12 +1706,15 @@ public java.lang.String getFirebaseAppId() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; 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 @@ -1554,30 +1723,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 { @@ -1586,6 +1755,7 @@ public java.lang.String getPackageName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1597,8 +1767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1628,17 +1797,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1660,87 +1828,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 @@ -1750,44 +1926,49 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1799,14 +1980,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 @@ -1820,7 +2003,8 @@ 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); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(this); result.firebaseAppId_ = firebaseAppId_; result.packageName_ = packageName_; onBuilt(); @@ -1831,46 +2015,53 @@ public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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) { + 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.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_; onChanged(); @@ -1898,7 +2089,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1910,19 +2103,21 @@ public Builder mergeFrom( 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; @@ -1931,21 +2126,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 { @@ -1953,57 +2149,64 @@ 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) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -2011,19 +2214,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; @@ -2032,21 +2237,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 { @@ -2054,61 +2260,69 @@ 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) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; 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() { - + packageName_ = getDefaultInstance().getPackageName(); 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]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2121,30 +2335,32 @@ 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 { - return new AndroidAppStreamData(input, extensionRegistry); - } - }; + 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 { + return new AndroidAppStreamData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2156,76 +2372,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_ = ""; @@ -2233,16 +2467,15 @@ private IosAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IosAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IosAppStreamData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2261,59 +2494,66 @@ private IosAppStreamData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - firebaseAppId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + firebaseAppId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - bundleId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + bundleId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -2322,30 +2562,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 { @@ -2356,12 +2596,17 @@ public java.lang.String getFirebaseAppId() { public static final int BUNDLE_ID_FIELD_NUMBER = 2; 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 @@ -2370,30 +2615,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 { @@ -2402,6 +2649,7 @@ public java.lang.String getBundleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2413,8 +2661,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2444,17 +2691,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2476,87 +2722,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 @@ -2566,27 +2819,32 @@ 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() @@ -2594,16 +2852,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2615,13 +2872,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(); } @@ -2636,7 +2894,8 @@ 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); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(this); result.firebaseAppId_ = firebaseAppId_; result.bundleId_ = bundleId_; onBuilt(); @@ -2647,46 +2906,52 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; onChanged(); @@ -2714,7 +2979,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2726,19 +2993,21 @@ public Builder mergeFrom( 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; @@ -2747,21 +3016,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 { @@ -2769,57 +3039,64 @@ 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) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -2827,19 +3104,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; @@ -2848,21 +3129,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 { @@ -2870,61 +3154,75 @@ 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) { + public Builder setBundleId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bundleId_ = value; 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() { - + bundleId_ = getDefaultInstance().getBundleId(); 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]; + * + * * @param value The bytes for bundleId to set. * @return This builder for chaining. */ - public Builder setBundleIdBytes( - com.google.protobuf.ByteString value) { + public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bundleId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2937,30 +3235,32 @@ 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 { - return new IosAppStreamData(input, extensionRegistry); - } - }; + 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 { + return new IosAppStreamData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2972,22 +3272,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int streamDataCase_ = 0; private java.lang.Object streamData_; + public enum StreamDataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEB_STREAM_DATA(6), ANDROID_APP_STREAM_DATA(7), IOS_APP_STREAM_DATA(8), STREAMDATA_NOT_SET(0); private final int value; + private StreamDataCase(int value) { this.value = value; } @@ -3003,32 +3306,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 @@ -3036,22 +3346,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.
@@ -3060,21 +3375,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 @@ -3082,45 +3403,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 @@ -3128,33 +3464,41 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } @@ -3162,6 +3506,8 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder g public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3169,6 +3515,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 @@ -3177,14 +3524,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}
@@ -3192,16 +3540,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 { @@ -3212,33 +3559,50 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.valueOf(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.valueOf(type_); + return result == null + ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3246,6 +3610,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -3254,14 +3619,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3269,16 +3635,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 { @@ -3289,11 +3654,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 @@ -3301,11 +3670,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 @@ -3313,11 +3686,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() { @@ -3327,11 +3703,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 @@ -3339,11 +3719,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 @@ -3351,11 +3735,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() { @@ -3363,6 +3750,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3374,12 +3762,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_)) { @@ -3392,13 +3781,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_); } unknownFields.writeTo(output); } @@ -3412,32 +3804,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3447,41 +3841,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: @@ -3532,118 +3920,127 @@ 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() @@ -3651,16 +4048,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3688,9 +4084,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 @@ -3709,7 +4105,8 @@ public com.google.analytics.admin.v1alpha.DataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream buildPartial() { - com.google.analytics.admin.v1alpha.DataStream result = new com.google.analytics.admin.v1alpha.DataStream(this); + com.google.analytics.admin.v1alpha.DataStream result = + new com.google.analytics.admin.v1alpha.DataStream(this); if (streamDataCase_ == 6) { if (webStreamDataBuilder_ == null) { result.streamData_ = streamData_; @@ -3753,38 +4150,39 @@ public com.google.analytics.admin.v1alpha.DataStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -3811,21 +4209,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.unknownFields); onChanged(); @@ -3855,12 +4257,12 @@ public Builder mergeFrom( } 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() { @@ -3870,16 +4272,21 @@ public Builder clearStreamData() { return this; } - 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 @@ -3887,12 +4294,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 @@ -3910,6 +4320,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD } } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3917,7 +4329,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();
@@ -3931,6 +4344,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.
@@ -3950,6 +4365,8 @@ public Builder setWebStreamData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3957,12 +4374,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;
         }
@@ -3977,6 +4400,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.
@@ -4001,6 +4426,8 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4008,10 +4435,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.
@@ -4020,7 +4450,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 {
@@ -4031,6 +4462,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getW
       }
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4039,33 +4472,48 @@ 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());
         streamData_ = null;
       }
       streamDataCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return webStreamDataBuilder_;
     }
 
     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 @@ -4073,37 +4521,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(); @@ -4117,15 +4578,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(); @@ -4136,19 +4602,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; } @@ -4163,12 +4640,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) { @@ -4187,71 +4668,101 @@ 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()); streamData_ = null; } streamDataCase_ = 7; - onChanged();; + onChanged(); + ; return androidAppStreamDataBuilder_; } 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 @@ -4259,12 +4770,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 @@ -4282,14 +4797,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(); @@ -4303,12 +4822,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) { @@ -4322,19 +4844,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; } @@ -4349,12 +4880,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) { @@ -4373,26 +4907,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 { @@ -4403,34 +4945,46 @@ 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()); streamData_ = null; } streamDataCase_ = 8; - onChanged();; + onChanged(); + ; return iosAppStreamDataBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4438,13 +4992,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; @@ -4453,6 +5007,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4460,15 +5016,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 { @@ -4476,6 +5031,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4483,20 +5040,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4504,15 +5063,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4520,16 +5082,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -4537,51 +5099,75 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.valueOf(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.valueOf(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. */ @@ -4589,21 +5175,26 @@ public Builder setType(com.google.analytics.admin.v1alpha.DataStream.DataStreamT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; @@ -4611,6 +5202,8 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4618,13 +5211,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; @@ -4633,6 +5226,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4640,15 +5235,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 { @@ -4656,6 +5250,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4663,20 +5259,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4684,15 +5282,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4700,16 +5301,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -4717,39 +5318,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 createTimeBuilder_ != null || 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. */ 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) { @@ -4765,14 +5385,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(); onChanged(); @@ -4783,17 +5406,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4805,11 +5432,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() { if (createTimeBuilder_ == null) { @@ -4823,48 +5454,64 @@ 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() { - + onChanged(); 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_; @@ -4872,39 +5519,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -4920,14 +5586,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(); onChanged(); @@ -4938,17 +5607,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4960,11 +5633,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() { if (updateTimeBuilder_ == null) { @@ -4978,55 +5655,71 @@ 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() { - + onChanged(); 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); } @@ -5036,12 +5729,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(); } @@ -5050,16 +5743,16 @@ 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 { - return new DataStream(input, extensionRegistry); - } - }; + 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 { + return new DataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5074,6 +5767,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java index c3fa020f..fdcad603 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataStreamOrBuilder extends +public interface DataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ boolean hasWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -38,66 +62,95 @@ public interface DataStreamOrBuilder extends
   com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder();
 
   /**
+   *
+   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ boolean hasAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ boolean hasIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -105,10 +158,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -116,31 +172,43 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -148,10 +216,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -159,62 +230,84 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when this stream was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when stream payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java index 177613cc..a4d78652 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) DeleteAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteAccountRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,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 @@ -364,7 +400,8 @@ public com.google.analytics.admin.v1alpha.DeleteAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAccountRequest result = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); + com.google.analytics.admin.v1alpha.DeleteAccountRequest result = + new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.analytics.admin.v1alpha.DeleteAccountRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -413,7 +451,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_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteAccountRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( 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; @@ -471,22 +515,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 { @@ -494,67 +541,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,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(); } @@ -578,16 +638,16 @@ 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 { - return new DeleteAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java new file mode 100644 index 00000000..80336640 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java index 8f6fdf3d..694def81 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest} */ -public final class DeleteAndroidAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) DeleteAndroidAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAndroidAppDataStreamRequest.newBuilder() to construct. - private DeleteAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteAndroidAppDataStreamRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAndroidAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +71,62 @@ private DeleteAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the android app data stream to delete.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 @@ -109,31 +135,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 android app data stream to delete.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,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.DeleteAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,145 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.newBuilder() + // Construct using + // com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +382,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_DeleteAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + .getDefaultInstance(); } @java.lang.Override @@ -364,7 +405,8 @@ public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buil @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +416,51 @@ public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +498,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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; @@ -471,22 +524,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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 { @@ -494,67 +550,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the android app data stream to delete.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,30 +633,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,9 +670,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..7d15f80c --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAndroidAppDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteAndroidAppDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the android app data stream to delete.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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 android app data stream to delete.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java index 3f776995..6bade7e9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteConversionEventRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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(); } @@ -364,7 +401,8 @@ 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); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = + new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +412,50 @@ public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +493,24 @@ public Builder mergeFrom( 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; @@ -471,22 +519,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 { @@ -494,67 +545,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,30 +628,32 @@ 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 { - return new DeleteConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,9 +665,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..251995e6 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java index edd9bd4a..c524d8d3 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} */ -public final class DeleteDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) DeleteDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataStreamRequest.newBuilder() to construct. private DeleteDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private DeleteDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,8 @@ public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = + new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +487,23 @@ public Builder mergeFrom( 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; @@ -468,21 +512,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 { @@ -490,64 +537,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +617,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(); } @@ -571,16 +631,16 @@ 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 { - return new DeleteDataStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..36a590e4 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 00000000..6f410e2e --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,716 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private DeleteDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.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; + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.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() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + result.name_ = name_; + 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.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_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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; + 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(); + 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; + 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 { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest( + input, extensionRegistry); + } + }; + + 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..ae5ef085 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java index 231fad46..bdc7210e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ -public final class DeleteDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +72,62 @@ private DeleteDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +136,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 { @@ -140,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +206,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,135 +234,152 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +389,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); } @@ -361,8 +412,10 @@ 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); + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +425,53 @@ public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -431,11 +491,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +510,23 @@ public Builder mergeFrom( 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; @@ -468,21 +535,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 { @@ -490,64 +560,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,30 +640,34 @@ 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 { - return new DeleteDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +679,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..0bbad963 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java index c9c5a32f..4fa7018f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteFirebaseLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private DeleteFirebaseLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +489,23 @@ public Builder mergeFrom( 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; @@ -468,21 +514,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 { @@ -490,64 +539,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +619,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(); } @@ -571,16 +634,16 @@ 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 { - return new DeleteFirebaseLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteFirebaseLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +658,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 00000000..19376846 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java index 938c0e38..aa3ea6b0 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private DeleteGoogleAdsLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -107,29 +132,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 { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -202,117 +229,127 @@ 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() @@ -320,16 +357,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,13 +375,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(); } @@ -360,7 +397,8 @@ 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); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +408,39 @@ public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +448,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_; onChanged(); @@ -433,7 +474,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,18 +488,22 @@ public Builder mergeFrom( 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; @@ -465,20 +512,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 { @@ -486,61 +536,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +613,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(); } @@ -564,16 +628,16 @@ 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 { - return new DeleteGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 00000000..7a0b6064 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java index 04c5eaa5..6e970781 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest} */ -public final class DeleteIosAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) DeleteIosAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIosAppDataStreamRequest.newBuilder() to construct. private DeleteIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteIosAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteIosAppDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the iOS app data stream to delete.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 @@ -109,31 +134,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 iOS app data stream to delete.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.DeleteIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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_DeleteIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +412,50 @@ public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +493,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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; @@ -471,22 +519,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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 { @@ -494,67 +545,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the iOS app data stream to delete.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,30 +628,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,9 +665,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..7a15026b --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteIosAppDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteIosAppDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the iOS app data stream to delete.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to delete.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java index 8ee0a733..4068c918 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +72,53 @@ private DeleteMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
@@ -102,7 +127,10 @@ private DeleteMeasurementProtocolSecretRequest(
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.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 @@ -111,14 +139,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 MeasurementProtocolSecret to delete.
    * Format:
@@ -127,17 +156,18 @@ public java.lang.String getName() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.google.api.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 { @@ -146,6 +176,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,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_); } @@ -182,15 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,134 +241,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,19 +390,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); } @@ -367,8 +413,10 @@ 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); + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,46 +426,52 @@ public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -437,11 +491,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -453,6 +510,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -461,14 +520,16 @@ public Builder mergeFrom(
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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; @@ -477,6 +538,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -485,16 +548,17 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.google.api.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 { @@ -502,6 +566,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -510,21 +576,25 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -533,16 +603,21 @@ public Builder setName(
      * AndroidAppDataStream) may be a parent.
      * 
* - * string 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
@@ -551,24 +626,26 @@ public Builder clearName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -578,30 +655,33 @@ 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 { - return new DeleteMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,9 +693,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/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java index 09287adc..6c426fb7 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface DeleteMeasurementProtocolSecretRequestOrBuilder extends +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:
@@ -16,11 +34,16 @@ public interface DeleteMeasurementProtocolSecretRequestOrBuilder extends
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.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 MeasurementProtocolSecret to delete.
    * Format:
@@ -29,9 +52,11 @@ public interface DeleteMeasurementProtocolSecretRequestOrBuilder extends
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.google.api.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java index 09e4956f..095a586c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) DeletePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeletePropertyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,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 @@ -364,7 +400,8 @@ public com.google.analytics.admin.v1alpha.DeletePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeletePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeletePropertyRequest result = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); + com.google.analytics.admin.v1alpha.DeletePropertyRequest result = + new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.analytics.admin.v1alpha.DeletePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -413,7 +451,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_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeletePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeletePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( 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; @@ -471,22 +515,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 { @@ -494,67 +541,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,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(); } @@ -578,16 +638,16 @@ 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 { - return new DeletePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java new file mode 100644 index 00000000..a987d0fc --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeletePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java index 0c3b6ead..0bbcd00f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ -public final class DeleteUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) DeleteUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUserLinkRequest.newBuilder() to construct. private DeleteUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private DeleteUserLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -107,29 +132,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -202,117 +229,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.newBuilder() @@ -320,16 +357,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override @@ -360,7 +396,8 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +407,39 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +447,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,18 +485,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -465,20 +509,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -486,61 +533,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) private static final com.google.analytics.admin.v1alpha.DeleteUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(); } @@ -564,16 +624,16 @@ public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..d264010f --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java index b29b32c4..674dea5f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteWebDataStreamRequest} */ -public final class DeleteWebDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) DeleteWebDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteWebDataStreamRequest.newBuilder() to construct. private DeleteWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteWebDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteWebDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the web data stream to delete.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 @@ -109,31 +134,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 web data stream to delete.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.DeleteWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other = + (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteWebDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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_DeleteWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest result = + new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +478,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +492,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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; @@ -471,22 +518,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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 { @@ -494,67 +544,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the web data stream to delete.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +627,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest(); } @@ -578,16 +642,16 @@ public static com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +666,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..ba9b0585 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteWebDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteWebDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the web data stream to delete.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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 web data stream to delete.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index eefe3eb4..88f6f50d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Display & Video 360 advertiser.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ -public final class DisplayVideo360AdvertiserLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DisplayVideo360AdvertiserLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) DisplayVideo360AdvertiserLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DisplayVideo360AdvertiserLink.newBuilder() to construct. private DisplayVideo360AdvertiserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DisplayVideo360AdvertiserLink() { name_ = ""; advertiserId_ = ""; @@ -27,16 +45,15 @@ private DisplayVideo360AdvertiserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DisplayVideo360AdvertiserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DisplayVideo360AdvertiserLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,98 +72,111 @@ private DisplayVideo360AdvertiserLink( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - advertiserId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - advertiserDisplayName_ = s; - break; - } - case 34: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (adsPersonalizationEnabled_ != null) { - subBuilder = adsPersonalizationEnabled_.toBuilder(); + name_ = s; + break; } - adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adsPersonalizationEnabled_); - adsPersonalizationEnabled_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + advertiserId_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (campaignDataSharingEnabled_ != null) { - subBuilder = campaignDataSharingEnabled_.toBuilder(); + advertiserDisplayName_ = s; + break; } - campaignDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(campaignDataSharingEnabled_); - campaignDataSharingEnabled_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (adsPersonalizationEnabled_ != null) { + subBuilder = adsPersonalizationEnabled_.toBuilder(); + } + adsPersonalizationEnabled_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adsPersonalizationEnabled_); + adsPersonalizationEnabled_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (costDataSharingEnabled_ != null) { - subBuilder = costDataSharingEnabled_.toBuilder(); + case 42: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (campaignDataSharingEnabled_ != null) { + subBuilder = campaignDataSharingEnabled_.toBuilder(); + } + campaignDataSharingEnabled_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(campaignDataSharingEnabled_); + campaignDataSharingEnabled_ = subBuilder.buildPartial(); + } + + break; } - costDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(costDataSharingEnabled_); - costDataSharingEnabled_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (costDataSharingEnabled_ != null) { + subBuilder = costDataSharingEnabled_.toBuilder(); + } + costDataSharingEnabled_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(costDataSharingEnabled_); + costDataSharingEnabled_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -154,6 +184,7 @@ private DisplayVideo360AdvertiserLink(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -162,14 +193,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: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -177,16 +209,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 { @@ -197,11 +228,14 @@ public java.lang.String getName() { public static final int ADVERTISER_ID_FIELD_NUMBER = 2; 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 @@ -210,29 +244,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 { @@ -243,11 +277,14 @@ public java.lang.String getAdvertiserId() { public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -256,29 +293,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 { @@ -289,12 +326,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 @@ -302,19 +342,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.
@@ -330,6 +377,8 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
   public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 5;
   private com.google.protobuf.BoolValue campaignDataSharingEnabled_;
   /**
+   *
+   *
    * 
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -337,7 +386,10 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -345,6 +397,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 the Display &
@@ -352,14 +406,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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The campaignDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -367,7 +428,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 = 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() { @@ -377,6 +440,8 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue costDataSharingEnabled_; /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
    * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -385,7 +450,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 = 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 @@ -393,6 +461,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 is
@@ -401,14 +471,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 = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The costDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCostDataSharingEnabled() { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
    * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -417,7 +494,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 = 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() { @@ -425,6 +504,7 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,8 +516,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -475,16 +554,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -494,33 +575,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -557,117 +635,127 @@ 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() @@ -675,16 +763,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -716,13 +803,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(); } @@ -737,7 +825,8 @@ 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); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = + new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); result.name_ = name_; result.advertiserId_ = advertiserId_; result.advertiserDisplayName_ = advertiserDisplayName_; @@ -764,46 +853,50 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -844,7 +937,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,6 +951,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -863,13 +960,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; @@ -878,6 +975,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -885,15 +984,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 { @@ -901,6 +999,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -908,20 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -929,15 +1031,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
      * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -945,16 +1050,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -962,18 +1067,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; @@ -982,20 +1089,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 { @@ -1003,54 +1111,61 @@ 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) { + public Builder setAdvertiserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserId_ = value; 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() { - + advertiserId_ = getDefaultInstance().getAdvertiserId(); onChanged(); 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) { + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserId_ = value; onChanged(); return this; @@ -1058,18 +1173,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; @@ -1078,20 +1195,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 { @@ -1099,54 +1217,61 @@ 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) { + public Builder setAdvertiserDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserDisplayName_ = value; 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() { - + advertiserDisplayName_ = getDefaultInstance().getAdvertiserDisplayName(); 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]; + * * @param value The bytes for advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserDisplayName_ = value; onChanged(); return this; @@ -1154,36 +1279,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 adsPersonalizationEnabledBuilder_ != null || 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. */ 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.
@@ -1205,6 +1343,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.
@@ -1224,6 +1364,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.
@@ -1235,7 +1377,9 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       if (adsPersonalizationEnabledBuilder_ == null) {
         if (adsPersonalizationEnabled_ != null) {
           adsPersonalizationEnabled_ =
-            com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           adsPersonalizationEnabled_ = value;
         }
@@ -1247,6 +1391,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.
@@ -1266,6 +1412,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.
@@ -1274,11 +1422,13 @@ public Builder clearAdsPersonalizationEnabled() {
      * .google.protobuf.BoolValue ads_personalization_enabled = 4;
      */
     public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() {
-      
+
       onChanged();
       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.
@@ -1290,11 +1440,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.
@@ -1303,14 +1456,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_;
@@ -1318,8 +1474,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 the Display &
@@ -1327,13 +1488,18 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabledBuilder_ != null || campaignDataSharingEnabled_ != null; } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1341,17 +1507,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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The campaignDataSharingEnabled. */ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1359,7 +1532,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 = 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) { @@ -1375,6 +1550,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 the Display &
@@ -1382,7 +1559,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 = 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) { @@ -1396,6 +1575,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 the Display &
@@ -1403,13 +1584,17 @@ public Builder setCampaignDataSharingEnabled(
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { if (campaignDataSharingEnabled_ != null) { campaignDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_) + .mergeFrom(value) + .buildPartial(); } else { campaignDataSharingEnabled_ = value; } @@ -1421,6 +1606,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 the Display &
@@ -1428,7 +1615,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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1442,6 +1631,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 the Display &
@@ -1449,14 +1640,18 @@ public Builder clearCampaignDataSharingEnabled() {
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { - + onChanged(); return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1464,17 +1659,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 = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { if (campaignDataSharingEnabledBuilder_ != null) { return campaignDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return campaignDataSharingEnabled_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
      * property. After link creation, this can only be updated from the Display &
@@ -1482,17 +1682,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 = 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_; @@ -1500,8 +1705,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 is
@@ -1510,13 +1720,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 = 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 costDataSharingEnabledBuilder_ != null || costDataSharingEnabled_ != null; } /** + * + * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
      * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -1525,17 +1740,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 = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The costDataSharingEnabled. */ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
      * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -1544,7 +1766,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 = 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) { @@ -1560,6 +1784,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 is
@@ -1568,7 +1794,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 = 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) { @@ -1582,6 +1810,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 is
@@ -1590,13 +1820,17 @@ public Builder setCostDataSharingEnabled(
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { if (costDataSharingEnabled_ != null) { costDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_) + .mergeFrom(value) + .buildPartial(); } else { costDataSharingEnabled_ = value; } @@ -1608,6 +1842,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 is
@@ -1616,7 +1852,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 = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { @@ -1630,6 +1868,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 is
@@ -1638,14 +1878,18 @@ public Builder clearCostDataSharingEnabled() {
      * If this field is not set on create, it will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { - + onChanged(); return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
      * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -1654,17 +1898,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 = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { if (costDataSharingEnabledBuilder_ != null) { return costDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return costDataSharingEnabled_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } } /** + * + * *
      * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
      * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -1673,24 +1922,29 @@ 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 = 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); } @@ -1700,30 +1954,32 @@ 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 { - return new DisplayVideo360AdvertiserLink(input, extensionRegistry); - } - }; + 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 { + return new DisplayVideo360AdvertiserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1735,9 +1991,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java similarity index 76% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index ad4af092..5ec64486 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkOrBuilder extends +public interface DisplayVideo360AdvertiserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
    * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -15,10 +33,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: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
@@ -26,72 +47,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.
@@ -102,6 +141,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 the Display &
@@ -109,11 +150,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ boolean hasCampaignDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -121,11 +167,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The campaignDataSharingEnabled. */ com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
    * property. After link creation, this can only be updated from the Display &
@@ -133,11 +184,15 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
    * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -146,11 +201,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ boolean hasCostDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
    * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -159,11 +219,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The costDataSharingEnabled. */ com.google.protobuf.BoolValue getCostDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
    * property. This can only be enabled if campaign_data_sharing_enabled is
@@ -172,7 +237,9 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index 79a38414..27950e77 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A proposal for a link between a GA4 property and a Display & Video 360
  * advertiser.
@@ -14,15 +31,18 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
  */
-public final class DisplayVideo360AdvertiserLinkProposal extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DisplayVideo360AdvertiserLinkProposal
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
     DisplayVideo360AdvertiserLinkProposalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DisplayVideo360AdvertiserLinkProposal.newBuilder() to construct.
-  private DisplayVideo360AdvertiserLinkProposal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DisplayVideo360AdvertiserLinkProposal(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DisplayVideo360AdvertiserLinkProposal() {
     name_ = "";
     advertiserId_ = "";
@@ -32,16 +52,15 @@ private DisplayVideo360AdvertiserLinkProposal() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DisplayVideo360AdvertiserLinkProposal();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DisplayVideo360AdvertiserLinkProposal(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,117 +79,136 @@ private DisplayVideo360AdvertiserLinkProposal(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            advertiserId_ = s;
-            break;
-          }
-          case 26: {
-            com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder subBuilder = null;
-            if (linkProposalStatusDetails_ != null) {
-              subBuilder = linkProposalStatusDetails_.toBuilder();
+              advertiserId_ = s;
+              break;
             }
-            linkProposalStatusDetails_ = input.readMessage(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(linkProposalStatusDetails_);
-              linkProposalStatusDetails_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder subBuilder =
+                  null;
+              if (linkProposalStatusDetails_ != null) {
+                subBuilder = linkProposalStatusDetails_.toBuilder();
+              }
+              linkProposalStatusDetails_ =
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(linkProposalStatusDetails_);
+                linkProposalStatusDetails_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            advertiserDisplayName_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            validationEmail_ = s;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.BoolValue.Builder subBuilder = null;
-            if (adsPersonalizationEnabled_ != null) {
-              subBuilder = adsPersonalizationEnabled_.toBuilder();
-            }
-            adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(adsPersonalizationEnabled_);
-              adsPersonalizationEnabled_ = subBuilder.buildPartial();
+              advertiserDisplayName_ = s;
+              break;
             }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 58: {
-            com.google.protobuf.BoolValue.Builder subBuilder = null;
-            if (campaignDataSharingEnabled_ != null) {
-              subBuilder = campaignDataSharingEnabled_.toBuilder();
+              validationEmail_ = s;
+              break;
             }
-            campaignDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(campaignDataSharingEnabled_);
-              campaignDataSharingEnabled_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.BoolValue.Builder subBuilder = null;
+              if (adsPersonalizationEnabled_ != null) {
+                subBuilder = adsPersonalizationEnabled_.toBuilder();
+              }
+              adsPersonalizationEnabled_ =
+                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(adsPersonalizationEnabled_);
+                adsPersonalizationEnabled_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.BoolValue.Builder subBuilder = null;
-            if (costDataSharingEnabled_ != null) {
-              subBuilder = costDataSharingEnabled_.toBuilder();
+          case 58:
+            {
+              com.google.protobuf.BoolValue.Builder subBuilder = null;
+              if (campaignDataSharingEnabled_ != null) {
+                subBuilder = campaignDataSharingEnabled_.toBuilder();
+              }
+              campaignDataSharingEnabled_ =
+                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(campaignDataSharingEnabled_);
+                campaignDataSharingEnabled_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            costDataSharingEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(costDataSharingEnabled_);
-              costDataSharingEnabled_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.BoolValue.Builder subBuilder = null;
+              if (costDataSharingEnabled_ != null) {
+                subBuilder = costDataSharingEnabled_.toBuilder();
+              }
+              costDataSharingEnabled_ =
+                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(costDataSharingEnabled_);
+                costDataSharingEnabled_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
    * Format:
@@ -179,6 +217,7 @@ private DisplayVideo360AdvertiserLinkProposal(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -187,14 +226,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:
@@ -203,16 +243,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 { @@ -223,11 +262,14 @@ public java.lang.String getName() { public static final int ADVERTISER_ID_FIELD_NUMBER = 2; 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 @@ -236,29 +278,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 { @@ -269,11 +311,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 @@ -281,38 +328,54 @@ 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() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder + getLinkProposalStatusDetailsOrBuilder() { return getLinkProposalStatusDetails(); } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 4; 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 @@ -321,30 +384,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 { @@ -355,6 +418,8 @@ public java.lang.String getAdvertiserDisplayName() { public static final int VALIDATION_EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object validationEmail_; /** + * + * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -365,6 +430,7 @@ public java.lang.String getAdvertiserDisplayName() {
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ @java.lang.Override @@ -373,14 +439,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 is used to
@@ -391,16 +458,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 { @@ -411,12 +477,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 @@ -424,25 +495,36 @@ 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() { @@ -452,12 +534,17 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil 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 @@ -465,25 +552,36 @@ 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() { @@ -493,13 +591,18 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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 @@ -507,27 +610,38 @@ 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() { @@ -535,6 +649,7 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -546,8 +661,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -588,8 +702,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_); @@ -598,16 +713,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -617,40 +734,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -693,96 +807,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.
@@ -793,38 +916,41 @@ 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()
+    // Construct using
+    // com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -864,19 +990,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);
       }
@@ -885,7 +1014,8 @@ 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);
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
+          new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
       result.name_ = name_;
       result.advertiserId_ = advertiserId_;
       if (linkProposalStatusDetailsBuilder_ == null) {
@@ -918,46 +1048,52 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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_;
         onChanged();
@@ -1005,7 +1141,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1017,6 +1155,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1025,13 +1165,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; @@ -1040,6 +1180,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1048,15 +1190,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 { @@ -1064,6 +1205,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1072,20 +1215,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1094,15 +1239,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
      * Format:
@@ -1111,16 +1259,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1128,18 +1276,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; @@ -1148,20 +1298,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 { @@ -1169,54 +1320,61 @@ 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) { + public Builder setAdvertiserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserId_ = value; 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() { - + advertiserId_ = getDefaultInstance().getAdvertiserId(); onChanged(); 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) { + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserId_ = value; onChanged(); return this; @@ -1224,41 +1382,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 linkProposalStatusDetailsBuilder_ != null || 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. */ - 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(); @@ -1272,11 +1451,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) { @@ -1290,17 +1473,25 @@ 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 (linkProposalStatusDetails_ != null) { linkProposalStatusDetails_ = - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder(linkProposalStatusDetails_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder( + linkProposalStatusDetails_) + .mergeFrom(value) + .buildPartial(); } else { linkProposalStatusDetails_ = value; } @@ -1312,11 +1503,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() { if (linkProposalStatusDetailsBuilder_ == null) { @@ -1330,48 +1525,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() { + 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_; @@ -1379,19 +1592,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; @@ -1400,21 +1615,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 { @@ -1422,57 +1638,64 @@ 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) { + public Builder setAdvertiserDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + advertiserDisplayName_ = value; 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() { - + advertiserDisplayName_ = getDefaultInstance().getAdvertiserDisplayName(); 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]; + * * @param value The bytes for advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserDisplayName_ = value; onChanged(); return this; @@ -1480,6 +1703,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 is used to
@@ -1490,13 +1715,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; @@ -1505,6 +1730,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 is used to
@@ -1515,15 +1742,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 { @@ -1531,6 +1757,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 is used to
@@ -1541,20 +1769,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) { + public Builder setValidationEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + validationEmail_ = value; onChanged(); return this; } /** + * + * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1565,15 +1795,18 @@ public Builder setValidationEmail(
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearValidationEmail() { - + validationEmail_ = getDefaultInstance().getValidationEmail(); onChanged(); return this; } /** + * + * *
      * Input only. On a proposal being sent to Display & Video 360, this field must be set to
      * the email address of an admin on the target advertiser. This is used to
@@ -1584,16 +1817,16 @@ 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) { + public Builder setValidationEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + validationEmail_ = value; onChanged(); return this; @@ -1601,42 +1834,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 adsPersonalizationEnabledBuilder_ != null || 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. */ 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) { @@ -1652,12 +1904,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) { @@ -1671,18 +1927,24 @@ 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 (adsPersonalizationEnabled_ != null) { adsPersonalizationEnabled_ = - com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_) + .mergeFrom(value) + .buildPartial(); } else { adsPersonalizationEnabled_ = value; } @@ -1694,12 +1956,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() { if (adsPersonalizationEnabledBuilder_ == null) { @@ -1713,51 +1979,67 @@ 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() { - + onChanged(); 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_; @@ -1765,42 +2047,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 campaignDataSharingEnabledBuilder_ != null || 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. */ 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) { @@ -1816,12 +2117,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) { @@ -1835,18 +2140,24 @@ 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 (campaignDataSharingEnabled_ != null) { campaignDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(campaignDataSharingEnabled_) + .mergeFrom(value) + .buildPartial(); } else { campaignDataSharingEnabled_ = value; } @@ -1858,12 +2169,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() { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1877,51 +2192,67 @@ 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() { - + onChanged(); 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_; @@ -1929,45 +2260,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 costDataSharingEnabledBuilder_ != null || 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. */ 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) { @@ -1983,13 +2333,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) { @@ -2003,19 +2357,25 @@ 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 (costDataSharingEnabled_ != null) { costDataSharingEnabled_ = - com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(costDataSharingEnabled_) + .mergeFrom(value) + .buildPartial(); } else { costDataSharingEnabled_ = value; } @@ -2027,13 +2387,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() { if (costDataSharingEnabledBuilder_ == null) { @@ -2047,61 +2411,77 @@ 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() { - + onChanged(); 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); } @@ -2111,30 +2491,33 @@ 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 { - return new DisplayVideo360AdvertiserLinkProposal(input, extensionRegistry); - } - }; + 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 { + return new DisplayVideo360AdvertiserLinkProposal(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2146,9 +2529,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index 1c711230..316c6ed2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends +public interface DisplayVideo360AdvertiserLinkProposalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
    * Format:
@@ -16,10 +34,13 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
    * Format:
@@ -28,81 +49,108 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString - getAdvertiserIdBytes(); + com.google.protobuf.ByteString getAdvertiserIdBytes(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the linkProposalStatusDetails field is set. */ boolean hasLinkProposalStatusDetails(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalStatusDetails. */ com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder + getLinkProposalStatusDetailsOrBuilder(); /** + * + * *
    * Output only. The display name of the Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** + * + * *
    * Output only. The display name of the Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes(); + com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); /** + * + * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -113,10 +161,13 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ java.lang.String getValidationEmail(); /** + * + * *
    * Input only. On a proposal being sent to Display & Video 360, this field must be set to
    * the email address of an admin on the target advertiser. This is used to
@@ -127,101 +178,143 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for validationEmail. */ - com.google.protobuf.ByteString - getValidationEmailBytes(); + com.google.protobuf.ByteString getValidationEmailBytes(); /** + * + * *
    * Immutable. Enables personalized advertising features with this integration.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * Immutable. Enables personalized advertising features with this integration.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * Immutable. Enables personalized advertising features with this integration.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder(); /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ boolean hasCampaignDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The campaignDataSharingEnabled. */ com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360.
    * This can only be enabled if campaign_data_sharing_enabled is enabled.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ boolean hasCostDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360.
    * This can only be enabled if campaign_data_sharing_enabled is enabled.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The costDataSharingEnabled. */ com.google.protobuf.BoolValue getCostDataSharingEnabled(); /** + * + * *
    * Immutable. Enables the import of cost data from Display & Video 360.
    * This can only be enabled if campaign_data_sharing_enabled is enabled.
    * If this field is not set on create, it will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index 13967dee..91e51bdd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ -public final class FirebaseLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FirebaseLink) FirebaseLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FirebaseLink() { name_ = ""; project_ = ""; @@ -26,16 +44,15 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FirebaseLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,71 +71,80 @@ private FirebaseLink( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + name_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -127,29 +153,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 { @@ -160,6 +186,8 @@ public java.lang.String getName() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -170,6 +198,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -178,14 +207,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -196,16 +226,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 { @@ -216,11 +245,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 @@ -228,11 +261,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 @@ -240,11 +277,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() { @@ -252,6 +292,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -290,8 +330,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,21 +340,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -341,118 +378,127 @@ 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() @@ -460,16 +506,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +532,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 @@ -508,7 +553,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink buildPartial() { - com.google.analytics.admin.v1alpha.FirebaseLink result = new com.google.analytics.admin.v1alpha.FirebaseLink(this); + com.google.analytics.admin.v1alpha.FirebaseLink result = + new com.google.analytics.admin.v1alpha.FirebaseLink(this); result.name_ = name_; result.project_ = project_; if (createTimeBuilder_ == null) { @@ -524,38 +570,39 @@ public com.google.analytics.admin.v1alpha.FirebaseLink buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -563,7 +610,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_; onChanged(); @@ -606,18 +654,20 @@ public Builder mergeFrom( 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; @@ -626,20 +676,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 { @@ -647,54 +698,61 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -702,6 +760,8 @@ public Builder setNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -712,13 +772,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; @@ -727,6 +787,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -737,15 +799,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 { @@ -753,6 +814,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -763,20 +826,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) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -787,15 +852,18 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -806,16 +874,16 @@ 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) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -823,39 +891,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 createTimeBuilder_ != null || 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. */ 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) { @@ -871,14 +958,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(); onChanged(); @@ -889,17 +979,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -911,11 +1005,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() { if (createTimeBuilder_ == null) { @@ -929,55 +1027,71 @@ 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() { - + onChanged(); 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); } @@ -987,12 +1101,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(); } @@ -1001,16 +1115,16 @@ 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 { - return new FirebaseLink(input, extensionRegistry); - } - }; + 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 { + return new FirebaseLink(input, extensionRegistry); + } + }; 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.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java index 269e6e03..95769d4a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface FirebaseLinkOrBuilder extends +public interface FirebaseLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -38,10 +61,13 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -52,35 +78,46 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when this FirebaseLink was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java index c5d93a14..7925a515 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ -public final class GetAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAccountRequest) GetAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetAccountRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ 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() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_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 @@ -364,7 +399,8 @@ public com.google.analytics.admin.v1alpha.GetAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAccountRequest result = new com.google.analytics.admin.v1alpha.GetAccountRequest(this); + com.google.analytics.admin.v1alpha.GetAccountRequest result = + new com.google.analytics.admin.v1alpha.GetAccountRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.analytics.admin.v1alpha.GetAccountRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -413,7 +450,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_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetAccountRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +488,24 @@ public Builder mergeFrom( 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; @@ -471,22 +514,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 { @@ -494,67 +540,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +623,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(); } @@ -578,16 +637,16 @@ 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 { - return new GetAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java new file mode 100644 index 00000000..c9770c3a --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java index 8268d153..ec3f61f0 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest} */ -public final class GetAndroidAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) GetAndroidAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAndroidAppDataStreamRequest.newBuilder() to construct. - private GetAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetAndroidAppDataStreamRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAndroidAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +71,62 @@ private GetAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the android app data stream to lookup.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 @@ -109,31 +135,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 android app data stream to lookup.
    * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
    * Example: "properties/123/androidAppDataStreams/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 { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,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.GetAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,145 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.newBuilder() + // Construct using + // com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +382,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_GetAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance(); } @@ -364,7 +404,8 @@ public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +415,50 @@ public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest 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.GetAndroidAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +496,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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; @@ -471,22 +522,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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 { @@ -494,67 +548,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the android app data stream to lookup.
      * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
      * Example: "properties/123/androidAppDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,30 +631,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,9 +668,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..b9239067 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAndroidAppDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetAndroidAppDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the android app data stream to lookup.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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 android app data stream to lookup.
+   * Format: properties/{property_id}/androidAppDataStreams/{stream_id}
+   * Example: "properties/123/androidAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java index 3ea31957..95cad9ee 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) GetConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetConversionEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetConversionEventRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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(); } @@ -364,7 +401,8 @@ 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); + com.google.analytics.admin.v1alpha.GetConversionEventRequest result = + new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.analytics.admin.v1alpha.GetConversionEventRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,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_; onChanged(); @@ -437,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetConversionEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetConversionEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +491,24 @@ public Builder mergeFrom( 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; @@ -471,22 +517,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 { @@ -494,67 +543,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +626,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(); } @@ -578,16 +641,16 @@ 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 { - return new GetConversionEventRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversionEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +665,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java new file mode 100644 index 00000000..986523b1 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java index 9a79dd82..0d0a6bc2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetCustomDimensionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +489,23 @@ public Builder mergeFrom( 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; @@ -468,21 +514,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 { @@ -490,64 +539,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +619,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(); } @@ -571,16 +634,16 @@ 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 { - return new GetCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +658,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 00000000..4055eb55 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java index c481bb5d..87902d28 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetCustomMetricRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,8 @@ public com.google.analytics.admin.v1alpha.GetCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.analytics.admin.v1alpha.GetCustomMetricRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +487,23 @@ public Builder mergeFrom( 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; @@ -468,21 +512,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 { @@ -490,64 +537,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +617,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(); } @@ -571,16 +631,16 @@ 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 { - return new GetCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 00000000..b1979473 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java index e61901e4..e0d4fd7f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDataRetentionSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +71,52 @@ private GetDataRetentionSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -101,7 +124,10 @@ private GetDataRetentionSettingsRequest(
    * 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 @@ -110,14 +136,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:
@@ -125,17 +152,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 { @@ -144,6 +172,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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_); } @@ -180,15 +208,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +236,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,14 +384,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 @@ -366,7 +407,8 @@ 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); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,46 +418,51 @@ public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -439,7 +486,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +500,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -458,14 +509,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; @@ -474,6 +527,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -481,16 +536,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 { @@ -498,6 +554,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -505,21 +563,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -527,16 +589,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -544,24 +611,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,30 +640,32 @@ 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 { - return new GetDataRetentionSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDataRetentionSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -606,9 +677,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 00000000..246749d9 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataRetentionSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java index f88524e6..1166bac5 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDataSharingSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetDataSharingSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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(); } @@ -364,7 +401,8 @@ 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); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +412,50 @@ public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +493,24 @@ public Builder mergeFrom( 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; @@ -471,22 +519,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 { @@ -494,67 +545,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,30 +628,32 @@ 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 { - return new GetDataSharingSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDataSharingSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,9 +665,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 00000000..332a29a4 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataSharingSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java index e8b55806..d11f7f5e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} */ -public final class GetDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) GetDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataStreamRequest.newBuilder() to construct. private GetDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,8 @@ public com.google.analytics.admin.v1alpha.GetDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetDataStreamRequest result = + new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.analytics.admin.v1alpha.GetDataStreamRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +487,23 @@ public Builder mergeFrom( 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; @@ -468,21 +512,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 { @@ -490,64 +537,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +617,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(); } @@ -571,16 +631,16 @@ 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 { - return new GetDataStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..bf5da682 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java similarity index 53% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java index 9f7bb85f..7639e5a3 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java @@ -1,40 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ -public final class GetDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDisplayVideo360AdvertiserLinkProposalRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkProposalRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDisplayVideo360AdvertiserLinkProposalRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +73,63 @@ private GetDisplayVideo360AdvertiserLinkProposalRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +138,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 { @@ -140,6 +172,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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_); } @@ -176,15 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,135 +237,155 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +395,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); } @@ -361,8 +419,11 @@ 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); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest( + this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +433,54 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkPropos public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -431,11 +500,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +519,23 @@ public Builder mergeFrom( 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; @@ -468,21 +544,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 { @@ -490,64 +569,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,44 +649,51 @@ 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 { - return new GetDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDisplayVideo360AdvertiserLinkProposalRequest(input, extensionRegistry); + } + }; - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 00000000..47e4394e --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java index 38d3b07a..67840876 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ -public final class GetDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) GetDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +72,62 @@ private GetDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +136,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 { @@ -140,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +206,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,135 +234,152 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +389,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); } @@ -361,8 +412,10 @@ 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); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +425,52 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -431,11 +490,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +509,23 @@ public Builder mergeFrom( 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; @@ -468,21 +534,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 { @@ -490,64 +559,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,30 +639,33 @@ 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 { - return new GetDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +677,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 00000000..5b243e80 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java index e05e443e..2fe37571 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetGlobalSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ -public final class GetGlobalSiteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGlobalSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) GetGlobalSiteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGlobalSiteTagRequest.newBuilder() to construct. private GetGlobalSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGlobalSiteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGlobalSiteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGlobalSiteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +70,52 @@ private GetGlobalSiteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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.
@@ -101,7 +123,10 @@ private GetGlobalSiteTagRequest(
    * Example: "properties/123/webDataStreams/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 @@ -110,14 +135,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.
@@ -125,17 +151,18 @@ public java.lang.String getName() {
    * Example: "properties/123/webDataStreams/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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,127 @@ 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() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_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 @@ -366,7 +402,8 @@ public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = + new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +413,39 @@ public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -415,7 +453,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_; onChanged(); @@ -439,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +491,8 @@ public Builder mergeFrom( 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.
@@ -458,14 +500,16 @@ public Builder mergeFrom(
      * Example: "properties/123/webDataStreams/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; @@ -474,6 +518,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.
@@ -481,16 +527,17 @@ public java.lang.String getName() {
      * Example: "properties/123/webDataStreams/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 { @@ -498,6 +545,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.
@@ -505,21 +554,25 @@ public java.lang.String getName() {
      * Example: "properties/123/webDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -527,16 +580,21 @@ public Builder setName(
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -544,24 +602,26 @@ public Builder clearName() {
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,12 +631,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(); } @@ -585,16 +645,16 @@ 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 { - return new GetGlobalSiteTagRequest(input, extensionRegistry); - } - }; + 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 { + return new GetGlobalSiteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -609,6 +669,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java index 0bf382a2..1b6b0450 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetGlobalSiteTagRequestOrBuilder extends +public interface GetGlobalSiteTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -15,11 +33,16 @@ public interface GetGlobalSiteTagRequestOrBuilder extends
    * Example: "properties/123/webDataStreams/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/webDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java index eabf5920..53cc5cfb 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ -public final class GetGoogleSignalsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) GetGoogleSignalsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGoogleSignalsSettingsRequest.newBuilder() to construct. - private GetGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleSignalsSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGoogleSignalsSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGoogleSignalsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +71,61 @@ private GetGoogleSignalsSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -108,30 +134,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 { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +380,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 @@ -362,7 +403,8 @@ 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); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +496,23 @@ public Builder mergeFrom( 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; @@ -468,21 +521,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 { @@ -490,64 +546,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,30 +626,32 @@ 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 { - return new GetGoogleSignalsSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetGoogleSignalsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +663,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java new file mode 100644 index 00000000..9b61ee92 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetGoogleSignalsSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java index 21cdeb56..e9faf3d4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetIosAppDataStreamRequest} */ -public final class GetIosAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) GetIosAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIosAppDataStreamRequest.newBuilder() to construct. private GetIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIosAppDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetIosAppDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the iOS app data stream to lookup.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 @@ -109,31 +134,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 iOS app data stream to lookup.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
    * Example: "properties/123/iosAppDataStreams/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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.GetIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetIosAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,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_GetIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +478,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +492,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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; @@ -471,22 +518,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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 { @@ -494,67 +544,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the iOS app data stream to lookup.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
      * Example: "properties/123/iosAppDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +627,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest(); } @@ -578,16 +642,16 @@ public static com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +666,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetIosAppDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..c46888b1 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetIosAppDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetIosAppDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetIosAppDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the iOS app data stream to lookup.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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 iOS app data stream to lookup.
+   * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
+   * Example: "properties/123/iosAppDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java index af096b88..8e653310 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +72,52 @@ private GetMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
@@ -102,7 +126,10 @@ private GetMeasurementProtocolSecretRequest(
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.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 @@ -111,14 +138,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 measurement protocol secret to lookup.
    * Format:
@@ -127,17 +155,18 @@ public java.lang.String getName() {
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.google.api.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 { @@ -146,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,134 +239,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,19 +387,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); } @@ -368,7 +411,8 @@ 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); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,46 +422,51 @@ public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -441,7 +490,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -453,6 +504,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -461,14 +514,16 @@ public Builder mergeFrom(
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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; @@ -477,6 +532,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -485,16 +542,17 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.google.api.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 { @@ -502,6 +560,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -510,21 +570,25 @@ public java.lang.String getName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -533,16 +597,21 @@ public Builder setName(
      * AndroidAppDataStream) may be a parent.
      * 
* - * string 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
@@ -551,24 +620,26 @@ public Builder clearName() {
      * AndroidAppDataStream) may be a parent.
      * 
* - * string name = 1 [(.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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -578,30 +649,32 @@ 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 { - return new GetMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new GetMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,9 +686,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/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java index d62825f0..13d7baa5 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetMeasurementProtocolSecretRequestOrBuilder extends +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:
@@ -16,11 +34,16 @@ public interface GetMeasurementProtocolSecretRequestOrBuilder extends
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.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 measurement protocol secret to lookup.
    * Format:
@@ -29,9 +52,11 @@ public interface GetMeasurementProtocolSecretRequestOrBuilder extends
    * AndroidAppDataStream) may be a parent.
    * 
* - * string name = 1 [(.google.api.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java index 24bedfd2..39edb44e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ -public final class GetPropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetPropertyRequest) GetPropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetPropertyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -109,31 +134,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,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 @@ -364,7 +400,8 @@ public com.google.analytics.admin.v1alpha.GetPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetPropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetPropertyRequest result = new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); + com.google.analytics.admin.v1alpha.GetPropertyRequest result = + new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.analytics.admin.v1alpha.GetPropertyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -413,7 +451,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_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetPropertyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetPropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( 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; @@ -471,22 +515,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 { @@ -494,67 +541,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,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(); } @@ -578,16 +638,16 @@ 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 { - return new GetPropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java new file mode 100644 index 00000000..20cd31c0 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetPropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java index 75667497..cca6d927 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ -public final class GetUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) GetUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUserLinkRequest.newBuilder() to construct. private GetUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private GetUserLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -107,29 +132,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetUserLinkRequest other = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetUserLinkRequest other = + (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -202,117 +229,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) com.google.analytics.admin.v1alpha.GetUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetUserLinkRequest.newBuilder() @@ -320,16 +357,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override @@ -360,7 +396,8 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetUserLinkRequest result = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); + com.google.analytics.admin.v1alpha.GetUserLinkRequest result = + new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +407,39 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +447,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,18 +485,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -465,20 +509,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -486,61 +533,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) private static final com.google.analytics.admin.v1alpha.GetUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(); } @@ -564,16 +624,16 @@ public static com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..b9a66481 --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java index cfa481f5..dde7242d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetWebDataStreamRequest} */ -public final class GetWebDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetWebDataStreamRequest) GetWebDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWebDataStreamRequest.newBuilder() to construct. private GetWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWebDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetWebDataStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the web data stream to lookup.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 @@ -109,31 +134,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 web data stream to lookup.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
    * Example: "properties/123/webDataStreams/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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.GetWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other = + (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetWebDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetWebDataStreamRequest) com.google.analytics.admin.v1alpha.GetWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,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_GetWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetWebDataStreamRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.GetWebDataStreamRequest result = + new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetWebDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetWebDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GetWebDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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; @@ -471,22 +515,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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 { @@ -494,67 +541,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the web data stream to lookup.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
      * Example: "properties/123/webDataStreams/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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetWebDataStreamRequest) private static final com.google.analytics.admin.v1alpha.GetWebDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetWebDataStreamRequest(); } @@ -578,16 +638,16 @@ public static com.google.analytics.admin.v1alpha.GetWebDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java new file mode 100644 index 00000000..8b9ab86d --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetWebDataStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetWebDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetWebDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the web data stream to lookup.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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 web data stream to lookup.
+   * Format: properties/{property_id}/webDataStreams/{stream_id}
+   * Example: "properties/123/webDataStreams/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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index 834227b8..0d1b6edf 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Read-only resource with the tag for sending data from a website to a
  * WebDataStream.
@@ -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,16 +45,15 @@ private GlobalSiteTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GlobalSiteTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private GlobalSiteTag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,59 +72,66 @@ private GlobalSiteTag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            snippet_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              snippet_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{propertyId}/globalSiteTag
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -116,30 +140,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 GlobalSiteTag resource.
    * Format: properties/{propertyId}/globalSiteTag
    * 
* * 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 { @@ -150,12 +174,15 @@ public java.lang.String getName() { public static final int SNIPPET_FIELD_NUMBER = 2; 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 @@ -164,30 +191,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 { @@ -196,6 +223,7 @@ public java.lang.String getSnippet() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,17 +265,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,97 +295,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
    * WebDataStream.
@@ -367,21 +400,23 @@ 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()
@@ -389,16 +424,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -410,9 +444,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
@@ -431,7 +465,8 @@ public com.google.analytics.admin.v1alpha.GlobalSiteTag build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.GlobalSiteTag buildPartial() {
-      com.google.analytics.admin.v1alpha.GlobalSiteTag result = new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
+      com.google.analytics.admin.v1alpha.GlobalSiteTag result =
+          new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
       result.name_ = name_;
       result.snippet_ = snippet_;
       onBuilt();
@@ -442,38 +477,39 @@ public com.google.analytics.admin.v1alpha.GlobalSiteTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -481,7 +517,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_;
         onChanged();
@@ -521,19 +558,21 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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; @@ -542,21 +581,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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 { @@ -564,57 +604,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{propertyId}/globalSiteTag
      * 
* * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -622,19 +669,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; @@ -643,21 +692,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 { @@ -665,64 +715,71 @@ 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) { + public Builder setSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + snippet_ = value; 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() { - + snippet_ = getDefaultInstance().getSnippet(); 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]; + * * @param value The bytes for snippet to set. * @return This builder for chaining. */ - public Builder setSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + snippet_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +789,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(); } @@ -746,16 +803,16 @@ 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 { - return new GlobalSiteTag(input, extensionRegistry); - } - }; + 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 { + return new GlobalSiteTag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index d111d3d0..4ec0bf9f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java @@ -1,53 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/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/{propertyId}/globalSiteTag
    * 
* * 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/{propertyId}/globalSiteTag
    * 
* * 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index 10c6d60a..7d7ae788 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ -public final class GoogleAdsLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleAdsLink) GoogleAdsLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -27,16 +45,15 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GoogleAdsLink( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,109 +72,123 @@ private GoogleAdsLink( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - customerId_ = s; - break; - } - case 32: { - - canManageClients_ = input.readBool(); - break; - } - case 42: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (adsPersonalizationEnabled_ != null) { - subBuilder = adsPersonalizationEnabled_.toBuilder(); - } - adsPersonalizationEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adsPersonalizationEnabled_); - adsPersonalizationEnabled_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + customerId_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 32: + { + canManageClients_ = input.readBool(); + break; } - - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (adsPersonalizationEnabled_ != null) { + subBuilder = adsPersonalizationEnabled_.toBuilder(); + } + adsPersonalizationEnabled_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adsPersonalizationEnabled_); + adsPersonalizationEnabled_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - creatorEmailAddress_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + creatorEmailAddress_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -166,30 +197,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -200,11 +231,14 @@ public java.lang.String getName() { public static final int CUSTOMER_ID_FIELD_NUMBER = 3; 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 @@ -213,29 +247,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 { @@ -246,11 +280,14 @@ public java.lang.String getCustomerId() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; 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 @@ -261,6 +298,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
@@ -269,6 +308,7 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -276,6 +316,8 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -284,13 +326,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
@@ -308,11 +355,15 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
   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 @@ -320,11 +371,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 @@ -332,11 +387,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() { @@ -346,11 +404,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 @@ -358,11 +420,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 @@ -370,11 +436,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() { @@ -384,12 +453,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; 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 @@ -398,30 +470,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 { @@ -430,6 +502,7 @@ public java.lang.String getCreatorEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -441,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_); } @@ -480,20 +552,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_); @@ -506,36 +576,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -552,8 +617,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(); @@ -573,118 +637,127 @@ 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() @@ -692,16 +765,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +807,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 @@ -756,7 +828,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink buildPartial() { - com.google.analytics.admin.v1alpha.GoogleAdsLink result = new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); + com.google.analytics.admin.v1alpha.GoogleAdsLink result = + new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); result.name_ = name_; result.customerId_ = customerId_; result.canManageClients_ = canManageClients_; @@ -784,38 +857,39 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -823,7 +897,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_; onChanged(); @@ -879,19 +954,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -900,21 +977,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -922,57 +1000,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -980,18 +1065,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; @@ -1000,20 +1087,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 { @@ -1021,66 +1109,76 @@ 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) { + public Builder setCustomerId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerId_ = value; 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() { - + customerId_ = getDefaultInstance().getCustomerId(); onChanged(); 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) { + public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerId_ = value; onChanged(); 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 @@ -1088,30 +1186,36 @@ public boolean getCanManageClients() { return canManageClients_; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCanManageClients() { - + canManageClients_ = false; onChanged(); return this; @@ -1119,8 +1223,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
@@ -1129,12 +1238,15 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabledBuilder_ != null || adsPersonalizationEnabled_ != null; } /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1143,16 +1255,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
@@ -1176,6 +1293,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
@@ -1197,6 +1316,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1210,7 +1331,9 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       if (adsPersonalizationEnabledBuilder_ == null) {
         if (adsPersonalizationEnabled_ != null) {
           adsPersonalizationEnabled_ =
-            com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(adsPersonalizationEnabled_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           adsPersonalizationEnabled_ = value;
         }
@@ -1222,6 +1345,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
@@ -1243,6 +1368,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1253,11 +1380,13 @@ public Builder clearAdsPersonalizationEnabled() {
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() {
-      
+
       onChanged();
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1271,11 +1400,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
@@ -1286,14 +1418,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_;
@@ -1301,39 +1436,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1349,14 +1503,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(); onChanged(); @@ -1367,17 +1524,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1389,11 +1550,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() { if (createTimeBuilder_ == null) { @@ -1407,48 +1572,64 @@ 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() { - + onChanged(); 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_; @@ -1456,39 +1637,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1504,14 +1704,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(); onChanged(); @@ -1522,17 +1725,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1544,11 +1751,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() { if (updateTimeBuilder_ == null) { @@ -1562,48 +1773,64 @@ 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() { - + onChanged(); 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_; @@ -1611,19 +1838,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; @@ -1632,21 +1861,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 { @@ -1654,64 +1884,71 @@ 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) { + public Builder setCreatorEmailAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creatorEmailAddress_ = value; 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() { - + creatorEmailAddress_ = getDefaultInstance().getCreatorEmailAddress(); 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]; + * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creatorEmailAddress_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1721,12 +1958,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(); } @@ -1735,16 +1972,16 @@ 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 { - return new GoogleAdsLink(input, extensionRegistry); - } - }; + 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 { + return new GoogleAdsLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1759,6 +1996,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java similarity index 79% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index ab12c2fc..04831579 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java @@ -1,65 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ java.lang.String getCustomerId(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ - com.google.protobuf.ByteString - getCustomerIdBytes(); + com.google.protobuf.ByteString getCustomerIdBytes(); /** + * + * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ boolean getCanManageClients(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -68,10 +99,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -80,10 +114,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -96,78 +133,105 @@ public interface GoogleAdsLinkOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when this link was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when this link was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Email address of the user that created the link.
    * An empty string will be returned if the email address can't be retrieved.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** + * + * *
    * Output only. Email address of the user that created the link.
    * An empty string will be returned if the email address can't be retrieved.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString - getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString getCreatorEmailAddressBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java index 9e860b15..dcc2006d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Consent field of the Google Signals settings (i.e., whether the user has
  * consented to the Google Signals terms of service.)
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsConsent}
  */
-public enum GoogleSignalsConsent
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -24,6 +42,8 @@ public enum GoogleSignalsConsent
    */
   GOOGLE_SIGNALS_CONSENT_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -32,6 +52,8 @@ public enum GoogleSignalsConsent */ GOOGLE_SIGNALS_CONSENT_CONSENTED(2), /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -43,6 +65,8 @@ public enum GoogleSignalsConsent ; /** + * + * *
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -53,6 +77,8 @@ public enum GoogleSignalsConsent
    */
   public static final int GOOGLE_SIGNALS_CONSENT_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -61,6 +87,8 @@ public enum GoogleSignalsConsent */ public static final int GOOGLE_SIGNALS_CONSENT_CONSENTED_VALUE = 2; /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -69,7 +97,6 @@ public enum GoogleSignalsConsent */ public static final int GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -94,10 +121,14 @@ public static GoogleSignalsConsent valueOf(int value) { */ public static GoogleSignalsConsent forNumber(int value) { switch (value) { - case 0: return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; - case 2: return GOOGLE_SIGNALS_CONSENT_CONSENTED; - case 1: return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; - default: return null; + case 0: + return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; + case 2: + return GOOGLE_SIGNALS_CONSENT_CONSENTED; + case 1: + return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; + default: + return null; } } @@ -105,28 +136,28 @@ public static GoogleSignalsConsent forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GoogleSignalsConsent> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsConsent findValueByNumber(int number) { - return GoogleSignalsConsent.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsConsent findValueByNumber(int number) { + return GoogleSignalsConsent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(6); } @@ -135,8 +166,7 @@ public GoogleSignalsConsent findValueByNumber(int number) { public static GoogleSignalsConsent valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -152,4 +182,3 @@ private GoogleSignalsConsent(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsConsent) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java index 8d119888..86901c6a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Settings values for Google Signals.  This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ -public final class GoogleSignalsSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoogleSignalsSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) GoogleSignalsSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleSignalsSettings.newBuilder() to construct. private GoogleSignalsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleSignalsSettings() { name_ = ""; state_ = 0; @@ -27,16 +45,15 @@ private GoogleSignalsSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleSignalsSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GoogleSignalsSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,59 +72,66 @@ private GoogleSignalsSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 32: + { + int rawValue = input.readEnum(); - consent_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + consent_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -115,6 +139,7 @@ private GoogleSignalsSettings(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -123,14 +148,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
@@ -138,16 +164,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 { @@ -158,58 +183,85 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.valueOf(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.valueOf(state_); + return result == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED + : result; } public static final int CONSENT_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.valueOf(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.valueOf(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; @@ -221,15 +273,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_); } unknownFields.writeTo(output); @@ -244,13 +300,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,15 +319,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -294,117 +353,127 @@ 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() @@ -412,16 +481,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_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 @@ -456,7 +524,8 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings buildPartial() { - com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = + new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); result.name_ = name_; result.state_ = state_; result.consent_ = consent_; @@ -468,38 +537,39 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -507,7 +577,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_; onChanged(); @@ -537,7 +608,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -549,6 +621,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -556,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; @@ -571,6 +645,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -578,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 { @@ -594,6 +669,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -601,20 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -622,15 +701,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -638,16 +720,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -655,51 +737,67 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.valueOf(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.valueOf(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. */ @@ -707,21 +805,24 @@ public Builder setState(com.google.analytics.admin.v1alpha.GoogleSignalsState va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -729,51 +830,75 @@ 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. */ public Builder setConsentValue(int value) { - + consent_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.valueOf(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.valueOf(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. */ @@ -781,28 +906,33 @@ public Builder setConsent(com.google.analytics.admin.v1alpha.GoogleSignalsConsen if (value == null) { throw new NullPointerException(); } - + consent_ = value.getNumber(); onChanged(); 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() { - + consent_ = 0; onChanged(); return this; } + @java.lang.Override - 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 +942,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(); } @@ -826,16 +956,16 @@ 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 { - return new GoogleSignalsSettings(input, extensionRegistry); - } - }; + 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 { + return new GoogleSignalsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +980,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java index 96246e7e..2f84d575 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleSignalsSettingsOrBuilder extends +public interface GoogleSignalsSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -15,10 +33,13 @@ public interface GoogleSignalsSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -26,45 +47,61 @@ public interface GoogleSignalsSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The state. */ com.google.analytics.admin.v1alpha.GoogleSignalsState getState(); /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for consent. */ int getConsentValue(); /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The consent. */ com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java index 093fe042..ed535750 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Status of the Google Signals settings (i.e., whether this feature has been
  * enabled for the property).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsState}
  */
-public enum GoogleSignalsState
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -23,6 +41,8 @@ public enum GoogleSignalsState
    */
   GOOGLE_SIGNALS_STATE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -31,6 +51,8 @@ public enum GoogleSignalsState */ GOOGLE_SIGNALS_ENABLED(1), /** + * + * *
    * Google Signals is disabled.
    * 
@@ -42,6 +64,8 @@ public enum GoogleSignalsState ; /** + * + * *
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -51,6 +75,8 @@ public enum GoogleSignalsState
    */
   public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -59,6 +85,8 @@ public enum GoogleSignalsState */ public static final int GOOGLE_SIGNALS_ENABLED_VALUE = 1; /** + * + * *
    * Google Signals is disabled.
    * 
@@ -67,7 +95,6 @@ public enum GoogleSignalsState */ public static final int GOOGLE_SIGNALS_DISABLED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,39 +119,42 @@ public static GoogleSignalsState valueOf(int value) { */ public static GoogleSignalsState forNumber(int value) { switch (value) { - case 0: return GOOGLE_SIGNALS_STATE_UNSPECIFIED; - case 1: return GOOGLE_SIGNALS_ENABLED; - case 2: return GOOGLE_SIGNALS_DISABLED; - default: return null; + case 0: + return GOOGLE_SIGNALS_STATE_UNSPECIFIED; + case 1: + return GOOGLE_SIGNALS_ENABLED; + case 2: + return GOOGLE_SIGNALS_DISABLED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GoogleSignalsState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsState findValueByNumber(int number) { - return GoogleSignalsState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsState findValueByNumber(int number) { + return GoogleSignalsState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(5); } @@ -133,8 +163,7 @@ public GoogleSignalsState findValueByNumber(int number) { public static GoogleSignalsState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -150,4 +179,3 @@ private GoogleSignalsState(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsState) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java index 86b37f8b..461d68a4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.IndustryCategory} */ -public enum IndustryCategory - implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Industry category unspecified
    * 
@@ -21,6 +39,8 @@ public enum IndustryCategory */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * Automotive
    * 
@@ -29,6 +49,8 @@ public enum IndustryCategory */ AUTOMOTIVE(1), /** + * + * *
    * Business and industrial markets
    * 
@@ -37,6 +59,8 @@ public enum IndustryCategory */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** + * + * *
    * Finance
    * 
@@ -45,6 +69,8 @@ public enum IndustryCategory */ FINANCE(3), /** + * + * *
    * Healthcare
    * 
@@ -53,6 +79,8 @@ public enum IndustryCategory */ HEALTHCARE(4), /** + * + * *
    * Technology
    * 
@@ -61,6 +89,8 @@ public enum IndustryCategory */ TECHNOLOGY(5), /** + * + * *
    * Travel
    * 
@@ -69,6 +99,8 @@ public enum IndustryCategory */ TRAVEL(6), /** + * + * *
    * Other
    * 
@@ -77,6 +109,8 @@ public enum IndustryCategory */ OTHER(7), /** + * + * *
    * Arts and entertainment
    * 
@@ -85,6 +119,8 @@ public enum IndustryCategory */ ARTS_AND_ENTERTAINMENT(8), /** + * + * *
    * Beauty and fitness
    * 
@@ -93,6 +129,8 @@ public enum IndustryCategory */ BEAUTY_AND_FITNESS(9), /** + * + * *
    * Books and literature
    * 
@@ -101,6 +139,8 @@ public enum IndustryCategory */ BOOKS_AND_LITERATURE(10), /** + * + * *
    * Food and drink
    * 
@@ -109,6 +149,8 @@ public enum IndustryCategory */ FOOD_AND_DRINK(11), /** + * + * *
    * Games
    * 
@@ -117,6 +159,8 @@ public enum IndustryCategory */ GAMES(12), /** + * + * *
    * Hobbies and leisure
    * 
@@ -125,6 +169,8 @@ public enum IndustryCategory */ HOBBIES_AND_LEISURE(13), /** + * + * *
    * Home and garden
    * 
@@ -133,6 +179,8 @@ public enum IndustryCategory */ HOME_AND_GARDEN(14), /** + * + * *
    * Internet and telecom
    * 
@@ -141,6 +189,8 @@ public enum IndustryCategory */ INTERNET_AND_TELECOM(15), /** + * + * *
    * Law and government
    * 
@@ -149,6 +199,8 @@ public enum IndustryCategory */ LAW_AND_GOVERNMENT(16), /** + * + * *
    * News
    * 
@@ -157,6 +209,8 @@ public enum IndustryCategory */ NEWS(17), /** + * + * *
    * Online communities
    * 
@@ -165,6 +219,8 @@ public enum IndustryCategory */ ONLINE_COMMUNITIES(18), /** + * + * *
    * People and society
    * 
@@ -173,6 +229,8 @@ public enum IndustryCategory */ PEOPLE_AND_SOCIETY(19), /** + * + * *
    * Pets and animals
    * 
@@ -181,6 +239,8 @@ public enum IndustryCategory */ PETS_AND_ANIMALS(20), /** + * + * *
    * Real estate
    * 
@@ -189,6 +249,8 @@ public enum IndustryCategory */ REAL_ESTATE(21), /** + * + * *
    * Reference
    * 
@@ -197,6 +259,8 @@ public enum IndustryCategory */ REFERENCE(22), /** + * + * *
    * Science
    * 
@@ -205,6 +269,8 @@ public enum IndustryCategory */ SCIENCE(23), /** + * + * *
    * Sports
    * 
@@ -213,6 +279,8 @@ public enum IndustryCategory */ SPORTS(24), /** + * + * *
    * Jobs and education
    * 
@@ -221,6 +289,8 @@ public enum IndustryCategory */ JOBS_AND_EDUCATION(25), /** + * + * *
    * Shopping
    * 
@@ -232,6 +302,8 @@ public enum IndustryCategory ; /** + * + * *
    * Industry category unspecified
    * 
@@ -240,6 +312,8 @@ public enum IndustryCategory */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Automotive
    * 
@@ -248,6 +322,8 @@ public enum IndustryCategory */ public static final int AUTOMOTIVE_VALUE = 1; /** + * + * *
    * Business and industrial markets
    * 
@@ -256,6 +332,8 @@ public enum IndustryCategory */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** + * + * *
    * Finance
    * 
@@ -264,6 +342,8 @@ public enum IndustryCategory */ public static final int FINANCE_VALUE = 3; /** + * + * *
    * Healthcare
    * 
@@ -272,6 +352,8 @@ public enum IndustryCategory */ public static final int HEALTHCARE_VALUE = 4; /** + * + * *
    * Technology
    * 
@@ -280,6 +362,8 @@ public enum IndustryCategory */ public static final int TECHNOLOGY_VALUE = 5; /** + * + * *
    * Travel
    * 
@@ -288,6 +372,8 @@ public enum IndustryCategory */ public static final int TRAVEL_VALUE = 6; /** + * + * *
    * Other
    * 
@@ -296,6 +382,8 @@ public enum IndustryCategory */ public static final int OTHER_VALUE = 7; /** + * + * *
    * Arts and entertainment
    * 
@@ -304,6 +392,8 @@ public enum IndustryCategory */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** + * + * *
    * Beauty and fitness
    * 
@@ -312,6 +402,8 @@ public enum IndustryCategory */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** + * + * *
    * Books and literature
    * 
@@ -320,6 +412,8 @@ public enum IndustryCategory */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** + * + * *
    * Food and drink
    * 
@@ -328,6 +422,8 @@ public enum IndustryCategory */ public static final int FOOD_AND_DRINK_VALUE = 11; /** + * + * *
    * Games
    * 
@@ -336,6 +432,8 @@ public enum IndustryCategory */ public static final int GAMES_VALUE = 12; /** + * + * *
    * Hobbies and leisure
    * 
@@ -344,6 +442,8 @@ public enum IndustryCategory */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** + * + * *
    * Home and garden
    * 
@@ -352,6 +452,8 @@ public enum IndustryCategory */ public static final int HOME_AND_GARDEN_VALUE = 14; /** + * + * *
    * Internet and telecom
    * 
@@ -360,6 +462,8 @@ public enum IndustryCategory */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** + * + * *
    * Law and government
    * 
@@ -368,6 +472,8 @@ public enum IndustryCategory */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** + * + * *
    * News
    * 
@@ -376,6 +482,8 @@ public enum IndustryCategory */ public static final int NEWS_VALUE = 17; /** + * + * *
    * Online communities
    * 
@@ -384,6 +492,8 @@ public enum IndustryCategory */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** + * + * *
    * People and society
    * 
@@ -392,6 +502,8 @@ public enum IndustryCategory */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** + * + * *
    * Pets and animals
    * 
@@ -400,6 +512,8 @@ public enum IndustryCategory */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** + * + * *
    * Real estate
    * 
@@ -408,6 +522,8 @@ public enum IndustryCategory */ public static final int REAL_ESTATE_VALUE = 21; /** + * + * *
    * Reference
    * 
@@ -416,6 +532,8 @@ public enum IndustryCategory */ public static final int REFERENCE_VALUE = 22; /** + * + * *
    * Science
    * 
@@ -424,6 +542,8 @@ public enum IndustryCategory */ public static final int SCIENCE_VALUE = 23; /** + * + * *
    * Sports
    * 
@@ -432,6 +552,8 @@ public enum IndustryCategory */ public static final int SPORTS_VALUE = 24; /** + * + * *
    * Jobs and education
    * 
@@ -440,6 +562,8 @@ public enum IndustryCategory */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** + * + * *
    * Shopping
    * 
@@ -448,7 +572,6 @@ public enum IndustryCategory */ public static final int SHOPPING_VALUE = 26; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -473,73 +596,97 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: return AUTOMOTIVE; - case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: return FINANCE; - case 4: return HEALTHCARE; - case 5: return TECHNOLOGY; - case 6: return TRAVEL; - case 7: return OTHER; - case 8: return ARTS_AND_ENTERTAINMENT; - case 9: return BEAUTY_AND_FITNESS; - case 10: return BOOKS_AND_LITERATURE; - case 11: return FOOD_AND_DRINK; - case 12: return GAMES; - case 13: return HOBBIES_AND_LEISURE; - case 14: return HOME_AND_GARDEN; - case 15: return INTERNET_AND_TELECOM; - case 16: return LAW_AND_GOVERNMENT; - case 17: return NEWS; - case 18: return ONLINE_COMMUNITIES; - case 19: return PEOPLE_AND_SOCIETY; - case 20: return PETS_AND_ANIMALS; - case 21: return REAL_ESTATE; - case 22: return REFERENCE; - case 23: return SCIENCE; - case 24: return SPORTS; - case 25: return JOBS_AND_EDUCATION; - case 26: return SHOPPING; - default: return null; + case 0: + return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: + return AUTOMOTIVE; + case 2: + return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: + return FINANCE; + case 4: + return HEALTHCARE; + case 5: + return TECHNOLOGY; + case 6: + return TRAVEL; + case 7: + return OTHER; + case 8: + return ARTS_AND_ENTERTAINMENT; + case 9: + return BEAUTY_AND_FITNESS; + case 10: + return BOOKS_AND_LITERATURE; + case 11: + return FOOD_AND_DRINK; + case 12: + return GAMES; + case 13: + return HOBBIES_AND_LEISURE; + case 14: + return HOME_AND_GARDEN; + case 15: + return INTERNET_AND_TELECOM; + case 16: + return LAW_AND_GOVERNMENT; + case 17: + return NEWS; + case 18: + return ONLINE_COMMUNITIES; + case 19: + return PEOPLE_AND_SOCIETY; + case 20: + return PETS_AND_ANIMALS; + case 21: + return REAL_ESTATE; + case 22: + return REFERENCE; + case 23: + return SCIENCE; + case 24: + return SPORTS; + case 25: + return JOBS_AND_EDUCATION; + case 26: + return SHOPPING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IndustryCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -555,4 +702,3 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.IndustryCategory) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java index 2198caab..9196ced9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics IOS app stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.IosAppDataStream} */ -public final class IosAppDataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IosAppDataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.IosAppDataStream) IosAppDataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IosAppDataStream.newBuilder() to construct. private IosAppDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IosAppDataStream() { name_ = ""; firebaseAppId_ = ""; @@ -28,16 +46,15 @@ private IosAppDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IosAppDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IosAppDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,91 +73,103 @@ private IosAppDataStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - firebaseAppId_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + firebaseAppId_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - bundleId_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + bundleId_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.IosAppDataStream.class, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.IosAppDataStream.class, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -148,6 +177,7 @@ private IosAppDataStream(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -156,14 +186,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}/iosAppDataStreams/{stream_id}
@@ -171,16 +202,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 { @@ -191,12 +221,15 @@ public java.lang.String getName() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -205,30 +238,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 = 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 { @@ -239,11 +272,15 @@ public java.lang.String getFirebaseAppId() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when this stream 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 @@ -251,11 +288,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time when this stream 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 @@ -263,11 +304,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 = 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() { @@ -277,11 +321,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 stream 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 @@ -289,11 +337,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time when stream 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 @@ -301,11 +353,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 = 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() { @@ -315,12 +370,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int BUNDLE_ID_FIELD_NUMBER = 5; private volatile java.lang.Object bundleId_; /** + * + * *
    * Required. Immutable. The Apple App Store Bundle ID for the app
    * Example: "com.example.myiosapp"
    * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ @java.lang.Override @@ -329,30 +389,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 = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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 { @@ -363,12 +425,15 @@ public java.lang.String getBundleId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -377,30 +442,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; } } /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @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 { @@ -409,6 +474,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,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_); } @@ -456,12 +521,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firebaseAppId_); } 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(bundleId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bundleId_); @@ -477,31 +540,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.IosAppDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.IosAppDataStream other = (com.google.analytics.admin.v1alpha.IosAppDataStream) obj; + com.google.analytics.admin.v1alpha.IosAppDataStream other = + (com.google.analytics.admin.v1alpha.IosAppDataStream) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) 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 (!getBundleId() - .equals(other.getBundleId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getBundleId().equals(other.getBundleId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -535,117 +593,126 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.IosAppDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.IosAppDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 IOS app stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.IosAppDataStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.IosAppDataStream) com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.IosAppDataStream.class, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); + com.google.analytics.admin.v1alpha.IosAppDataStream.class, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder() @@ -653,16 +720,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -690,9 +756,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_IosAppDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; } @java.lang.Override @@ -711,7 +777,8 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream buildPartial() { - com.google.analytics.admin.v1alpha.IosAppDataStream result = new com.google.analytics.admin.v1alpha.IosAppDataStream(this); + com.google.analytics.admin.v1alpha.IosAppDataStream result = + new com.google.analytics.admin.v1alpha.IosAppDataStream(this); result.name_ = name_; result.firebaseAppId_ = firebaseAppId_; if (createTimeBuilder_ == null) { @@ -734,38 +801,39 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.IosAppDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream)other); + return mergeFrom((com.google.analytics.admin.v1alpha.IosAppDataStream) other); } else { super.mergeFrom(other); return this; @@ -773,7 +841,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.IosAppDataStream other) { - if (other == com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -815,7 +884,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.IosAppDataStream) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.IosAppDataStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -827,6 +897,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -834,13 +906,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; @@ -849,6 +921,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -856,15 +930,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 { @@ -872,6 +945,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -879,20 +954,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -900,15 +977,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -916,16 +996,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -933,19 +1013,21 @@ public Builder setNameBytes( 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 = 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; @@ -954,21 +1036,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 = 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 { @@ -976,57 +1059,64 @@ 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 = 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) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 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) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1034,39 +1124,58 @@ public Builder setFirebaseAppIdBytes( 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 = 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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Time when this stream 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 stream 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) { @@ -1082,14 +1191,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 = 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(); onChanged(); @@ -1100,17 +1212,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when this stream 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1122,11 +1238,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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1140,48 +1260,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when this stream 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() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when this stream 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 stream 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_; @@ -1189,39 +1325,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 = 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 updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Time when stream 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 stream 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) { @@ -1237,14 +1392,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 = 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(); onChanged(); @@ -1255,17 +1413,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when stream 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1277,11 +1439,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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1295,48 +1461,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when stream 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() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when stream 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 stream 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_; @@ -1344,19 +1526,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object bundleId_ = ""; /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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; @@ -1365,21 +1551,24 @@ public java.lang.String getBundleId() { } } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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 { @@ -1387,57 +1576,70 @@ public java.lang.String getBundleId() { } } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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) { + public Builder setBundleId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bundleId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearBundleId() { - + bundleId_ = getDefaultInstance().getBundleId(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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) { + public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bundleId_ = value; onChanged(); return this; @@ -1445,19 +1647,21 @@ public Builder setBundleIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @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; @@ -1466,21 +1670,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @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 { @@ -1488,64 +1693,71 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1555,12 +1767,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.IosAppDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.IosAppDataStream) private static final com.google.analytics.admin.v1alpha.IosAppDataStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.IosAppDataStream(); } @@ -1569,16 +1781,16 @@ public static com.google.analytics.admin.v1alpha.IosAppDataStream getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IosAppDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IosAppDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1593,6 +1805,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.IosAppDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java index 76962f78..d30000c9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IosAppDataStreamOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface IosAppDataStreamOrBuilder extends +public interface IosAppDataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.IosAppDataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/iosAppDataStreams/{stream_id}
@@ -15,10 +33,13 @@ public interface IosAppDataStreamOrBuilder 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}/iosAppDataStreams/{stream_id}
@@ -26,128 +47,169 @@ public interface IosAppDataStreamOrBuilder 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. 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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
    * Output only. Time when this stream 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 stream 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 stream 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 stream 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 stream 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 stream 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(); /** + * + * *
    * Required. Immutable. The Apple App Store Bundle ID for the app
    * Example: "com.example.myiosapp"
    * 
* - * string bundle_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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 = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 5 [(.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(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java index d4f6ff3d..722888c2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * An indication of which product the user initiated a link proposal from.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalInitiatingProduct} */ -public enum LinkProposalInitiatingProduct - implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalInitiatingProduct implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified product.
    * 
@@ -21,6 +39,8 @@ public enum LinkProposalInitiatingProduct */ LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED(0), /** + * + * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -29,6 +49,8 @@ public enum LinkProposalInitiatingProduct */ GOOGLE_ANALYTICS(1), /** + * + * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -41,6 +63,8 @@ public enum LinkProposalInitiatingProduct
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified product.
    * 
@@ -49,6 +73,8 @@ public enum LinkProposalInitiatingProduct */ public static final int LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -57,6 +83,8 @@ public enum LinkProposalInitiatingProduct */ public static final int GOOGLE_ANALYTICS_VALUE = 1; /** + * + * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -66,7 +94,6 @@ public enum LinkProposalInitiatingProduct
    */
   public static final int LINKED_PRODUCT_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -91,10 +118,14 @@ public static LinkProposalInitiatingProduct valueOf(int value) {
    */
   public static LinkProposalInitiatingProduct forNumber(int value) {
     switch (value) {
-      case 0: return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
-      case 1: return GOOGLE_ANALYTICS;
-      case 2: return LINKED_PRODUCT;
-      default: return null;
+      case 0:
+        return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
+      case 1:
+        return GOOGLE_ANALYTICS;
+      case 2:
+        return LINKED_PRODUCT;
+      default:
+        return null;
     }
   }
 
@@ -102,28 +133,28 @@ public static LinkProposalInitiatingProduct forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      LinkProposalInitiatingProduct> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LinkProposalInitiatingProduct findValueByNumber(int number) {
-            return LinkProposalInitiatingProduct.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LinkProposalInitiatingProduct findValueByNumber(int number) {
+              return LinkProposalInitiatingProduct.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(7);
   }
 
@@ -132,8 +163,7 @@ public LinkProposalInitiatingProduct findValueByNumber(int number) {
   public static LinkProposalInitiatingProduct valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -149,4 +179,3 @@ private LinkProposalInitiatingProduct(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalInitiatingProduct)
 }
-
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
similarity index 77%
rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
index 966a667f..30482769 100644
--- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
+++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * The state of a link proposal resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalState} */ -public enum LinkProposalState - implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified state
    * 
@@ -21,6 +39,8 @@ public enum LinkProposalState */ LINK_PROPOSAL_STATE_UNSPECIFIED(0), /** + * + * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -30,6 +50,8 @@ public enum LinkProposalState
    */
   AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS(1),
   /**
+   *
+   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -39,6 +61,8 @@ public enum LinkProposalState
    */
   AWAITING_REVIEW_FROM_LINKED_PRODUCT(2),
   /**
+   *
+   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -48,6 +72,8 @@ public enum LinkProposalState
    */
   WITHDRAWN(3),
   /**
+   *
+   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -57,6 +83,8 @@ public enum LinkProposalState
    */
   DECLINED(4),
   /**
+   *
+   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -67,6 +95,8 @@ public enum LinkProposalState
    */
   EXPIRED(5),
   /**
+   *
+   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -80,6 +110,8 @@ public enum LinkProposalState
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified state
    * 
@@ -88,6 +120,8 @@ public enum LinkProposalState */ public static final int LINK_PROPOSAL_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -97,6 +131,8 @@ public enum LinkProposalState
    */
   public static final int AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUE = 1;
   /**
+   *
+   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -106,6 +142,8 @@ public enum LinkProposalState
    */
   public static final int AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUE = 2;
   /**
+   *
+   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -115,6 +153,8 @@ public enum LinkProposalState
    */
   public static final int WITHDRAWN_VALUE = 3;
   /**
+   *
+   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -124,6 +164,8 @@ public enum LinkProposalState
    */
   public static final int DECLINED_VALUE = 4;
   /**
+   *
+   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -134,6 +176,8 @@ public enum LinkProposalState
    */
   public static final int EXPIRED_VALUE = 5;
   /**
+   *
+   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -144,7 +188,6 @@ public enum LinkProposalState
    */
   public static final int OBSOLETE_VALUE = 6;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -169,43 +212,50 @@ public static LinkProposalState valueOf(int value) {
    */
   public static LinkProposalState forNumber(int value) {
     switch (value) {
-      case 0: return LINK_PROPOSAL_STATE_UNSPECIFIED;
-      case 1: return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
-      case 2: return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
-      case 3: return WITHDRAWN;
-      case 4: return DECLINED;
-      case 5: return EXPIRED;
-      case 6: return OBSOLETE;
-      default: return null;
+      case 0:
+        return LINK_PROPOSAL_STATE_UNSPECIFIED;
+      case 1:
+        return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
+      case 2:
+        return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
+      case 3:
+        return WITHDRAWN;
+      case 4:
+        return DECLINED;
+      case 5:
+        return EXPIRED;
+      case 6:
+        return OBSOLETE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      LinkProposalState> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LinkProposalState findValueByNumber(int number) {
-            return LinkProposalState.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LinkProposalState findValueByNumber(int number) {
+              return LinkProposalState.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(8);
   }
 
@@ -214,8 +264,7 @@ public LinkProposalState findValueByNumber(int number) {
   public static LinkProposalState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -231,4 +280,3 @@ private LinkProposalState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalState)
 }
-
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
similarity index 61%
rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
index b318ef59..18546148 100644
--- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
+++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Status information for a link proposal.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ -public final class LinkProposalStatusDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LinkProposalStatusDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) LinkProposalStatusDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkProposalStatusDetails.newBuilder() to construct. private LinkProposalStatusDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkProposalStatusDetails() { linkProposalInitiatingProduct_ = 0; requestorEmail_ = ""; @@ -27,16 +45,15 @@ private LinkProposalStatusDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkProposalStatusDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LinkProposalStatusDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,91 +72,116 @@ private LinkProposalStatusDetails( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - linkProposalInitiatingProduct_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + linkProposalInitiatingProduct_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestorEmail_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + requestorEmail_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - linkProposalState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + linkProposalState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf(linkProposalInitiatingProduct_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf( + linkProposalInitiatingProduct_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED + : result; } public static final int REQUESTOR_EMAIL_FIELD_NUMBER = 2; 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 @@ -148,29 +190,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 { @@ -181,31 +223,47 @@ public java.lang.String getRequestorEmail() { public static final int LINK_PROPOSAL_STATE_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.valueOf(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.valueOf(linkProposalState_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,15 +275,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_); } unknownFields.writeTo(output); @@ -237,16 +299,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -256,16 +322,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -290,117 +356,127 @@ 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() @@ -408,16 +484,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,13 +506,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(); } @@ -452,7 +528,8 @@ 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); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = + new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); result.linkProposalInitiatingProduct_ = linkProposalInitiatingProduct_; result.requestorEmail_ = requestorEmail_; result.linkProposalState_ = linkProposalState_; @@ -464,38 +541,39 @@ public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -503,7 +581,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()); } @@ -533,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,73 +626,105 @@ public Builder mergeFrom( 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. */ public Builder setLinkProposalInitiatingProductValue(int value) { - + linkProposalInitiatingProduct_ = value; onChanged(); 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() { + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf(linkProposalInitiatingProduct_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.valueOf( + 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(); } - + linkProposalInitiatingProduct_ = value.getNumber(); onChanged(); 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() { - + linkProposalInitiatingProduct_ = 0; onChanged(); return this; @@ -619,18 +732,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; @@ -639,20 +754,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 { @@ -660,54 +776,61 @@ 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) { + public Builder setRequestorEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestorEmail_ = value; 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() { - + requestorEmail_ = getDefaultInstance().getRequestorEmail(); 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]; + * * @param value The bytes for requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestorEmail_ = value; onChanged(); return this; @@ -715,80 +838,110 @@ 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. */ public Builder setLinkProposalStateValue(int value) { - + linkProposalState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.valueOf(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.valueOf(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(); } - + linkProposalState_ = value.getNumber(); onChanged(); 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() { - + linkProposalState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +951,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(); } @@ -812,16 +966,16 @@ 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 { - return new LinkProposalStatusDetails(input, extensionRegistry); - } - }; + 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 { + return new LinkProposalStatusDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +990,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java index 9d2f440e..3fe9bf48 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java @@ -1,66 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface LinkProposalStatusDetailsOrBuilder extends +public interface LinkProposalStatusDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ int getLinkProposalInitiatingProductValue(); /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalInitiatingProduct. */ - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct(); + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct(); /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestorEmail. */ java.lang.String getRequestorEmail(); /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for requestorEmail. */ - com.google.protobuf.ByteString - getRequestorEmailBytes(); + com.google.protobuf.ByteString getRequestorEmailBytes(); /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalState. */ int getLinkProposalStateValue(); /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalState. */ com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java index bc6eb9c7..36fbd9e4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAccountSummariesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,57 @@ private ListAccountSummariesRequest( case 0: done = true; break; - case 8: { - - pageSize_ = input.readInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 8: + { + pageSize_ = input.readInt32(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -107,6 +129,7 @@ private ListAccountSummariesRequest(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -117,6 +140,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +150,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +159,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.
@@ -149,16 +176,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 { @@ -167,6 +193,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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 { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -196,8 +222,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_); @@ -210,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -242,117 +266,127 @@ 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() @@ -360,16 +394,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,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_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(); } @@ -402,7 +436,8 @@ 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); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = + new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; onBuilt(); @@ -413,38 +448,39 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -452,7 +488,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()); } @@ -479,7 +517,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,8 +529,10 @@ public Builder mergeFrom( return this; } - 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.
@@ -499,6 +541,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -506,6 +549,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.
@@ -514,16 +559,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -532,10 +580,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -543,6 +592,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.
@@ -551,13 +602,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; @@ -566,6 +617,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -574,15 +627,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 { @@ -590,6 +642,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -598,20 +652,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -620,15 +676,18 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -637,23 +696,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -663,30 +722,32 @@ 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 { - return new ListAccountSummariesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAccountSummariesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -698,9 +759,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java index 1e33f245..d39388bf 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesRequestOrBuilder extends +public interface ListAccountSummariesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -41,8 +65,8 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java index 1fee6718..cce448df 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAccountSummariesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListAccountSummariesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + accountSummaries_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + accountSummaries_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.AccountSummary.parser(), + extensionRegistry)); + break; } - accountSummaries_.add( - input.readMessage(com.google.analytics.admin.v1alpha.AccountSummary.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -92,22 +113,27 @@ private ListAccountSummariesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List accountSummaries_; /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -115,10 +141,13 @@ private ListAccountSummariesResponse( * 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.
    * 
@@ -126,11 +155,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.
    * 
@@ -142,6 +173,8 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -153,6 +186,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -168,12 +203,15 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +220,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +281,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_); @@ -257,17 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +327,127 @@ 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() @@ -409,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAccountSummariesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +481,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(); } @@ -456,7 +503,8 @@ 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); int from_bitField0_ = bitField0_; if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +524,50 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,9 +586,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_); } @@ -565,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +629,38 @@ public Builder mergeFrom( } 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 { @@ -603,6 +668,8 @@ public java.util.List getAcco } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -617,6 +684,8 @@ public int getAccountSummariesCount() { } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -631,6 +700,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -652,6 +723,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -670,6 +743,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -690,6 +765,8 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1alpha.AccountSum return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -711,6 +788,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -729,6 +808,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -747,6 +828,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -757,8 +840,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); @@ -766,6 +848,8 @@ public Builder addAllAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -783,6 +867,8 @@ public Builder clearAccountSummaries() { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -800,6 +886,8 @@ public Builder removeAccountSummaries(int index) { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -811,6 +899,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma return getAccountSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -820,19 +910,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 { @@ -840,6 +933,8 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -847,10 +942,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.
      * 
@@ -859,26 +956,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(), @@ -890,19 +996,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; @@ -911,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 { @@ -933,64 +1042,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1116,32 @@ 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 { - return new ListAccountSummariesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAccountSummariesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1153,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java index d2da7b58..0d916959 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesResponseOrBuilder extends +public interface ListAccountSummariesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List - getAccountSummariesList(); + java.util.List getAccountSummariesList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountSummariesResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int index); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -33,15 +54,19 @@ public interface ListAccountSummariesResponseOrBuilder extends */ int getAccountSummariesCount(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOr int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java index 4f114cab..809e5272 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ -public final class ListAccountsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsRequest) ListAccountsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAccountsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,57 +70,62 @@ private ListAccountsRequest( case 0: done = true; break; - case 8: { - - pageSize_ = input.readInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 24: { + case 8: + { + pageSize_ = input.readInt32(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - showDeleted_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 24: + { + showDeleted_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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_; /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -112,6 +134,7 @@ private ListAccountsRequest(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -122,6 +145,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -130,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -138,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 `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -154,16 +181,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 { @@ -174,6 +200,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; 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
@@ -181,6 +209,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -189,6 +218,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -221,15 +250,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,19 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,125 +293,134 @@ 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) + unknownFields.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() @@ -394,16 +428,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +450,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 @@ -438,7 +471,8 @@ public com.google.analytics.admin.v1alpha.ListAccountsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountsRequest result = new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); + com.google.analytics.admin.v1alpha.ListAccountsRequest result = + new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.showDeleted_ = showDeleted_; @@ -450,38 +484,39 @@ public com.google.analytics.admin.v1alpha.ListAccountsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -489,7 +524,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()); } @@ -519,7 +555,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAccountsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -529,8 +566,10 @@ public Builder mergeFrom( 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.
@@ -539,6 +578,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -546,6 +586,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.
@@ -554,16 +596,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -572,10 +617,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -583,6 +629,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.
@@ -591,13 +639,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; @@ -606,6 +654,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -614,15 +664,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 { @@ -630,6 +679,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -638,20 +689,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -660,15 +713,18 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -677,23 +733,25 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); 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
@@ -701,6 +759,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -708,6 +767,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
@@ -715,16 +776,19 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -732,17 +796,18 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; onChanged(); return this; } + @java.lang.Override - 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 +817,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(); } @@ -766,16 +831,16 @@ 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 { - return new ListAccountsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAccountsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -790,6 +855,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java index 50dd7121..eb0adfc8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsRequestOrBuilder extends +public interface ListAccountsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -41,12 +65,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -54,6 +80,7 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java index 6c6ab8cd..18fcafbf 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ -public final class ListAccountsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsResponse) ListAccountsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAccountsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private ListAccountsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - accounts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + accounts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + accounts_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry)); + break; } - accounts_.add( - input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -92,22 +111,27 @@ private ListAccountsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List accounts_; /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -119,6 +143,8 @@ public java.util.List getAccountsLis return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -126,11 +152,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.
    * 
@@ -142,6 +170,8 @@ public int getAccountsCount() { return accounts_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -153,6 +183,8 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { return accounts_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -160,20 +192,22 @@ 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +216,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +277,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_); @@ -257,17 +290,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +323,127 @@ 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() @@ -409,17 +451,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAccountsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,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_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 @@ -456,7 +498,8 @@ 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); int from_bitField0_ = bitField0_; if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +519,39 @@ public com.google.analytics.admin.v1alpha.ListAccountsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -515,7 +559,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()) { @@ -534,9 +579,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_); } @@ -565,7 +611,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAccountsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAccountsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +621,28 @@ public Builder mergeFrom( } 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.
      * 
@@ -603,6 +657,8 @@ public java.util.List getAccountsLis } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -617,6 +673,8 @@ public int getAccountsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -631,14 +689,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(); @@ -652,6 +711,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -670,6 +731,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -690,14 +753,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(); @@ -711,14 +775,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()); @@ -729,6 +794,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -747,6 +814,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -757,8 +826,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); @@ -766,6 +834,8 @@ public Builder addAllAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -783,6 +853,8 @@ public Builder clearAccounts() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -800,39 +872,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 { @@ -840,6 +917,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -847,42 +926,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_; @@ -890,19 +975,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; @@ -911,21 +998,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -933,64 +1021,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1095,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(); } @@ -1014,16 +1109,16 @@ 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 { - return new ListAccountsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAccountsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1133,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java index 4d9c54f4..8a80e051 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsResponseOrBuilder extends +public interface ListAccountsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List - getAccountsList(); + java.util.List getAccountsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.Account getAccounts(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListAccountsResponseOrBuilder extends */ int getAccountsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java index df52debd..7a831f1a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAndroidAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest} */ -public final class ListAndroidAppDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAndroidAppDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) ListAndroidAppDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAndroidAppDataStreamsRequest.newBuilder() to construct. - private ListAndroidAppDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListAndroidAppDataStreamsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAndroidAppDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListAndroidAppDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAndroidAppDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAndroidAppDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,65 +72,74 @@ private ListAndroidAppDataStreamsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 @@ -121,31 +148,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 parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 { @@ -156,6 +185,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -163,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -182,6 +216,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -190,14 +225,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 call. Provide this to
    * retrieve the subsequent page.
@@ -207,16 +243,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 { @@ -225,6 +260,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -260,8 +295,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_); @@ -274,19 +308,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.ListAndroidAppDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other = + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,134 +342,145 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAndroidAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.newBuilder() + // Construct using + // com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,14 +494,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_ListAndroidAppDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + .getDefaultInstance(); } @java.lang.Override @@ -472,7 +517,8 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest result = + new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -484,46 +530,51 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -554,7 +605,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,20 +619,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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; @@ -588,22 +645,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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 { @@ -611,67 +671,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to limit results to app streams under the property with Id
      * 123: "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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -679,6 +754,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -686,6 +762,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -693,16 +771,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -710,10 +791,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -721,6 +803,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -730,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; @@ -745,6 +829,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -754,15 +840,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 { @@ -770,6 +855,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -779,20 +866,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -802,15 +891,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous call. Provide this to
      * retrieve the subsequent page.
@@ -820,23 +912,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -846,30 +938,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest(); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAndroidAppDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAndroidAppDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAndroidAppDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAndroidAppDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,9 +975,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java index 4f92df56..da279013 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAndroidAppDataStreamsRequestOrBuilder extends +public interface ListAndroidAppDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to limit results to app streams under the property with Id
    * 123: "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.
@@ -39,11 +66,14 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -53,10 +83,13 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous call. Provide this to
    * retrieve the subsequent page.
@@ -66,8 +99,8 @@ public interface ListAndroidAppDataStreamsRequestOrBuilder 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java index 467883d4..496fa13e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAndroidDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse} */ -public final class ListAndroidAppDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAndroidAppDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) ListAndroidAppDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAndroidAppDataStreamsResponse.newBuilder() to construct. - private ListAndroidAppDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListAndroidAppDataStreamsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAndroidAppDataStreamsResponse() { androidAppDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListAndroidAppDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAndroidAppDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAndroidAppDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +73,40 @@ private ListAndroidAppDataStreamsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - androidAppDataStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + androidAppDataStreams_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.AndroidAppDataStream>(); + mutable_bitField0_ |= 0x00000001; + } + androidAppDataStreams_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), + extensionRegistry)); + break; } - androidAppDataStreams_.add( - input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { androidAppDataStreams_ = java.util.Collections.unmodifiableList(androidAppDataStreams_); @@ -92,88 +115,117 @@ private ListAndroidAppDataStreamsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); } public static final int ANDROID_APP_DATA_STREAMS_FIELD_NUMBER = 1; - private java.util.List androidAppDataStreams_; + private java.util.List + androidAppDataStreams_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ @java.lang.Override - public java.util.List getAndroidAppDataStreamsList() { + public java.util.List + getAndroidAppDataStreamsList() { return androidAppDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getAndroidAppDataStreamsOrBuilderList() { return androidAppDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ @java.lang.Override public int getAndroidAppDataStreamsCount() { return androidAppDataStreams_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams( + int index) { return androidAppDataStreams_.get(index); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamsOrBuilder(int index) { return androidAppDataStreams_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +234,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +266,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < androidAppDataStreams_.size(); i++) { output.writeMessage(1, androidAppDataStreams_.get(i)); } @@ -243,8 +295,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < androidAppDataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, androidAppDataStreams_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, androidAppDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +310,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.ListAndroidAppDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other = + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) obj; - if (!getAndroidAppDataStreamsList() - .equals(other.getAndroidAppDataStreamsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAndroidAppDataStreamsList().equals(other.getAndroidAppDataStreamsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,135 +343,147 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAndroidDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.newBuilder() + // Construct using + // com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAndroidAppDataStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,14 +499,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_ListAndroidAppDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAndroidAppDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + .getDefaultInstance(); } @java.lang.Override @@ -456,7 +522,8 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse result = + new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (androidAppDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +543,51 @@ public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + .getDefaultInstance()) return this; if (androidAppDataStreamsBuilder_ == null) { if (!other.androidAppDataStreams_.isEmpty()) { if (androidAppDataStreams_.isEmpty()) { @@ -534,9 +606,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAndroidAppDataSt androidAppDataStreamsBuilder_ = null; androidAppDataStreams_ = other.androidAppDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - androidAppDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAndroidAppDataStreamsFieldBuilder() : null; + androidAppDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAndroidAppDataStreamsFieldBuilder() + : null; } else { androidAppDataStreamsBuilder_.addAllMessages(other.androidAppDataStreams_); } @@ -565,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +649,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List androidAppDataStreams_ = - java.util.Collections.emptyList(); + private java.util.List + androidAppDataStreams_ = java.util.Collections.emptyList(); + private void ensureAndroidAppDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - androidAppDataStreams_ = new java.util.ArrayList(androidAppDataStreams_); + androidAppDataStreams_ = + new java.util.ArrayList( + androidAppDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + androidAppDataStreamsBuilder_; /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public java.util.List getAndroidAppDataStreamsList() { + public java.util.List + getAndroidAppDataStreamsList() { if (androidAppDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(androidAppDataStreams_); } else { @@ -603,11 +690,15 @@ public java.util.List g } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public int getAndroidAppDataStreamsCount() { if (androidAppDataStreamsBuilder_ == null) { @@ -617,13 +708,18 @@ public int getAndroidAppDataStreamsCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams( + int index) { if (androidAppDataStreamsBuilder_ == null) { return androidAppDataStreams_.get(index); } else { @@ -631,11 +727,15 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppData } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder setAndroidAppDataStreams( int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { @@ -652,14 +752,19 @@ public Builder setAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder setAndroidAppDataStreams( - int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); androidAppDataStreams_.set(index, builderForValue.build()); @@ -670,13 +775,18 @@ public Builder setAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public Builder addAndroidAppDataStreams(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder addAndroidAppDataStreams( + com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +800,15 @@ public Builder addAndroidAppDataStreams(com.google.analytics.admin.v1alpha.Andro return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder addAndroidAppDataStreams( int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { @@ -711,11 +825,15 @@ public Builder addAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder addAndroidAppDataStreams( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -729,14 +847,19 @@ public Builder addAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder addAndroidAppDataStreams( - int index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); androidAppDataStreams_.add(index, builderForValue.build()); @@ -747,18 +870,22 @@ public Builder addAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder addAllAndroidAppDataStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (androidAppDataStreamsBuilder_ == null) { ensureAndroidAppDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, androidAppDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, androidAppDataStreams_); onChanged(); } else { androidAppDataStreamsBuilder_.addAllMessages(values); @@ -766,11 +893,15 @@ public Builder addAllAndroidAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder clearAndroidAppDataStreams() { if (androidAppDataStreamsBuilder_ == null) { @@ -783,11 +914,15 @@ public Builder clearAndroidAppDataStreams() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ public Builder removeAndroidAppDataStreams(int index) { if (androidAppDataStreamsBuilder_ == null) { @@ -800,39 +935,53 @@ public Builder removeAndroidAppDataStreams(int index) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder + getAndroidAppDataStreamsBuilder(int index) { return getAndroidAppDataStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamsOrBuilder(int index) { if (androidAppDataStreamsBuilder_ == null) { - return androidAppDataStreams_.get(index); } else { + return androidAppDataStreams_.get(index); + } else { return androidAppDataStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public java.util.List - getAndroidAppDataStreamsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + getAndroidAppDataStreamsOrBuilderList() { if (androidAppDataStreamsBuilder_ != null) { return androidAppDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -840,45 +989,65 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndro } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder addAndroidAppDataStreamsBuilder() { - return getAndroidAppDataStreamsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder + addAndroidAppDataStreamsBuilder() { + return getAndroidAppDataStreamsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder addAndroidAppDataStreamsBuilder( - int index) { - return getAndroidAppDataStreamsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder + addAndroidAppDataStreamsBuilder(int index) { + return getAndroidAppDataStreamsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - public java.util.List - getAndroidAppDataStreamsBuilderList() { + public java.util.List + getAndroidAppDataStreamsBuilderList() { return getAndroidAppDataStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamsFieldBuilder() { if (androidAppDataStreamsBuilder_ == null) { - androidAppDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + androidAppDataStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( androidAppDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,19 +1059,21 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder addAndroi 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; @@ -911,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 { @@ -933,64 +1105,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1179,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse(); } - public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAndroidAppDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAndroidAppDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAndroidAppDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAndroidAppDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1216,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java index 1530ab32..1fbdc3b8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAndroidAppDataStreamsResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAndroidAppDataStreamsResponseOrBuilder extends +public interface ListAndroidAppDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - java.util.List + java.util.List getAndroidAppDataStreamsList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStreams(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ int getAndroidAppDataStreamsCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - java.util.List + java.util.List getAndroidAppDataStreamsOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * + * repeated .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_streams = 1; + * */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamsOrBuilder(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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java index e0da740a..b1fad686 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListConversionEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,64 +71,73 @@ private ListConversionEventsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,30 +146,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 { @@ -154,6 +182,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -161,6 +191,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -171,6 +202,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -179,6 +212,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -187,14 +221,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.
@@ -203,16 +238,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 { @@ -221,6 +255,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -256,8 +290,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_); @@ -270,19 +303,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,117 +337,127 @@ 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() @@ -424,16 +465,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,13 +487,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(); } @@ -468,7 +509,8 @@ 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); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = + new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -480,38 +522,39 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -519,7 +562,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_; onChanged(); @@ -550,7 +595,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,19 +609,23 @@ public Builder mergeFrom( 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; @@ -583,21 +634,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 { @@ -605,64 +659,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -670,6 +739,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -677,6 +747,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -684,16 +756,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -701,10 +776,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -712,6 +788,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.
@@ -720,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; @@ -735,6 +813,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -743,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 { @@ -759,6 +838,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -767,20 +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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -789,15 +872,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -806,23 +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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -832,30 +918,32 @@ 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 { - return new ListConversionEventsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversionEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,9 +955,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java index 9cc8ee2f..be1919e5 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsRequestOrBuilder extends +public interface ListConversionEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -37,11 +64,14 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java index f1e6ec2b..f79c43f2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListConversionEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListConversionEventsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversionEvents_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + conversionEvents_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.ConversionEvent.parser(), + extensionRegistry)); + break; } - conversionEvents_.add( - input.readMessage(com.google.analytics.admin.v1alpha.ConversionEvent.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -92,22 +113,27 @@ private ListConversionEventsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List conversionEvents_; /** + * + * *
    * The requested conversion events
    * 
@@ -115,10 +141,13 @@ private ListConversionEventsResponse( * 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
    * 
@@ -126,11 +155,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
    * 
@@ -142,6 +173,8 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** + * + * *
    * The requested conversion events
    * 
@@ -153,6 +186,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in return conversionEvents_.get(index); } /** + * + * *
    * The requested conversion events
    * 
@@ -168,12 +203,15 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +220,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +281,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_); @@ -257,17 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +327,127 @@ 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() @@ -409,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConversionEventsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +481,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(); } @@ -456,7 +503,8 @@ 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); int from_bitField0_ = bitField0_; if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +524,50 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,9 +586,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_); } @@ -565,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +629,38 @@ public Builder mergeFrom( } 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 { @@ -603,6 +668,8 @@ public java.util.List getCon } } /** + * + * *
      * The requested conversion events
      * 
@@ -617,6 +684,8 @@ public int getConversionEventsCount() { } } /** + * + * *
      * The requested conversion events
      * 
@@ -631,6 +700,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in } } /** + * + * *
      * The requested conversion events
      * 
@@ -652,6 +723,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -670,6 +743,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -690,6 +765,8 @@ public Builder addConversionEvents(com.google.analytics.admin.v1alpha.Conversion return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -711,6 +788,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -729,6 +808,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -747,6 +828,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -757,8 +840,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); @@ -766,6 +848,8 @@ public Builder addAllConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -783,6 +867,8 @@ public Builder clearConversionEvents() { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -800,6 +886,8 @@ public Builder removeConversionEvents(int index) { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -811,6 +899,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested conversion events
      * 
@@ -820,19 +910,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 { @@ -840,6 +933,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
      * The requested conversion events
      * 
@@ -847,10 +942,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
      * 
@@ -859,26 +956,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(), @@ -890,19 +996,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; @@ -911,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 { @@ -933,64 +1042,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1116,32 @@ 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 { - return new ListConversionEventsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversionEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1153,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java index 9600ab69..ac12d5f6 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsResponseOrBuilder extends +public interface ListConversionEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List - getConversionEventsList(); + java.util.List getConversionEventsList(); /** + * + * *
    * The requested conversion events
    * 
@@ -25,6 +44,8 @@ public interface ListConversionEventsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(int index); /** + * + * *
    * The requested conversion events
    * 
@@ -33,15 +54,19 @@ public interface ListConversionEventsResponseOrBuilder extends */ int getConversionEventsCount(); /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** + * + * *
    * The requested conversion events
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsO int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java index d3b76507..d43ae81a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCustomDimensionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private ListCustomDimensionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +145,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 { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +189,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +200,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -177,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -185,14 +219,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.
@@ -201,16 +236,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 { @@ -219,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -254,8 +288,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_); @@ -268,19 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,117 +335,127 @@ 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() @@ -422,16 +463,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,13 +485,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(); } @@ -466,7 +507,8 @@ 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); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = + new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -478,38 +520,39 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -517,7 +560,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_; onChanged(); @@ -548,7 +593,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,18 +607,22 @@ public Builder mergeFrom( 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; @@ -580,20 +631,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 { @@ -601,61 +655,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,6 +732,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +740,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,16 +749,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -694,10 +769,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -705,6 +781,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.
@@ -713,13 +791,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; @@ -728,6 +806,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -736,15 +816,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 { @@ -752,6 +831,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -760,20 +841,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -782,15 +865,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -799,23 +885,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,30 +911,32 @@ 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 { - return new ListCustomDimensionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomDimensionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,9 +948,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java index 5902d9db..1ba10b17 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsRequestOrBuilder extends +public interface ListCustomDimensionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java index baa03cb8..a311bd1b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCustomDimensionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListCustomDimensionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customDimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customDimensions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + customDimensions_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.CustomDimension.parser(), + extensionRegistry)); + break; } - customDimensions_.add( - input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -92,22 +113,27 @@ private ListCustomDimensionsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List customDimensions_; /** + * + * *
    * List of CustomDimensions.
    * 
@@ -115,10 +141,13 @@ private ListCustomDimensionsResponse( * 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.
    * 
@@ -126,11 +155,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.
    * 
@@ -142,6 +173,8 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -153,6 +186,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in return customDimensions_.get(index); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -168,12 +203,15 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +220,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +281,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_); @@ -257,17 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +327,127 @@ 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() @@ -409,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCustomDimensionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +481,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(); } @@ -456,7 +503,8 @@ 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); int from_bitField0_ = bitField0_; if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +524,50 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,9 +586,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_); } @@ -565,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +629,38 @@ public Builder mergeFrom( } 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 { @@ -603,6 +668,8 @@ public java.util.List getCus } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -617,6 +684,8 @@ public int getCustomDimensionsCount() { } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -631,6 +700,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -652,6 +723,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -670,6 +743,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -690,6 +765,8 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1alpha.CustomDime return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -711,6 +788,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -729,6 +808,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -747,6 +828,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -757,8 +840,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); @@ -766,6 +848,8 @@ public Builder addAllCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -783,6 +867,8 @@ public Builder clearCustomDimensions() { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -800,6 +886,8 @@ public Builder removeCustomDimensions(int index) { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -811,6 +899,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -820,19 +910,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 { @@ -840,6 +933,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -847,10 +942,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.
      * 
@@ -859,26 +956,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(), @@ -890,19 +996,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; @@ -911,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 { @@ -933,64 +1042,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1116,32 @@ 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 { - return new ListCustomDimensionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomDimensionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1153,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java index ff2551bf..efb6ff0e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsResponseOrBuilder extends +public interface ListCustomDimensionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List - getCustomDimensionsList(); + java.util.List getCustomDimensionsList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(int index); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -33,15 +54,19 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ int getCustomDimensionsCount(); /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsO int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java index b8e3c54d..e2f267c4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCustomMetricsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private ListCustomMetricsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +145,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 { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +189,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +200,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -177,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -185,14 +219,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.
@@ -201,16 +236,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 { @@ -219,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -254,8 +288,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_); @@ -268,19 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,117 +335,127 @@ 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() @@ -422,16 +463,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,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 @@ -466,7 +506,8 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = + new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -478,38 +519,39 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -517,7 +559,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_; onChanged(); @@ -548,7 +591,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,18 +604,22 @@ public Builder mergeFrom( 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; @@ -580,20 +628,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 { @@ -601,61 +652,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,6 +729,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +737,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,16 +746,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -694,10 +766,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -705,6 +778,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.
@@ -713,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; @@ -728,6 +803,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -736,15 +813,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 { @@ -752,6 +828,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -760,20 +838,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -782,15 +862,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -799,23 +882,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +908,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(); } @@ -839,16 +922,16 @@ 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 { - return new ListCustomMetricsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomMetricsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java index 76de44f7..6fc7b232 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsRequestOrBuilder extends +public interface ListCustomMetricsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java index 11d7f3ab..ad850f29 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCustomMetricsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListCustomMetricsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customMetrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customMetrics_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + customMetrics_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry)); + break; } - customMetrics_.add( - input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -92,22 +112,27 @@ private ListCustomMetricsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List customMetrics_; /** + * + * *
    * List of CustomMetrics.
    * 
@@ -119,6 +144,8 @@ public java.util.List getCustom return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -153,6 +184,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde return customMetrics_.get(index); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -168,12 +201,15 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +279,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_); @@ -257,17 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +325,127 @@ 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() @@ -409,17 +453,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCustomMetricsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +479,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(); } @@ -456,7 +501,8 @@ 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); int from_bitField0_ = bitField0_; if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +522,39 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -515,7 +562,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()) { @@ -534,9 +583,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_); } @@ -565,7 +615,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +625,30 @@ public Builder mergeFrom( } 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.
      * 
@@ -603,6 +663,8 @@ public java.util.List getCustom } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -617,6 +679,8 @@ public int getCustomMetricsCount() { } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -631,6 +695,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -652,6 +718,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -670,6 +738,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -690,6 +760,8 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -711,6 +783,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -729,6 +803,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -747,6 +823,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -757,8 +835,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); @@ -766,6 +843,8 @@ public Builder addAllCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -783,6 +862,8 @@ public Builder clearCustomMetrics() { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -800,6 +881,8 @@ public Builder removeCustomMetrics(int index) { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -811,6 +894,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB return getCustomMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -820,19 +905,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 { @@ -840,6 +928,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -847,10 +937,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.
      * 
@@ -859,26 +951,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(), @@ -890,19 +990,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; @@ -911,21 +1013,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 { @@ -933,64 +1036,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1110,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(); } @@ -1014,16 +1125,16 @@ 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 { - return new ListCustomMetricsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomMetricsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1149,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java index e8860cae..e50c688f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsResponseOrBuilder extends +public interface ListCustomMetricsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List - getCustomMetricsList(); + java.util.List getCustomMetricsList(); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomMetricsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int index); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -33,43 +54,51 @@ public interface ListCustomMetricsResponseOrBuilder extends */ int getCustomMetricsCount(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java index d8aedb89..761c115e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} */ -public final class ListDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) ListDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsRequest.newBuilder() to construct. private ListDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private ListDataStreamsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +145,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 { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +189,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +200,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -177,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -185,14 +219,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.
@@ -201,16 +236,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 { @@ -219,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -254,8 +288,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_); @@ -268,19 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,117 +335,127 @@ 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() @@ -422,16 +463,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,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 @@ -466,7 +506,8 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = + new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -478,38 +519,39 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -517,7 +559,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_; onChanged(); @@ -548,7 +591,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,18 +604,22 @@ public Builder mergeFrom( 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; @@ -580,20 +628,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 { @@ -601,61 +652,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,6 +729,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +737,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,16 +746,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -694,10 +766,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -705,6 +778,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.
@@ -713,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; @@ -728,6 +803,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -736,15 +813,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 { @@ -752,6 +828,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -760,20 +838,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -782,15 +862,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -799,23 +882,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +908,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(); } @@ -839,16 +922,16 @@ 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 { - return new ListDataStreamsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java index 2f629aed..f4b3eead 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsRequestOrBuilder extends +public interface ListDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java index 9a73ce1d..f8a1dacd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} */ -public final class ListDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) ListDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsResponse.newBuilder() to construct. private ListDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsResponse() { dataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListDataStreamsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dataStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dataStreams_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dataStreams_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry)); + break; } - dataStreams_.add( - input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); @@ -92,22 +112,27 @@ private ListDataStreamsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List dataStreams_; /** + * + * *
    * List of DataStreams.
    * 
@@ -119,6 +144,8 @@ public java.util.List getDataStre return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** + * + * *
    * List of DataStreams.
    * 
@@ -153,6 +184,8 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** + * + * *
    * List of DataStreams.
    * 
@@ -160,20 +193,22 @@ 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +217,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +278,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_); @@ -257,17 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +324,127 @@ 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() @@ -409,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDataStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,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 @@ -456,7 +499,8 @@ 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); int from_bitField0_ = bitField0_; if (dataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +520,39 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -515,7 +560,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()) { @@ -534,9 +580,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_); } @@ -565,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +622,29 @@ public Builder mergeFrom( } 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.
      * 
@@ -603,6 +659,8 @@ public java.util.List getDataStre } } /** + * + * *
      * List of DataStreams.
      * 
@@ -617,6 +675,8 @@ public int getDataStreamsCount() { } } /** + * + * *
      * List of DataStreams.
      * 
@@ -631,14 +691,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(); @@ -652,6 +713,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -670,6 +733,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -690,14 +755,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(); @@ -711,6 +777,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -729,6 +797,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -747,6 +817,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -757,8 +829,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); @@ -766,6 +837,8 @@ public Builder addAllDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -783,6 +856,8 @@ public Builder clearDataStreams() { return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -800,17 +875,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.
      * 
@@ -820,19 +898,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 { @@ -840,6 +921,8 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu } } /** + * + * *
      * List of DataStreams.
      * 
@@ -847,42 +930,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_; @@ -890,19 +979,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; @@ -911,21 +1002,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 { @@ -933,64 +1025,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1099,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(); } @@ -1014,16 +1113,16 @@ 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 { - return new ListDataStreamsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1137,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java index d2b8f8a0..57bc69f3 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsResponseOrBuilder extends +public interface ListDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List - getDataStreamsList(); + java.util.List getDataStreamsList(); /** + * + * *
    * List of DataStreams.
    * 
@@ -25,6 +44,8 @@ public interface ListDataStreamsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index); /** + * + * *
    * List of DataStreams.
    * 
@@ -33,43 +54,51 @@ public interface ListDataStreamsResponseOrBuilder extends */ int getDataStreamsCount(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List + java.util.List getDataStreamsOrBuilderList(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java index b54412a3..7cfe276e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinkProposalsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinkProposalsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +47,15 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDisplayVideo360AdvertiserLinkProposalsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +74,74 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +150,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 { @@ -152,6 +185,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -179,6 +217,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -187,14 +226,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
@@ -205,16 +245,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 { @@ -223,6 +262,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -258,8 +297,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_); @@ -272,19 +310,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,135 +345,156 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,19 +508,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); } @@ -469,8 +532,11 @@ 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); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest( + this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +548,55 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkPropo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -548,11 +623,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,18 +642,22 @@ public Builder mergeFrom( 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; @@ -584,20 +666,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 { @@ -605,61 +690,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -667,6 +767,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -674,6 +775,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -681,16 +784,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -698,10 +804,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +816,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -719,13 +828,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; @@ -734,6 +843,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -744,15 +855,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 { @@ -760,6 +870,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -770,20 +882,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -794,15 +908,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -813,23 +930,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,44 +956,52 @@ 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 { - return new ListDisplayVideo360AdvertiserLinkProposalsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinkProposalsRequest( + input, extensionRegistry); + } + }; - 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java index 967db0f3..6710652a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -50,10 +80,13 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -64,8 +97,8 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java index 2326688c..a86bc06e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinkProposalsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinkProposalsResponse() { displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +47,15 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDisplayVideo360AdvertiserLinkProposalsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,125 +75,165 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + displayVideo360AdvertiserLinkProposals_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>(); + mutable_bitField0_ |= 0x00000001; + } + displayVideo360AdvertiserLinkProposals_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .parser(), + extensionRegistry)); + break; } - displayVideo360AdvertiserLinkProposals_.add( - input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = + java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; - 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +242,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +274,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinkProposals_.get(i)); } @@ -243,8 +303,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_); @@ -257,17 +318,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +353,170 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDisplayVideo360AdvertiserLinkProposalsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +532,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); } @@ -455,17 +556,22 @@ 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); int from_bitField0_ = bitField0_; 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(); } result.nextPageToken_ = nextPageToken_; onBuilt(); @@ -476,46 +582,55 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkPropo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -523,7 +638,8 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360A bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.addAll(other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_.addAll( + other.displayVideo360AdvertiserLinkProposals_); } onChanged(); } @@ -534,11 +650,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_); } } } @@ -561,11 +679,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +695,41 @@ public Builder mergeFrom( } 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 { @@ -603,11 +737,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) { @@ -617,13 +755,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 { @@ -631,11 +774,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) { @@ -652,14 +799,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()); @@ -670,13 +823,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(); @@ -690,11 +848,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) { @@ -711,14 +873,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()); @@ -729,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 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()); @@ -747,14 +920,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( @@ -766,11 +945,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) { @@ -783,11 +966,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) { @@ -800,39 +987,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 { @@ -840,45 +1042,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(), @@ -890,19 +1117,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; @@ -911,21 +1140,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 { @@ -933,64 +1163,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,44 +1237,54 @@ 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 { - return new ListDisplayVideo360AdvertiserLinkProposalsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinkProposalsResponse( + input, extensionRegistry); + } + }; - 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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java new file mode 100644 index 00000000..bc2b9f9a --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java @@ -0,0 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsList(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposals(int index); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + int getDisplayVideo360AdvertiserLinkProposalsCount(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + java.util.List< + ? extends + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java index e8b64e2b..f6e338d9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ -public final class ListDisplayVideo360AdvertiserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinksRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) ListDisplayVideo360AdvertiserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private ListDisplayVideo360AdvertiserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDisplayVideo360AdvertiserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +73,73 @@ private ListDisplayVideo360AdvertiserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +148,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 { @@ -152,6 +183,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +192,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +203,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -178,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -186,14 +223,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.
@@ -203,16 +241,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 { @@ -221,6 +258,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -256,8 +293,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_); @@ -270,19 +306,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,135 +340,152 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,19 +499,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); } @@ -467,8 +522,10 @@ 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); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -480,46 +537,52 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -546,11 +609,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,18 +628,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,20 +652,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 { @@ -603,61 +676,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -665,6 +753,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -672,6 +761,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -679,16 +770,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -696,10 +790,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -707,6 +802,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.
@@ -716,13 +813,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; @@ -731,6 +828,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -740,15 +839,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 { @@ -756,6 +854,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -765,20 +865,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -788,15 +890,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -806,23 +911,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -832,30 +937,34 @@ 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 { - return new ListDisplayVideo360AdvertiserLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,9 +976,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java index d782e5a6..6156500d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java similarity index 59% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java index 9c102916..d1693e3b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ -public final class ListDisplayVideo360AdvertiserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinksResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) ListDisplayVideo360AdvertiserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinksResponse() { displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListDisplayVideo360AdvertiserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDisplayVideo360AdvertiserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,125 +74,162 @@ private ListDisplayVideo360AdvertiserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + displayVideo360AdvertiserLinks_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>(); + mutable_bitField0_ |= 0x00000001; + } + displayVideo360AdvertiserLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry)); + break; } - displayVideo360AdvertiserLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = + java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; - 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +238,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +270,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +299,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_); @@ -257,17 +314,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +348,154 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDisplayVideo360AdvertiserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +511,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); } @@ -455,12 +534,15 @@ 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); int from_bitField0_ = bitField0_; 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_; @@ -476,46 +558,53 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,11 +623,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_); } } } @@ -561,11 +652,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parsedMessage = null; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +668,41 @@ public Builder mergeFrom( } 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 { @@ -603,11 +710,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) { @@ -617,13 +728,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 { @@ -631,11 +747,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) { @@ -652,14 +772,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()); @@ -670,13 +795,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(); @@ -690,11 +820,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) { @@ -711,11 +845,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) { @@ -729,14 +867,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()); @@ -747,14 +890,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( @@ -766,11 +915,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) { @@ -783,11 +936,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) { @@ -800,39 +957,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 { @@ -840,45 +1011,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(), @@ -890,19 +1085,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; @@ -911,21 +1108,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 { @@ -933,64 +1131,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1205,34 @@ 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 { - return new ListDisplayVideo360AdvertiserLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDisplayVideo360AdvertiserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1244,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java index a1d80dfd..cafddafd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java @@ -1,75 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - java.util.List + java.util.List getDisplayVideo360AdvertiserLinksList(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLinks(int index); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ int getDisplayVideo360AdvertiserLinksCount(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksOrBuilderList(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinksOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 90580198..373726d9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFirebaseLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,64 +71,73 @@ private ListFirebaseLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -120,30 +146,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 { @@ -154,6 +182,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -162,6 +192,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -172,6 +203,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -180,6 +213,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -188,14 +222,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.
@@ -204,16 +239,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 { @@ -222,6 +256,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -257,8 +291,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_); @@ -271,19 +304,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,117 +338,127 @@ 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() @@ -425,16 +466,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +488,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 @@ -469,7 +509,8 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = + new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -481,38 +522,39 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -520,7 +562,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_; onChanged(); @@ -551,7 +594,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,19 +607,23 @@ public Builder mergeFrom( 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; @@ -584,21 +632,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 { @@ -606,64 +657,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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.
@@ -672,6 +738,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -679,6 +746,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.
@@ -687,16 +756,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -705,10 +777,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -716,6 +789,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.
@@ -724,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; @@ -739,6 +814,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -747,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 { @@ -763,6 +839,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -771,20 +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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -793,15 +873,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -810,23 +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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -836,12 +919,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(); } @@ -850,16 +933,16 @@ 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 { - return new ListFirebaseLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListFirebaseLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -874,6 +957,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index 763cfdd0..a8a1e7fe 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksRequestOrBuilder extends +public interface ListFirebaseLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -38,11 +65,14 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -63,8 +96,8 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java index 615f2998..3f2910d8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFirebaseLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListFirebaseLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + firebaseLinks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + firebaseLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry)); + break; } - firebaseLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.FirebaseLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -92,22 +112,27 @@ private ListFirebaseLinksResponse( makeExtensionsImmutable(); } } - 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; private java.util.List firebaseLinks_; /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -119,6 +144,8 @@ public java.util.List getFireba return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -153,6 +184,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.
    * 
@@ -168,6 +201,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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.
@@ -176,6 +211,7 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,14 +220,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.
@@ -200,16 +237,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 { @@ -218,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -247,8 +283,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_); @@ -261,17 +296,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,117 +329,127 @@ 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() @@ -413,17 +457,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFirebaseLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +483,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(); } @@ -460,7 +505,8 @@ 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); int from_bitField0_ = bitField0_; if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -480,38 +526,39 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -519,7 +566,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()) { @@ -538,9 +587,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_); } @@ -569,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,21 +629,30 @@ public Builder mergeFrom( } 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.
      * 
@@ -607,6 +667,8 @@ public java.util.List getFireba } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -621,6 +683,8 @@ public int getFirebaseLinksCount() { } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -635,6 +699,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -656,6 +722,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -674,6 +742,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -694,6 +764,8 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -715,6 +787,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -733,6 +807,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -751,6 +827,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -761,8 +839,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); @@ -770,6 +847,8 @@ public Builder addAllFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -787,6 +866,8 @@ public Builder clearFirebaseLinks() { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -804,6 +885,8 @@ public Builder removeFirebaseLinks(int index) { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -815,6 +898,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB return getFirebaseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -824,19 +909,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 { @@ -844,6 +932,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -851,10 +941,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.
      * 
@@ -863,26 +955,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(), @@ -894,6 +994,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.
@@ -902,13 +1004,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; @@ -917,6 +1019,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.
@@ -925,15 +1029,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 { @@ -941,6 +1044,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.
@@ -949,20 +1054,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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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.
@@ -971,15 +1078,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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.
@@ -988,23 +1098,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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1014,12 +1124,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(); } @@ -1028,16 +1139,16 @@ 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 { - return new ListFirebaseLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListFirebaseLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,6 +1163,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java index 722688cc..5d4f40ac 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksResponseOrBuilder extends +public interface ListFirebaseLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List - getFirebaseLinksList(); + java.util.List getFirebaseLinksList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -25,6 +44,8 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int index); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -33,25 +54,30 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ int getFirebaseLinksCount(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -60,10 +86,13 @@ com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuild
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -72,8 +101,8 @@ com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuild
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java index dc300ef0..f09a81dd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGoogleAdsLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private ListGoogleAdsLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -119,29 +145,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 { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -159,6 +189,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +200,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -177,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -185,14 +219,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.
@@ -201,16 +236,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 { @@ -219,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -254,8 +288,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_); @@ -268,19 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,117 +335,127 @@ 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() @@ -422,16 +463,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,13 +485,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(); } @@ -466,7 +507,8 @@ 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); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = + new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -478,38 +520,39 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -517,7 +560,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_; onChanged(); @@ -548,7 +593,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,18 +606,22 @@ public Builder mergeFrom( 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; @@ -580,20 +630,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 { @@ -601,61 +654,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,6 +731,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +739,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,16 +748,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -694,10 +768,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -705,6 +780,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.
@@ -713,13 +790,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; @@ -728,6 +805,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -736,15 +815,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 { @@ -752,6 +830,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -760,20 +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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -782,15 +864,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -799,23 +884,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +910,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(); } @@ -839,16 +925,16 @@ 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 { - return new ListGoogleAdsLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListGoogleAdsLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,6 +949,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java index 2baacd1c..ad692149 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksRequestOrBuilder extends +public interface ListGoogleAdsLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java index ef94c1df..51e85723 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGoogleAdsLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListGoogleAdsLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + googleAdsLinks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + googleAdsLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), + extensionRegistry)); + break; } - googleAdsLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -92,22 +113,27 @@ private ListGoogleAdsLinksResponse( makeExtensionsImmutable(); } } - 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; private java.util.List googleAdsLinks_; /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -119,6 +145,8 @@ public java.util.List getGoogl return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -126,11 +154,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.
    * 
@@ -142,6 +172,8 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -153,6 +185,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in return googleAdsLinks_.get(index); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -168,12 +202,15 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +219,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +280,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_); @@ -257,17 +293,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +326,127 @@ 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() @@ -409,17 +454,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGoogleAdsLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +480,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(); } @@ -456,7 +502,8 @@ 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); int from_bitField0_ = bitField0_; if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +523,39 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -515,7 +563,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()) { @@ -534,9 +584,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_); } @@ -565,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +627,38 @@ public Builder mergeFrom( } 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 { @@ -603,6 +666,8 @@ public java.util.List getGoogl } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -617,6 +682,8 @@ public int getGoogleAdsLinksCount() { } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -631,6 +698,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -652,6 +721,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -670,6 +741,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -690,6 +763,8 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1alpha.GoogleAdsLin return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -711,6 +786,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -729,6 +806,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -747,6 +826,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -757,8 +838,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); @@ -766,6 +846,8 @@ public Builder addAllGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -783,6 +865,8 @@ public Builder clearGoogleAdsLinks() { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -800,6 +884,8 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -811,6 +897,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -820,19 +908,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 { @@ -840,6 +931,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -847,10 +940,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.
      * 
@@ -859,26 +954,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(), @@ -890,19 +993,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; @@ -911,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 { @@ -933,64 +1039,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1113,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(); } @@ -1014,16 +1128,16 @@ 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 { - return new ListGoogleAdsLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListGoogleAdsLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java index 00d5f252..928e5d44 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksResponseOrBuilder extends +public interface ListGoogleAdsLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List - getGoogleAdsLinksList(); + java.util.List getGoogleAdsLinksList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -25,6 +44,8 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int index); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -33,43 +54,51 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ int getGoogleAdsLinksCount(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java index beed6279..8896ab66 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListIosAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest} */ -public final class ListIosAppDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIosAppDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) ListIosAppDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIosAppDataStreamsRequest.newBuilder() to construct. private ListIosAppDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIosAppDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListIosAppDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIosAppDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListIosAppDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,65 +71,74 @@ private ListIosAppDataStreamsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 @@ -121,31 +147,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 parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -163,6 +193,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -181,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +223,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 `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -205,16 +240,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 { @@ -223,6 +257,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -258,8 +292,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_); @@ -272,19 +305,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.ListIosAppDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other = + (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +339,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListIosAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.newBuilder() @@ -426,16 +467,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +489,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_ListIosAppDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance(); } @@ -470,7 +511,8 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest result = + new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +524,50 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +598,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,20 +612,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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; @@ -586,22 +638,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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 { @@ -609,67 +664,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of app streams under the property with Id
      * 123: "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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,6 +747,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -684,6 +755,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -691,16 +764,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -708,10 +784,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -719,6 +796,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -727,13 +806,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; @@ -742,6 +821,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -750,15 +831,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 { @@ -766,6 +846,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -774,20 +856,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -796,15 +880,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListIosAppDataStreams`
      * call. Provide this to retrieve the subsequent page.
@@ -813,23 +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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,30 +926,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest(); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIosAppDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIosAppDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIosAppDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListIosAppDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -874,9 +963,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java index 00fa17c9..faf69882 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListIosAppDataStreamsRequestOrBuilder extends +public interface ListIosAppDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to list results of app streams under the property with Id
    * 123: "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.
@@ -39,11 +66,14 @@ public interface ListIosAppDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListIosAppDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListIosAppDataStreams`
    * call. Provide this to retrieve the subsequent page.
@@ -64,8 +97,8 @@ public interface ListIosAppDataStreamsRequestOrBuilder 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java index 5a245041..21fd88de 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListIosAppDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse} */ -public final class ListIosAppDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIosAppDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) ListIosAppDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIosAppDataStreamsResponse.newBuilder() to construct. private ListIosAppDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIosAppDataStreamsResponse() { iosAppDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListIosAppDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIosAppDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListIosAppDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListIosAppDataStreamsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - iosAppDataStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + iosAppDataStreams_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + iosAppDataStreams_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), + extensionRegistry)); + break; } - iosAppDataStreams_.add( - input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { iosAppDataStreams_ = java.util.Collections.unmodifiableList(iosAppDataStreams_); @@ -92,72 +113,91 @@ private ListIosAppDataStreamsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); } public static final int IOS_APP_DATA_STREAMS_FIELD_NUMBER = 1; private java.util.List iosAppDataStreams_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ @java.lang.Override - public java.util.List getIosAppDataStreamsList() { + public java.util.List + getIosAppDataStreamsList() { return iosAppDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getIosAppDataStreamsOrBuilderList() { return iosAppDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ @java.lang.Override public int getIosAppDataStreamsCount() { return iosAppDataStreams_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index) { return iosAppDataStreams_.get(index); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( @@ -168,12 +208,15 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +225,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < iosAppDataStreams_.size(); i++) { output.writeMessage(1, iosAppDataStreams_.get(i)); } @@ -243,8 +286,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < iosAppDataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, iosAppDataStreams_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, iosAppDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +300,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.ListIosAppDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other = + (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) obj; - if (!getIosAppDataStreamsList() - .equals(other.getIosAppDataStreamsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getIosAppDataStreamsList().equals(other.getIosAppDataStreamsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +333,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListIosAppDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.newBuilder() @@ -409,17 +461,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIosAppDataStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +487,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_ListIosAppDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListIosAppDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance(); } @@ -456,7 +509,8 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse result = + new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (iosAppDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +530,50 @@ public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse.getDefaultInstance()) + return this; if (iosAppDataStreamsBuilder_ == null) { if (!other.iosAppDataStreams_.isEmpty()) { if (iosAppDataStreams_.isEmpty()) { @@ -534,9 +592,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListIosAppDataStream iosAppDataStreamsBuilder_ = null; iosAppDataStreams_ = other.iosAppDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - iosAppDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIosAppDataStreamsFieldBuilder() : null; + iosAppDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIosAppDataStreamsFieldBuilder() + : null; } else { iosAppDataStreamsBuilder_.addAllMessages(other.iosAppDataStreams_); } @@ -565,7 +624,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +635,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List iosAppDataStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIosAppDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - iosAppDataStreams_ = new java.util.ArrayList(iosAppDataStreams_); + iosAppDataStreams_ = + new java.util.ArrayList( + iosAppDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + iosAppDataStreamsBuilder_; /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - public java.util.List getIosAppDataStreamsList() { + public java.util.List + getIosAppDataStreamsList() { if (iosAppDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(iosAppDataStreams_); } else { @@ -603,11 +675,14 @@ public java.util.List getIo } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public int getIosAppDataStreamsCount() { if (iosAppDataStreamsBuilder_ == null) { @@ -617,11 +692,14 @@ public int getIosAppDataStreamsCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index) { if (iosAppDataStreamsBuilder_ == null) { @@ -631,11 +709,14 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams( } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder setIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream value) { @@ -652,11 +733,14 @@ public Builder setIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder setIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -670,11 +754,14 @@ public Builder setIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder addIosAppDataStreams(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamsBuilder_ == null) { @@ -690,11 +777,14 @@ public Builder addIosAppDataStreams(com.google.analytics.admin.v1alpha.IosAppDat return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder addIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream value) { @@ -711,11 +801,14 @@ public Builder addIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder addIosAppDataStreams( com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -729,11 +822,14 @@ public Builder addIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder addIosAppDataStreams( int index, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -747,18 +843,20 @@ public Builder addIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder addAllIosAppDataStreams( java.lang.Iterable values) { if (iosAppDataStreamsBuilder_ == null) { ensureIosAppDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, iosAppDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iosAppDataStreams_); onChanged(); } else { iosAppDataStreamsBuilder_.addAllMessages(values); @@ -766,11 +864,14 @@ public Builder addAllIosAppDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder clearIosAppDataStreams() { if (iosAppDataStreamsBuilder_ == null) { @@ -783,11 +884,14 @@ public Builder clearIosAppDataStreams() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public Builder removeIosAppDataStreams(int index) { if (iosAppDataStreamsBuilder_ == null) { @@ -800,39 +904,49 @@ public Builder removeIosAppDataStreams(int index) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamsBuilder( int index) { return getIosAppDataStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder + getIosAppDataStreamsOrBuilder(int index) { if (iosAppDataStreamsBuilder_ == null) { - return iosAppDataStreams_.get(index); } else { + return iosAppDataStreams_.get(index); + } else { return iosAppDataStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - public java.util.List - getIosAppDataStreamsOrBuilderList() { + public java.util.List + getIosAppDataStreamsOrBuilderList() { if (iosAppDataStreamsBuilder_ != null) { return iosAppDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -840,45 +954,62 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppDataStreamsBuilder() { - return getIosAppDataStreamsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder + addIosAppDataStreamsBuilder() { + return getIosAppDataStreamsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppDataStreamsBuilder( int index) { - return getIosAppDataStreamsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); + return getIosAppDataStreamsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - public java.util.List - getIosAppDataStreamsBuilderList() { + public java.util.List + getIosAppDataStreamsBuilderList() { return getIosAppDataStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamsFieldBuilder() { if (iosAppDataStreamsBuilder_ == null) { - iosAppDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + iosAppDataStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( iosAppDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,19 +1021,21 @@ public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder addIosAppData 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; @@ -911,21 +1044,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 { @@ -933,64 +1067,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1141,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse(); } - public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIosAppDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIosAppDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIosAppDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListIosAppDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1178,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java index 24e8180f..a543349c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListIosAppDataStreamsResponseOrBuilder.java @@ -1,75 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListIosAppDataStreamsResponseOrBuilder extends +public interface ListIosAppDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - java.util.List - getIosAppDataStreamsList(); + java.util.List getIosAppDataStreamsList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStreams(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ int getIosAppDataStreamsCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ - java.util.List + java.util.List getIosAppDataStreamsOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * repeated .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_streams = 1; + * */ com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamsOrBuilder( 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java index 34c66b18..240aa85b 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMeasurementProtocolSecretsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,58 +73,64 @@ private ListMeasurementProtocolSecretsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the parent stream.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -114,7 +139,10 @@ private ListMeasurementProtocolSecretsRequest(
    * properties/{property}/webDataStreams/{webDataStream}/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 @@ -123,14 +151,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 resource name of the parent stream.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -139,17 +168,18 @@ public java.lang.String getParent() {
    * properties/{property}/webDataStreams/{webDataStream}/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 { @@ -160,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -167,6 +199,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -177,6 +210,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -185,6 +220,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -193,14 +229,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
@@ -209,16 +246,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 { @@ -227,6 +263,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -262,8 +298,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_); @@ -276,19 +311,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -312,134 +346,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,19 +499,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); } @@ -474,7 +523,8 @@ 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); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = + new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -486,46 +536,52 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -556,7 +612,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -568,6 +626,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -576,14 +636,16 @@ public Builder mergeFrom(
      * properties/{property}/webDataStreams/{webDataStream}/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; @@ -592,6 +654,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -600,16 +664,17 @@ public java.lang.String getParent() {
      * properties/{property}/webDataStreams/{webDataStream}/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 { @@ -617,6 +682,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -625,21 +692,25 @@ public java.lang.String getParent() {
      * properties/{property}/webDataStreams/{webDataStream}/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -648,16 +719,21 @@ public Builder setParent(
      * properties/{property}/webDataStreams/{webDataStream}/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -666,24 +742,28 @@ public Builder clearParent() {
      * properties/{property}/webDataStreams/{webDataStream}/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -691,6 +771,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -698,6 +779,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -705,16 +788,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -722,10 +808,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -733,6 +820,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
@@ -741,13 +830,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; @@ -756,6 +845,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
@@ -764,15 +855,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 { @@ -780,6 +870,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
@@ -788,20 +880,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -810,15 +904,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -827,23 +924,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,30 +950,33 @@ 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 { - return new ListMeasurementProtocolSecretsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListMeasurementProtocolSecretsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,9 +988,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java index 1cc73982..0e40a364 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface 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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -16,11 +34,16 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * properties/{property}/webDataStreams/{webDataStream}/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.
    * Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
@@ -29,13 +52,17 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * properties/{property}/webDataStreams/{webDataStream}/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.
@@ -43,11 +70,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
@@ -56,10 +86,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
@@ -68,8 +101,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java index 7d2e5e9e..bea30ac2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMeasurementProtocolSecretsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,125 +74,162 @@ private ListMeasurementProtocolSecretsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + measurementProtocolSecrets_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>(); + mutable_bitField0_ |= 0x00000001; + } + measurementProtocolSecrets_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), + extensionRegistry)); + break; } - measurementProtocolSecrets_.add( - input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = + java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; - 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +238,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +270,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +299,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_); @@ -257,17 +314,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,135 +349,148 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMeasurementProtocolSecretsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +506,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); } @@ -455,12 +529,15 @@ 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); int from_bitField0_ = bitField0_; 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_; @@ -476,46 +553,52 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,9 +617,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_); } @@ -561,11 +645,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parsedMessage = null; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +661,40 @@ public Builder mergeFrom( } 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 { @@ -603,11 +702,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) { @@ -617,13 +720,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 { @@ -631,11 +739,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) { @@ -652,14 +764,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()); @@ -670,13 +787,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(); @@ -690,11 +812,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) { @@ -711,11 +837,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) { @@ -729,14 +859,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()); @@ -747,18 +882,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); @@ -766,11 +905,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) { @@ -783,11 +926,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) { @@ -800,39 +947,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 { @@ -840,45 +1001,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(), @@ -890,19 +1073,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; @@ -911,21 +1096,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 { @@ -933,64 +1119,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1193,33 @@ 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 { - return new ListMeasurementProtocolSecretsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListMeasurementProtocolSecretsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1231,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java index 7a76e944..32a7b109 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListMeasurementProtocolSecretsResponseOrBuilder extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( + int index); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ int getMeasurementProtocolSecretsCount(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java similarity index 77% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java index a65b294d..60b98ecb 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) ListPropertiesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPropertiesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,69 @@ private ListPropertiesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 32: { + filter_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - showDeleted_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 32: + { + showDeleted_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object filter_; /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -127,6 +150,7 @@ private ListPropertiesRequest(
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -135,14 +159,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:
@@ -159,16 +184,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 { @@ -179,6 +203,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -187,6 +213,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -197,6 +224,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -205,6 +234,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -213,14 +243,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.
@@ -229,16 +260,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 { @@ -249,6 +279,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -256,6 +288,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -264,6 +297,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -302,15 +335,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -320,21 +351,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -353,125 +381,134 @@ 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) + unknownFields.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() @@ -479,16 +516,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +540,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 @@ -525,7 +561,8 @@ public com.google.analytics.admin.v1alpha.ListPropertiesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListPropertiesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListPropertiesRequest result = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); + com.google.analytics.admin.v1alpha.ListPropertiesRequest result = + new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); result.filter_ = filter_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -538,38 +575,39 @@ public com.google.analytics.admin.v1alpha.ListPropertiesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -577,7 +615,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_; onChanged(); @@ -611,7 +650,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListPropertiesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListPropertiesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,6 +663,8 @@ public Builder mergeFrom( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -639,13 +681,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; @@ -654,6 +696,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -670,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 { @@ -686,6 +729,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -702,20 +747,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -732,15 +779,18 @@ public Builder setFilter(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -757,23 +807,25 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); 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.
@@ -782,6 +834,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -789,6 +842,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.
@@ -797,16 +852,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -815,10 +873,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -826,6 +885,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.
@@ -834,13 +895,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; @@ -849,6 +910,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -857,15 +920,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 { @@ -873,6 +935,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -881,20 +945,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -903,15 +969,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -920,23 +989,25 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); 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
@@ -944,6 +1015,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -951,6 +1023,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
@@ -958,16 +1032,19 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -975,17 +1052,18 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; onChanged(); return this; } + @java.lang.Override - 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 +1073,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(); } @@ -1009,16 +1087,16 @@ 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 { - return new ListPropertiesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPropertiesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1111,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java index d7d30e00..41b5bb6c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesRequestOrBuilder extends +public interface ListPropertiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -24,10 +42,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:
@@ -44,12 +65,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.
@@ -58,11 +81,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.
@@ -71,10 +97,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.
@@ -83,12 +112,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
@@ -96,6 +127,7 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java index af240e50..bd0a97de 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) ListPropertiesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPropertiesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListPropertiesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + properties_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry)); + break; } - properties_.add( - input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -92,22 +112,27 @@ private ListPropertiesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List properties_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -119,6 +144,8 @@ public java.util.List getProperties return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -153,6 +184,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.
    * 
@@ -160,20 +193,22 @@ 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +217,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +278,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_); @@ -257,17 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +324,127 @@ 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() @@ -409,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,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 @@ -456,7 +499,8 @@ 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); int from_bitField0_ = bitField0_; if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +520,39 @@ public com.google.analytics.admin.v1alpha.ListPropertiesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -515,7 +560,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()) { @@ -534,9 +580,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_); } @@ -565,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListPropertiesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListPropertiesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +622,29 @@ public Builder mergeFrom( } 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.
      * 
@@ -603,6 +659,8 @@ public java.util.List getProperties } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -617,6 +675,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -631,14 +691,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(); @@ -652,6 +713,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -670,6 +733,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -690,14 +755,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(); @@ -711,6 +777,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -729,6 +797,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -747,6 +817,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -757,8 +829,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); @@ -766,6 +837,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -783,6 +856,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -800,39 +875,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 { @@ -840,6 +920,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -847,42 +929,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_; @@ -890,19 +978,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; @@ -911,21 +1001,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -933,64 +1024,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1098,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(); } @@ -1014,16 +1112,16 @@ 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 { - return new ListPropertiesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPropertiesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java index 960eb175..6547dac4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesResponseOrBuilder extends +public interface ListPropertiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListPropertiesResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.Property getProperties(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListPropertiesResponseOrBuilder extends */ int getPropertiesCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( - int index); + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java index 0862b84b..28bfd296 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ -public final class ListUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) ListUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUserLinksRequest.newBuilder() to construct. private ListUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUserLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,72 @@ private ListUserLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -119,29 +145,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -160,6 +190,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,6 +201,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -178,6 +211,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -186,14 +220,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -202,16 +237,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 { @@ -220,6 +254,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -255,8 +289,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_); @@ -269,19 +302,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksRequest other = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListUserLinksRequest other = + (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,117 +336,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.analytics.admin.v1alpha.ListUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksRequest.newBuilder() @@ -423,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override @@ -467,7 +507,8 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksRequest result = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); + com.google.analytics.admin.v1alpha.ListUserLinksRequest result = + new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -479,38 +520,39 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -518,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -549,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListUserLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -561,18 +605,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -581,20 +629,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -602,61 +653,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -665,6 +731,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -672,6 +739,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -680,16 +749,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -698,10 +770,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +782,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -717,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; @@ -732,6 +807,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -740,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 { @@ -756,6 +832,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -764,20 +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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -786,15 +866,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -803,23 +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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) private static final com.google.analytics.admin.v1alpha.ListUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(); } @@ -843,16 +926,16 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUserLinksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUserLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java index b055d914..ab4ba325 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksRequestOrBuilder extends +public interface ListUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -36,11 +63,14 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -61,8 +94,8 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java similarity index 74% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java index ba610e9b..3641596d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ -public final class ListUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) ListUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUserLinksResponse.newBuilder() to construct. private ListUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUserLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private ListUserLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + userLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + userLinks_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); + break; } - userLinks_.add( - input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -92,22 +111,27 @@ private ListUserLinksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; private java.util.List userLinks_; /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -119,6 +143,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -126,11 +152,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -142,6 +170,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -153,6 +183,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -160,20 +192,22 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +216,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -243,8 +277,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +290,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksResponse other = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListUserLinksResponse other = + (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +323,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.analytics.admin.v1alpha.ListUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksResponse.newBuilder() @@ -409,17 +451,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUserLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,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_ListUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override @@ -456,7 +498,8 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksResponse result = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); + com.google.analytics.admin.v1alpha.ListUserLinksResponse result = + new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); int from_bitField0_ = bitField0_; if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +519,39 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -534,9 +579,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRespons userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -565,7 +611,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListUserLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +621,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -603,6 +658,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -617,6 +674,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -631,14 +690,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -652,6 +712,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -670,6 +732,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -690,14 +754,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,6 +776,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -729,6 +796,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -747,6 +816,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -757,8 +828,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -766,6 +836,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -783,6 +855,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -800,39 +874,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +919,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -847,42 +928,48 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; @@ -890,19 +977,21 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -911,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -933,64 +1023,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) private static final com.google.analytics.admin.v1alpha.ListUserLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(); } @@ -1014,16 +1111,16 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUserLinksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUserLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java index c05f6f2d..b7967bc7 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksResponseOrBuilder extends +public interface ListUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -25,6 +44,8 @@ public interface ListUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -33,43 +54,51 @@ public interface ListUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java index 57269f7b..8907d42d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListWebDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsRequest} */ -public final class ListWebDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWebDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) ListWebDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWebDataStreamsRequest.newBuilder() to construct. private ListWebDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWebDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListWebDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWebDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWebDataStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,65 +71,74 @@ private ListWebDataStreamsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 @@ -121,31 +147,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 parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -163,6 +193,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -181,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +223,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 `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +240,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 { @@ -223,6 +257,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -258,8 +292,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_); @@ -272,19 +305,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.ListWebDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other = + (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +339,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListWebDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) com.google.analytics.admin.v1alpha.ListWebDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.newBuilder() @@ -426,16 +467,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +489,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_ListWebDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance(); } @@ -470,7 +511,8 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(this); + com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest result = + new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,38 +524,39 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) other); } else { super.mergeFrom(other); return this; @@ -521,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +597,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,20 +610,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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; @@ -586,22 +636,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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 { @@ -609,67 +662,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent property.
      * For example, to list results of web streams under the property with Id
      * 123: "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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,6 +745,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -684,6 +753,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -691,16 +762,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -708,10 +782,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -719,6 +794,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -727,13 +804,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -742,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -750,15 +829,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -766,6 +844,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -774,20 +854,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -796,15 +878,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListWebDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -813,23 +898,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +924,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) - private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest(); } @@ -853,16 +939,16 @@ public static com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWebDataStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWebDataStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWebDataStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWebDataStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -877,6 +963,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListWebDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java index 0dde3871..57370f45 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListWebDataStreamsRequestOrBuilder extends +public interface ListWebDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListWebDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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 name of the parent property.
    * For example, to list results of web streams under the property with Id
    * 123: "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.
@@ -39,11 +66,14 @@ public interface ListWebDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListWebDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListWebDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -64,8 +97,8 @@ public interface ListWebDataStreamsRequestOrBuilder 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java similarity index 75% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java index d24ddc11..29b9fccb 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListWebDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsResponse} */ -public final class ListWebDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWebDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) ListWebDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWebDataStreamsResponse.newBuilder() to construct. private ListWebDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWebDataStreamsResponse() { webDataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListWebDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWebDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWebDataStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private ListWebDataStreamsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - webDataStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + webDataStreams_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + webDataStreams_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.WebDataStream.parser(), + extensionRegistry)); + break; } - webDataStreams_.add( - input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { webDataStreams_ = java.util.Collections.unmodifiableList(webDataStreams_); @@ -92,22 +113,27 @@ private ListWebDataStreamsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); } public static final int WEB_DATA_STREAMS_FIELD_NUMBER = 1; private java.util.List webDataStreams_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -119,6 +145,8 @@ public java.util.List getWebDa return webDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -126,11 +154,13 @@ public java.util.List getWebDa * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWebDataStreamsOrBuilderList() { return webDataStreams_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -142,6 +172,8 @@ public int getWebDataStreamsCount() { return webDataStreams_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -153,6 +185,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int in return webDataStreams_.get(index); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -168,12 +202,15 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +219,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < webDataStreams_.size(); i++) { output.writeMessage(1, webDataStreams_.get(i)); } @@ -243,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < webDataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, webDataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, webDataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +293,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.ListWebDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other = + (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) obj; - if (!getWebDataStreamsList() - .equals(other.getWebDataStreamsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getWebDataStreamsList().equals(other.getWebDataStreamsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +326,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListWebDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListWebDataStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) com.google.analytics.admin.v1alpha.ListWebDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.newBuilder() @@ -409,17 +454,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWebDataStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +480,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_ListWebDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListWebDataStreamsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance(); } @@ -456,7 +502,8 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse result = + new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(this); int from_bitField0_ = bitField0_; if (webDataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +523,39 @@ public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse.getDefaultInstance()) + return this; if (webDataStreamsBuilder_ == null) { if (!other.webDataStreams_.isEmpty()) { if (webDataStreams_.isEmpty()) { @@ -534,9 +584,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListWebDataStreamsRe webDataStreamsBuilder_ = null; webDataStreams_ = other.webDataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - webDataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWebDataStreamsFieldBuilder() : null; + webDataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWebDataStreamsFieldBuilder() + : null; } else { webDataStreamsBuilder_.addAllMessages(other.webDataStreams_); } @@ -565,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +627,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List webDataStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWebDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - webDataStreams_ = new java.util.ArrayList(webDataStreams_); + webDataStreams_ = + new java.util.ArrayList( + webDataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamsBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + webDataStreamsBuilder_; /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List getWebDataStreamsList() { + public java.util.List + getWebDataStreamsList() { if (webDataStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(webDataStreams_); } else { @@ -603,6 +666,8 @@ public java.util.List getWebDa } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -617,6 +682,8 @@ public int getWebDataStreamsCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -631,6 +698,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int in } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -652,6 +721,8 @@ public Builder setWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -670,6 +741,8 @@ public Builder setWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -690,6 +763,8 @@ public Builder addWebDataStreams(com.google.analytics.admin.v1alpha.WebDataStrea return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -711,6 +786,8 @@ public Builder addWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -729,6 +806,8 @@ public Builder addWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -747,6 +826,8 @@ public Builder addWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -757,8 +838,7 @@ public Builder addAllWebDataStreams( java.lang.Iterable values) { if (webDataStreamsBuilder_ == null) { ensureWebDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, webDataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webDataStreams_); onChanged(); } else { webDataStreamsBuilder_.addAllMessages(values); @@ -766,6 +846,8 @@ public Builder addAllWebDataStreams( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -783,6 +865,8 @@ public Builder clearWebDataStreams() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -800,6 +884,8 @@ public Builder removeWebDataStreams(int index) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -811,6 +897,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream return getWebDataStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -820,19 +908,22 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStream public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder( int index) { if (webDataStreamsBuilder_ == null) { - return webDataStreams_.get(index); } else { + return webDataStreams_.get(index); + } else { return webDataStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List - getWebDataStreamsOrBuilderList() { + public java.util.List + getWebDataStreamsOrBuilderList() { if (webDataStreamsBuilder_ != null) { return webDataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +931,8 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -847,10 +940,12 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStreamsBuilder() { - return getWebDataStreamsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); + return getWebDataStreamsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -859,26 +954,34 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStream */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStreamsBuilder( int index) { - return getWebDataStreamsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); + return getWebDataStreamsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - public java.util.List - getWebDataStreamsBuilderList() { + public java.util.List + getWebDataStreamsBuilderList() { return getWebDataStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamsFieldBuilder() { if (webDataStreamsBuilder_ == null) { - webDataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + webDataStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( webDataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,19 +993,21 @@ public com.google.analytics.admin.v1alpha.WebDataStream.Builder addWebDataStream 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; @@ -911,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 { @@ -933,64 +1039,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1113,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) - private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse(); } @@ -1014,16 +1128,16 @@ public static com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWebDataStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWebDataStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWebDataStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWebDataStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListWebDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java index 03bf2d11..96ce2ee4 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListWebDataStreamsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListWebDataStreamsResponseOrBuilder extends +public interface ListWebDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListWebDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - java.util.List - getWebDataStreamsList(); + java.util.List getWebDataStreamsList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListWebDataStreamsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStreams(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListWebDataStreamsResponseOrBuilder extends */ int getWebDataStreamsCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - java.util.List + java.util.List getWebDataStreamsOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.WebDataStream web_data_streams = 1; */ - com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamsOrBuilder(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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index e59bef45..da35d4db 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -27,16 +45,15 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MeasurementProtocolSecret( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,59 +72,66 @@ private MeasurementProtocolSecret( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - secretValue_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + secretValue_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -116,6 +140,7 @@ private MeasurementProtocolSecret(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -124,14 +149,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.
@@ -140,16 +166,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 { @@ -160,11 +185,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -173,29 +201,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 { @@ -206,6 +234,8 @@ public java.lang.String getDisplayName() { public static final int SECRET_VALUE_FIELD_NUMBER = 3; 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
@@ -213,6 +243,7 @@ public java.lang.String getDisplayName() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ @java.lang.Override @@ -221,14 +252,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
@@ -236,16 +268,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 { @@ -254,6 +285,7 @@ public java.lang.String getSecretValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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,19 +333,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +367,127 @@ 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() @@ -456,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +517,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(); } @@ -500,7 +539,8 @@ 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); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = + new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); result.name_ = name_; result.displayName_ = displayName_; result.secretValue_ = secretValue_; @@ -512,38 +552,39 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -551,7 +592,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_; onChanged(); @@ -583,7 +626,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -595,6 +639,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -603,13 +649,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; @@ -618,6 +664,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -626,15 +674,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 { @@ -642,6 +689,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -650,20 +699,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -672,15 +723,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -689,16 +743,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -706,18 +760,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; @@ -726,20 +782,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 { @@ -747,54 +804,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -802,6 +866,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
@@ -809,13 +875,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; @@ -824,6 +890,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
@@ -831,15 +899,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 { @@ -847,6 +914,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
@@ -854,20 +923,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) { + public Builder setSecretValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretValue_ = value; 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
@@ -875,15 +946,18 @@ public Builder setSecretValue(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSecretValue() { - + secretValue_ = getDefaultInstance().getSecretValue(); 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
@@ -891,23 +965,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) { + public Builder setSecretValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretValue_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -917,12 +991,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(); } @@ -931,16 +1006,16 @@ 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 { - return new MeasurementProtocolSecret(input, extensionRegistry); - } - }; + 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 { + return new MeasurementProtocolSecret(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index 9544c9f7..7070bc62 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface MeasurementProtocolSecretOrBuilder extends +public interface MeasurementProtocolSecretOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.MeasurementProtocolSecret) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -16,10 +34,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -28,32 +49,39 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The measurement protocol secret value. Pass this value to the api_secret
    * field of the Measurement Protocol API when sending hits to this
@@ -61,10 +89,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ java.lang.String getSecretValue(); /** + * + * *
    * Output only. The measurement protocol secret value. Pass this value to the api_secret
    * field of the Measurement Protocol API when sending hits to this
@@ -72,8 +103,8 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString - getSecretValueBytes(); + com.google.protobuf.ByteString getSecretValueBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 1453ea66..2e5680d9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ -public final class Property extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Property extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Property) PropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Property() { name_ = ""; parent_ = ""; @@ -32,16 +50,15 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Property( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,141 +77,161 @@ private Property( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + parent_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); - - industryCategory_ = rawValue; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - timeZone_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - currencyCode_ = s; - break; - } - case 80: { - int rawValue = input.readEnum(); + industryCategory_ = rawValue; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceLevel_ = rawValue; - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (deleteTime_ != null) { - subBuilder = deleteTime_.toBuilder(); + timeZone_ = s; + break; } - deleteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deleteTime_); - deleteTime_ = subBuilder.buildPartial(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + currencyCode_ = s; + break; } + case 80: + { + int rawValue = input.readEnum(); - break; - } - case 98: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); + serviceLevel_ = rawValue; + break; } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (deleteTime_ != null) { + subBuilder = deleteTime_.toBuilder(); + } + deleteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deleteTime_); + deleteTime_ = subBuilder.buildPartial(); + } + + break; } + case 98: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } + + break; + } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - account_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + account_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -202,6 +239,7 @@ private Property(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -210,14 +248,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}
@@ -225,16 +264,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 { @@ -245,11 +283,15 @@ public java.lang.String getName() { 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 @@ -257,11 +299,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 @@ -269,11 +315,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() { @@ -283,11 +332,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 @@ -295,11 +348,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 @@ -307,11 +364,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() { @@ -321,6 +381,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object parent_; /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -329,6 +391,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ @java.lang.Override @@ -337,14 +400,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -353,16 +417,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 { @@ -373,12 +436,15 @@ public java.lang.String getParent() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -387,30 +453,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -421,35 +487,48 @@ public java.lang.String getDisplayName() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.valueOf(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.valueOf(industryCategory_); + return result == null + ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED + : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; private volatile java.lang.Object timeZone_; /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -461,6 +540,7 @@ public java.lang.String getDisplayName() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -469,14 +549,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -488,16 +569,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 { @@ -508,6 +588,8 @@ public java.lang.String getTimeZone() { public static final int CURRENCY_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object currencyCode_; /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -515,6 +597,7 @@ public java.lang.String getTimeZone() {
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -523,14 +606,15 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -538,16 +622,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 { @@ -558,39 +641,56 @@ public java.lang.String getCurrencyCode() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override + public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = + com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(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 @@ -598,12 +698,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 @@ -611,12 +715,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() { @@ -626,13 +733,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 @@ -640,13 +751,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 @@ -654,13 +769,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() { @@ -670,13 +788,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int ACCOUNT_FIELD_NUMBER = 13; 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 @@ -685,31 +808,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 { @@ -718,6 +843,7 @@ public java.lang.String getAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,8 +855,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -746,7 +871,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_)) { @@ -755,7 +882,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) { @@ -783,19 +911,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_); @@ -803,17 +930,15 @@ 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_); @@ -826,47 +951,38 @@ public int getSerializedSize() { @java.lang.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -915,118 +1031,127 @@ 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() @@ -1034,16 +1159,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1091,9 +1215,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 @@ -1112,7 +1236,8 @@ public com.google.analytics.admin.v1alpha.Property build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Property buildPartial() { - com.google.analytics.admin.v1alpha.Property result = new com.google.analytics.admin.v1alpha.Property(this); + com.google.analytics.admin.v1alpha.Property result = + new com.google.analytics.admin.v1alpha.Property(this); result.name_ = name_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -1149,38 +1274,39 @@ public com.google.analytics.admin.v1alpha.Property buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -1262,6 +1388,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1269,13 +1397,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; @@ -1284,6 +1412,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1291,15 +1421,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 { @@ -1307,6 +1436,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1314,20 +1445,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1335,15 +1468,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1351,16 +1487,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1368,39 +1504,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 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 createTimeBuilder_ != null || 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. */ 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) { @@ -1416,14 +1571,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(); onChanged(); @@ -1434,17 +1592,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1456,11 +1618,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() { if (createTimeBuilder_ == null) { @@ -1474,48 +1640,64 @@ 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() { - + onChanged(); 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_; @@ -1523,39 +1705,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1571,14 +1772,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(); onChanged(); @@ -1589,17 +1793,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1611,11 +1819,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() { if (updateTimeBuilder_ == null) { @@ -1629,48 +1841,64 @@ 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() { - + onChanged(); 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_; @@ -1678,6 +1906,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1686,13 +1916,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; @@ -1701,6 +1931,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1709,15 +1941,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 { @@ -1725,6 +1956,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1733,20 +1966,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1755,15 +1990,18 @@ public Builder setParent(
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1772,16 +2010,16 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1789,19 +2027,21 @@ public Builder setParentBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1810,21 +2050,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1832,57 +2073,64 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1890,55 +2138,71 @@ 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. */ public Builder setIndustryCategoryValue(int value) { - + industryCategory_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.valueOf(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.valueOf(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. */ @@ -1946,22 +2210,25 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCa if (value == null) { throw new NullPointerException(); } - + industryCategory_ = value.getNumber(); onChanged(); 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() { - + industryCategory_ = 0; onChanged(); return this; @@ -1969,6 +2236,8 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -1980,13 +2249,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; @@ -1995,6 +2264,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2006,15 +2277,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 { @@ -2022,6 +2292,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2033,20 +2305,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) { + public Builder setTimeZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2058,15 +2332,18 @@ public Builder setTimeZone(
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
      * where the data originates. If the time zone honors DST, Analytics will
@@ -2078,16 +2355,16 @@ 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) { + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -2095,6 +2372,8 @@ public Builder setTimeZoneBytes( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2102,13 +2381,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; @@ -2117,6 +2396,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2124,15 +2405,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 { @@ -2140,6 +2420,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2147,20 +2429,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) { + public Builder setCurrencyCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2168,15 +2452,18 @@ public Builder setCurrencyCode(
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2184,16 +2471,16 @@ 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) { + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -2201,51 +2488,73 @@ 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. */ public Builder setServiceLevelValue(int value) { - + serviceLevel_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = + com.google.analytics.admin.v1alpha.ServiceLevel.valueOf(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. */ @@ -2253,21 +2562,26 @@ public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel v if (value == null) { throw new NullPointerException(); } - + serviceLevel_ = value.getNumber(); onChanged(); 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() { - + serviceLevel_ = 0; onChanged(); return this; @@ -2275,42 +2589,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 deleteTimeBuilder_ != null || 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. */ 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) { @@ -2326,15 +2659,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(); onChanged(); @@ -2345,18 +2681,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 (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -2368,12 +2708,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() { if (deleteTimeBuilder_ == null) { @@ -2387,51 +2731,67 @@ 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() { - + onChanged(); 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_; @@ -2439,45 +2799,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 expireTimeBuilder_ != null || 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. */ 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) { @@ -2493,16 +2872,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(); onChanged(); @@ -2513,19 +2895,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2537,13 +2923,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() { if (expireTimeBuilder_ == null) { @@ -2557,54 +2947,70 @@ 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() { - + onChanged(); 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_; @@ -2612,20 +3018,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; @@ -2634,22 +3044,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 { @@ -2657,67 +3070,80 @@ 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) { + public Builder setAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + account_ = value; 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() { - + account_ = getDefaultInstance().getAccount(); 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) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + account_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2727,12 +3153,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(); } @@ -2741,16 +3167,16 @@ 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 { - return new Property(input, extensionRegistry); - } - }; + 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 { + return new Property(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2765,6 +3191,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java similarity index 78% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 5813b5b9..fee4031e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertyOrBuilder extends +public interface PropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Property) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -26,66 +47,90 @@ 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(); /** + * + * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when the entity was originally created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when entity payload fields were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -94,10 +139,13 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -106,55 +154,68 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory(); /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -166,10 +227,13 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ java.lang.String getTimeZone(); /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
    * where the data originates. If the time zone honors DST, Analytics will
@@ -181,12 +245,14 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -194,10 +260,13 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -205,114 +274,155 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); /** + * + * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * .google.analytics.admin.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java index aadefc49..0de5d20f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A virtual resource representing metadata for a GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PropertySummary} */ -public final class PropertySummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertySummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.PropertySummary) PropertySummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertySummary.newBuilder() to construct. private PropertySummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertySummary() { property_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PropertySummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,53 +71,59 @@ private PropertySummary( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + property_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; private volatile java.lang.Object property_; /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -108,6 +131,7 @@ private PropertySummary(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -116,14 +140,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}
@@ -131,16 +156,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 { @@ -151,11 +175,14 @@ public java.lang.String getProperty() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -164,29 +191,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 { @@ -195,6 +222,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -237,17 +264,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +295,126 @@ 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() @@ -387,16 +422,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_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 @@ -429,7 +463,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary build() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertySummary buildPartial() { - com.google.analytics.admin.v1alpha.PropertySummary result = new com.google.analytics.admin.v1alpha.PropertySummary(this); + com.google.analytics.admin.v1alpha.PropertySummary result = + new com.google.analytics.admin.v1alpha.PropertySummary(this); result.property_ = property_; result.displayName_ = displayName_; onBuilt(); @@ -440,38 +475,39 @@ public com.google.analytics.admin.v1alpha.PropertySummary buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -479,7 +515,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_; onChanged(); @@ -507,7 +544,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.PropertySummary) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.PropertySummary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,6 +557,8 @@ public Builder mergeFrom( private java.lang.Object property_ = ""; /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -526,13 +566,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; @@ -541,6 +581,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -548,15 +590,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 { @@ -564,6 +605,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -571,20 +614,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) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -592,15 +637,18 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -608,16 +656,16 @@ 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) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; @@ -625,18 +673,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; @@ -645,20 +695,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 { @@ -666,61 +717,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -730,12 +788,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(); } @@ -744,16 +802,16 @@ 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 { - return new PropertySummary(input, extensionRegistry); - } - }; + 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 { + return new PropertySummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,6 +826,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java index 79326722..db439692 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertySummaryOrBuilder extends +public interface PropertySummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.PropertySummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -26,28 +47,33 @@ 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(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java index 20183c84..bee2ce50 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProvisionAccountTicketRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,74 @@ private ProvisionAccountTicketRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; - if (account_ != null) { - subBuilder = account_.toBuilder(); + case 10: + { + com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; + if (account_ != null) { + subBuilder = account_.toBuilder(); + } + account_ = + input.readMessage( + com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(account_); + account_ = subBuilder.buildPartial(); + } + + break; } - account_ = input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(account_); - account_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - redirectUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + redirectUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -119,18 +145,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.
    * 
@@ -145,12 +178,15 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() public static final int REDIRECT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object redirectUri_; /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ @java.lang.Override @@ -159,30 +195,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -191,6 +227,7 @@ public java.lang.String getRedirectUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,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 (account_ != null) { output.writeMessage(1, getAccount()); } @@ -220,8 +256,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_); @@ -234,20 +269,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +305,127 @@ 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() @@ -389,16 +433,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +457,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(); } @@ -435,7 +479,8 @@ 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); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = + new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { @@ -450,46 +495,50 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -516,7 +565,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,34 +579,47 @@ public Builder mergeFrom( 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 accountBuilder_ != null || account_ != null; } /** + * + * *
      * 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.
      * 
@@ -576,14 +640,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(); onChanged(); @@ -594,6 +659,8 @@ public Builder setAccount( return this; } /** + * + * *
      * The account to create.
      * 
@@ -604,7 +671,9 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = - com.google.analytics.admin.v1alpha.Account.newBuilder(account_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.Account.newBuilder(account_) + .mergeFrom(value) + .buildPartial(); } else { account_ = value; } @@ -616,6 +685,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
@@ -634,6 +705,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * The account to create.
      * 
@@ -641,11 +714,13 @@ public Builder clearAccount() { * .google.analytics.admin.v1alpha.Account account = 1; */ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { - + onChanged(); return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * The account to create.
      * 
@@ -656,11 +731,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.
      * 
@@ -668,14 +746,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_; @@ -683,19 +764,21 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -704,21 +787,22 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -726,64 +810,71 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri( - java.lang.String value) { + public Builder setRedirectUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + redirectUri_ = value; onChanged(); return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return This builder for chaining. */ public Builder clearRedirectUri() { - + redirectUri_ = getDefaultInstance().getRedirectUri(); onChanged(); return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + redirectUri_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,30 +884,32 @@ 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 { - return new ProvisionAccountTicketRequest(input, extensionRegistry); - } - }; + 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 { + return new ProvisionAccountTicketRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +921,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java index 2342e690..126707fa 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ProvisionAccountTicketRequestOrBuilder extends +public interface ProvisionAccountTicketRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** + * + * *
    * The account to create.
    * 
@@ -35,24 +59,29 @@ public interface ProvisionAccountTicketRequestOrBuilder extends com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString - getRedirectUriBytes(); + com.google.protobuf.ByteString getRedirectUriBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java index 6a3c81a7..185022f7 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProvisionAccountTicketResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +71,58 @@ private ProvisionAccountTicketResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - accountTicketId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + accountTicketId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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; 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 @@ -107,29 +131,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 { @@ -138,6 +162,7 @@ public java.lang.String getAccountTicketId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -174,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -202,134 +226,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,13 +374,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(); } @@ -360,7 +396,8 @@ 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); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = + new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); result.accountTicketId_ = accountTicketId_; onBuilt(); return result; @@ -370,46 +407,50 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse 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.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_; onChanged(); @@ -433,7 +474,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,18 +488,20 @@ public Builder mergeFrom( 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; @@ -465,20 +510,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 { @@ -486,61 +532,68 @@ 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) { + public Builder setAccountTicketId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accountTicketId_ = value; 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() { - + accountTicketId_ = getDefaultInstance().getAccountTicketId(); onChanged(); 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) { + public Builder setAccountTicketIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accountTicketId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,30 +603,32 @@ 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 { - return new ProvisionAccountTicketResponse(input, extensionRegistry); - } - }; + 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 { + return new ProvisionAccountTicketResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -585,9 +640,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/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 00000000..cb7fb24b --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ProvisionAccountTicketResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString getAccountTicketIdBytes(); +} diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java new file mode 100644 index 00000000..df69745a --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -0,0 +1,803 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_AndroidAppDataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/analytics/admin/v1alpha/resourc" + + "es.proto\022\036google.analytics.admin.v1alpha" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\032\037google/protobuf/ti" + + "mestamp.proto\032\036google/protobuf/wrappers." + + "proto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" + + "create_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022\031\n\014display_name" + + "\030\004 \001(\tB\003\340A\002\022\023\n\013region_code\030\005 \001(\t\022\024\n\007dele" + + "ted\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.goog" + + "leapis.com/Account\022\022accounts/{account}\"\357" + + "\004\n\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022" + + "\031\n\014display_name\030\005 \001(\tB\003\340A\002\022K\n\021industry_c" + + "ategory\030\006 \001(\01620.google.analytics.admin.v" + + "1alpha.IndustryCategory\022\026\n\ttime_zone\030\007 \001" + + "(\tB\003\340A\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rservic" + + "e_level\030\n \001(\0162,.google.analytics.admin.v" + + "1alpha.ServiceLevelB\003\340A\003\0224\n\013delete_time\030" + + "\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" + + "\n\013expire_time\030\014 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%a" + + "nalyticsadmin.googleapis.com/Account:B\352A" + + "?\n&analyticsadmin.googleapis.com/Propert" + + "y\022\025properties/{property}\"\344\002\n\024AndroidAppD" + + "ataStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase" + + "_app_id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\031\n\014package_name\030\005 \001(\tB\003\340A\005\022\024\n\014dis" + + "play_name\030\006 \001(\t:~\352A{\n2analyticsadmin.goo" + + "gleapis.com/AndroidAppDataStream\022Eproper" + + "ties/{property}/androidAppDataStreams/{a" + + "ndroid_app_data_stream}\"\324\002\n\020IosAppDataSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_" + + "id\030\002 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\031\n\tbundle_id\030\005 \001(\tB\006\340A\005\340A\002\022\024\n\014display_" + + "name\030\006 \001(\t:r\352Ao\n.analyticsadmin.googleap" + + "is.com/IosAppDataStream\022=properties/{pro" + + "perty}/iosAppDataStreams/{ios_app_data_s" + + "tream}\"\350\002\n\rWebDataStream\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022\033\n\016measurement_id\030\002 \001(\tB\003\340A\003\022\034\n\017fire" + + "base_app_id\030\003 \001(\tB\003\340A\003\0224\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "update_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\030\n\013default_uri\030\006 \001(\tB\003\340A\005\022\031\n\014" + + "display_name\030\007 \001(\tB\003\340A\002:h\352Ae\n+analyticsa" + + "dmin.googleapis.com/WebDataStream\0226prope" + + "rties/{property}/webDataStreams/{web_dat" + + "a_stream}\"\371\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\021\n\004name\030\001 \001(\tB\003\340A\003" + + "\022O\n\004type\030\002 \001(\01629.google.analytics.admin." + + "v1alpha.DataStream.DataStreamTypeB\006\340A\005\340A" + + "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + + "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + + "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + + "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + + "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + + "sAppStreamData\022\034\n\017firebase_app_id\030\001 \001(\tB" + + "\003\340A\003\022\031\n\tbundle_id\030\002 \001(\tB\006\340A\005\340A\002\"}\n\016DataS" + + "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + + "D\020\000\022\023\n\017WEB_DATA_STREAM\020\001\022\033\n\027ANDROID_APP_" + + "DATA_STREAM\020\002\022\027\n\023IOS_APP_DATA_STREAM\020\003:^" + + "\352A[\n(analyticsadmin.googleapis.com/DataS" + + "tream\022/properties/{property}/dataStreams" + + "/{data_stream}B\r\n\013stream_data\"\324\001\n\010UserLi" + + "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\remail_address\030\002" + + " \001(\tB\003\340A\005\022\024\n\014direct_roles\030\003 \003(\t:\202\001\352A\177\n&a" + + "nalyticsadmin.googleapis.com/UserLink\022(a" + + "ccounts/{account}/userLinks/{user_link}\022" + + "+properties/{property}/userLinks/{user_l" + + "ink}\"c\n\rAuditUserLink\022\014\n\004name\030\001 \001(\t\022\025\n\re" + + "mail_address\030\002 \001(\t\022\024\n\014direct_roles\030\003 \003(\t" + + "\022\027\n\017effective_roles\030\004 \003(\t\"\323\001\n\014FirebaseLi" + + "nk\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007project\030\002 \001(\tB\003" + + "\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003:d\352Aa\n*analyticsadmin.g" + + "oogleapis.com/FirebaseLink\0223properties/{" + + "property}/firebaseLinks/{firebase_link}\"" + + "\217\001\n\rGlobalSiteTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007" + + "snippet\030\002 \001(\tB\003\340A\005:U\352AR\n+analyticsadmin." + + "googleapis.com/GlobalSiteTag\022#properties" + + "/{property}/globalSiteTag\"\230\003\n\rGoogleAdsL" + + "ink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013customer_id\030\003 " + + "\001(\tB\003\340A\005\022\037\n\022can_manage_clients\030\004 \001(\010B\003\340A" + + "\003\022?\n\033ads_personalization_enabled\030\005 \001(\0132\032" + + ".google.protobuf.BoolValue\0224\n\013create_tim" + + "e\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\010 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\"\n\025creator_email_address\030" + + "\t \001(\tB\003\340A\003:h\352Ae\n+analyticsadmin.googleap" + + "is.com/GoogleAdsLink\0226properties/{proper" + + "ty}/googleAdsLinks/{google_ads_link}\"\353\002\n" + + "\023DataSharingSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "+\n#sharing_with_google_support_enabled\030\002" + + " \001(\010\0222\n*sharing_with_google_assigned_sal" + + "es_enabled\030\003 \001(\010\022-\n%sharing_with_google_" + + "any_sales_enabled\030\004 \001(\010\022,\n$sharing_with_" + + "google_products_enabled\030\005 \001(\010\022#\n\033sharing" + + "_with_others_enabled\030\006 \001(\010:^\352A[\n1analyti" + + "csadmin.googleapis.com/DataSharingSettin" + + "gs\022&accounts/{account}/dataSharingSettin" + + "gs\"\225\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;\n\007a" + + "ccount\030\002 \001(\tB*\372A\'\n%analyticsadmin.google" + + "apis.com/Account\022\024\n\014display_name\030\003 \001(\t\022K" + + "\n\022property_summaries\030\004 \003(\0132/.google.anal" + + "ytics.admin.v1alpha.PropertySummary:U\352AR" + + "\n,analyticsadmin.googleapis.com/AccountS" + + "ummary\022\"accountSummaries/{account_summar" + + "y}\"f\n\017PropertySummary\022=\n\010property\030\001 \001(\tB" + + "+\372A(\n&analyticsadmin.googleapis.com/Prop" + + "erty\022\024\n\014display_name\030\002 \001(\t\"\225\002\n\031Measureme" + + "ntProtocolSecret\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014d" + + "isplay_name\030\002 \001(\tB\003\340A\002\022\031\n\014secret_value\030\003" + + " \001(\tB\003\340A\003:\256\001\352A\252\001\n7analyticsadmin.googlea" + + "pis.com/MeasurementProtocolSecret\022oprope" + + "rties/{property}/webDataStreams/{web_dat" + + "a_stream}/measurementProtocolSecrets/{me" + + "asurement_protocol_secret}\"\212\002\n\022ChangeHis" + + "toryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013change_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022=\n\nactor_" + + "type\030\003 \001(\0162).google.analytics.admin.v1al" + + "pha.ActorType\022\030\n\020user_actor_email\030\004 \001(\t\022" + + "\030\n\020changes_filtered\030\005 \001(\010\022D\n\007changes\030\006 \003" + + "(\01323.google.analytics.admin.v1alpha.Chan" + + "geHistoryChange\"\275\014\n\023ChangeHistoryChange\022" + + "\020\n\010resource\030\001 \001(\t\022:\n\006action\030\002 \001(\0162*.goog" + + "le.analytics.admin.v1alpha.ActionType\022i\n" + + "\026resource_before_change\030\003 \001(\0132I.google.a" + + "nalytics.admin.v1alpha.ChangeHistoryChan" + + "ge.ChangeHistoryResource\022h\n\025resource_aft" + + "er_change\030\004 \001(\0132I.google.analytics.admin" + + ".v1alpha.ChangeHistoryChange.ChangeHisto" + + "ryResource\032\202\n\n\025ChangeHistoryResource\022:\n\007" + + "account\030\001 \001(\0132\'.google.analytics.admin.v" + + "1alpha.AccountH\000\022<\n\010property\030\002 \001(\0132(.goo" + + "gle.analytics.admin.v1alpha.PropertyH\000\022H" + + "\n\017web_data_stream\030\003 \001(\0132-.google.analyti" + + "cs.admin.v1alpha.WebDataStreamH\000\022W\n\027andr" + + "oid_app_data_stream\030\004 \001(\01324.google.analy" + + "tics.admin.v1alpha.AndroidAppDataStreamH" + + "\000\022O\n\023ios_app_data_stream\030\005 \001(\01320.google." + + "analytics.admin.v1alpha.IosAppDataStream" + + "H\000\022E\n\rfirebase_link\030\006 \001(\0132,.google.analy" + + "tics.admin.v1alpha.FirebaseLinkH\000\022H\n\017goo" + + "gle_ads_link\030\007 \001(\0132-.google.analytics.ad" + + "min.v1alpha.GoogleAdsLinkH\000\022X\n\027google_si" + + "gnals_settings\030\010 \001(\01325.google.analytics." + + "admin.v1alpha.GoogleSignalsSettingsH\000\022j\n" + + "!display_video_360_advertiser_link\030\t \001(\013" + + "2=.google.analytics.admin.v1alpha.Displa" + + "yVideo360AdvertiserLinkH\000\022{\n*display_vid" + + "eo_360_advertiser_link_proposal\030\n \001(\0132E." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkProposalH\000\022K\n\020conver" + + "sion_event\030\013 \001(\0132/.google.analytics.admi" + + "n.v1alpha.ConversionEventH\000\022`\n\033measureme" + + "nt_protocol_secret\030\014 \001(\01329.google.analyt" + + "ics.admin.v1alpha.MeasurementProtocolSec" + + "retH\000\022K\n\020custom_dimension\030\r \001(\0132/.google" + + ".analytics.admin.v1alpha.CustomDimension" + + "H\000\022E\n\rcustom_metric\030\016 \001(\0132,.google.analy" + + "tics.admin.v1alpha.CustomMetricH\000\022X\n\027dat" + + "a_retention_settings\030\017 \001(\01325.google.anal" + + "ytics.admin.v1alpha.DataRetentionSetting" + + "sH\000B\n\n\010resource\"\337\003\n\035DisplayVideo360Adver" + + "tiserLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertis" + + "er_id\030\002 \001(\tB\003\340A\005\022$\n\027advertiser_display_n" + + "ame\030\003 \001(\tB\003\340A\003\022?\n\033ads_personalization_en" + + "abled\030\004 \001(\0132\032.google.protobuf.BoolValue\022" + + "F\n\035campaign_data_sharing_enabled\030\005 \001(\0132\032" + + ".google.protobuf.BoolValueB\003\340A\005\022B\n\031cost_" + + "data_sharing_enabled\030\006 \001(\0132\032.google.prot" + + "obuf.BoolValueB\003\340A\005:\233\001\352A\227\001\n;analyticsadm" + + "in.googleapis.com/DisplayVideo360Adverti" + + "serLink\022Xproperties/{property}/displayVi" + + "deo360AdvertiserLinks/{display_video_360" + + "_advertiser_link}\"\212\005\n%DisplayVideo360Adv" + + "ertiserLinkProposal\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032" + + "\n\radvertiser_id\030\002 \001(\tB\003\340A\005\022d\n\034link_propo" + + "sal_status_details\030\003 \001(\01329.google.analyt" + + "ics.admin.v1alpha.LinkProposalStatusDeta" + + "ilsB\003\340A\003\022$\n\027advertiser_display_name\030\004 \001(" + + "\tB\003\340A\003\022\035\n\020validation_email\030\005 \001(\tB\003\340A\004\022D\n" + + "\033ads_personalization_enabled\030\006 \001(\0132\032.goo" + + "gle.protobuf.BoolValueB\003\340A\005\022F\n\035campaign_" + + "data_sharing_enabled\030\007 \001(\0132\032.google.prot" + + "obuf.BoolValueB\003\340A\005\022B\n\031cost_data_sharing" + + "_enabled\030\010 \001(\0132\032.google.protobuf.BoolVal" + + "ueB\003\340A\005:\264\001\352A\260\001\nCanalyticsadmin.googleapi" + + "s.com/DisplayVideo360AdvertiserLinkPropo" + + "sal\022iproperties/{property}/displayVideo3" + + "60AdvertiserLinkProposals/{display_video" + + "_360_advertiser_link_proposal}\"\374\001\n\031LinkP" + + "roposalStatusDetails\022l\n link_proposal_in" + + "itiating_product\030\001 \001(\0162=.google.analytic" + + "s.admin.v1alpha.LinkProposalInitiatingPr" + + "oductB\003\340A\003\022\034\n\017requestor_email\030\002 \001(\tB\003\340A\003" + + "\022S\n\023link_proposal_state\030\003 \001(\01621.google.a" + + "nalytics.admin.v1alpha.LinkProposalState" + + "B\003\340A\003\"\217\002\n\017ConversionEvent\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\027\n\nevent_name\030\002 \001(\tB\003\340A\005\0224\n\013create_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custom\030\005 " + + "\001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.googleapis" + + ".com/ConversionEvent\0229properties/{proper" + + "ty}/conversionEvents/{conversion_event}\"" + + "\240\002\n\025GoogleSignalsSettings\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022A\n\005state\030\003 \001(\01622.google.analytics.a" + + "dmin.v1alpha.GoogleSignalsState\022J\n\007conse" + + "nt\030\004 \001(\01624.google.analytics.admin.v1alph" + + "a.GoogleSignalsConsentB\003\340A\003:e\352Ab\n3analyt" + + "icsadmin.googleapis.com/GoogleSignalsSet" + + "tings\022+properties/{property}/googleSigna" + + "lsSettings\"\237\003\n\017CustomDimension\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A" + + "\005\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\030\n\013descript" + + "ion\030\004 \001(\tB\003\340A\001\022U\n\005scope\030\005 \001(\0162>.google.a" + + "nalytics.admin.v1alpha.CustomDimension.D" + + "imensionScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_pe" + + "rsonalization\030\006 \001(\010B\003\340A\001\"F\n\016DimensionSco" + + "pe\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005E" + + "VENT\020\001\022\010\n\004USER\020\002:Z\352AW\n-analyticsadmin.go" + + "ogleapis.com/CustomDimension\022&properties" + + "/{property}/customDimensions\"\354\004\n\014CustomM" + + "etric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016parameter_na" + + "me\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030\003 \001(\tB\003" + + "\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022[\n\020measure" + + "ment_unit\030\005 \001(\0162<.google.analytics.admin" + + ".v1alpha.CustomMetric.MeasurementUnitB\003\340" + + "A\002\022O\n\005scope\030\006 \001(\01628.google.analytics.adm" + + "in.v1alpha.CustomMetric.MetricScopeB\006\340A\002" + + "\340A\005\"\267\001\n\017MeasurementUnit\022 \n\034MEASUREMENT_U" + + "NIT_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\014\n\010CURRE" + + "NCY\020\002\022\010\n\004FEET\020\003\022\n\n\006METERS\020\004\022\016\n\nKILOMETER" + + "S\020\005\022\t\n\005MILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECO" + + "NDS\020\010\022\013\n\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricS" + + "cope\022\034\n\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EV" + + "ENT\020\001:T\352AQ\n*analyticsadmin.googleapis.co" + + "m/CustomMetric\022#properties/{property}/cu" + + "stomMetrics\"\302\003\n\025DataRetentionSettings\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\022e\n\024event_data_retention" + + "\030\002 \001(\0162G.google.analytics.admin.v1alpha." + + "DataRetentionSettings.RetentionDuration\022" + + "\'\n\037reset_user_data_on_new_activity\030\003 \001(\010" + + "\"\236\001\n\021RetentionDuration\022\"\n\036RETENTION_DURA" + + "TION_UNSPECIFIED\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FO" + + "URTEEN_MONTHS\020\003\022\025\n\021TWENTY_SIX_MONTHS\020\004\022\027" + + "\n\023THIRTY_EIGHT_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020" + + "\006:e\352Ab\n3analyticsadmin.googleapis.com/Da" + + "taRetentionSettings\022+properties/{propert" + + "y}/dataRetentionSettings*\252\004\n\020IndustryCat" + + "egory\022!\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000" + + "\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTR" + + "IAL_MARKETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE" + + "\020\004\022\016\n\nTECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020" + + "\007\022\032\n\026ARTS_AND_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\005GAMES\020\014\022\027\n\023HOBBIE" + + "S_AND_LEISURE\020\r\022\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024" + + "INTERNET_AND_TELECOM\020\017\022\026\n\022LAW_AND_GOVERN" + + "MENT\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_ANI" + + "MALS\020\024\022\017\n\013REAL_ESTATE\020\025\022\r\n\tREFERENCE\020\026\022\013" + + "\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022JOBS_AND_EDUC" + + "ATION\020\031\022\014\n\010SHOPPING\020\032*f\n\014ServiceLevel\022\035\n" + + "\031SERVICE_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_A" + + "NALYTICS_STANDARD\020\001\022\030\n\024GOOGLE_ANALYTICS_" + + "360\020\002*J\n\tActorType\022\032\n\026ACTOR_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\022\013\n\007SUPPORT\020" + + "\003*P\n\nActionType\022\033\n\027ACTION_TYPE_UNSPECIFI" + + "ED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007DELETE" + + "D\020\003*\310\003\n\031ChangeHistoryResourceType\022,\n(CHA" + + "NGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007ACCOUNT\020\001\022\014\n\010PROPERTY\020\002\022\023\n\017WEB_DATA_S" + + "TREAM\020\003\022\033\n\027ANDROID_APP_DATA_STREAM\020\004\022\027\n\023" + + "IOS_APP_DATA_STREAM\020\005\022\021\n\rFIREBASE_LINK\020\006" + + "\022\023\n\017GOOGLE_ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_" + + "SETTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEAS" + + "UREMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIME" + + "NSION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETEN" + + "TION_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADV" + + "ERTISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVE" + + "RTISER_LINK_PROPOSAL\020\017*s\n\022GoogleSignalsS" + + "tate\022$\n GOOGLE_SIGNALS_STATE_UNSPECIFIED" + + "\020\000\022\032\n\026GOOGLE_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE" + + "_SIGNALS_DISABLED\020\002*\216\001\n\024GoogleSignalsCon" + + "sent\022&\n\"GOOGLE_SIGNALS_CONSENT_UNSPECIFI" + + "ED\020\000\022$\n GOOGLE_SIGNALS_CONSENT_CONSENTED" + + "\020\002\022(\n$GOOGLE_SIGNALS_CONSENT_NOT_CONSENT" + + "ED\020\001*{\n\035LinkProposalInitiatingProduct\0220\n" + + ",LINK_PROPOSAL_INITIATING_PRODUCT_UNSPEC" + + "IFIED\020\000\022\024\n\020GOOGLE_ANALYTICS\020\001\022\022\n\016LINKED_" + + "PRODUCT\020\002*\304\001\n\021LinkProposalState\022#\n\037LINK_" + + "PROPOSAL_STATE_UNSPECIFIED\020\000\022)\n%AWAITING" + + "_REVIEW_FROM_GOOGLE_ANALYTICS\020\001\022\'\n#AWAIT" + + "ING_REVIEW_FROM_LINKED_PRODUCT\020\002\022\r\n\tWITH" + + "DRAWN\020\003\022\014\n\010DECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OB" + + "SOLETE\020\006B{\n\"com.google.analytics.admin.v" + + "1alphaB\016ResourcesProtoP\001ZCgoogle.golang." + + "org/genproto/googleapis/analytics/admin/" + + "v1alpha;adminb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.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", + "CreateTime", + "UpdateTime", + "Parent", + "DisplayName", + "IndustryCategory", + "TimeZone", + "CurrencyCode", + "ServiceLevel", + "DeleteTime", + "ExpireTime", + "Account", + }); + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AndroidAppDataStream_descriptor, + new java.lang.String[] { + "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "PackageName", "DisplayName", + }); + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_IosAppDataStream_descriptor, + new java.lang.String[] { + "Name", "FirebaseAppId", "CreateTime", "UpdateTime", "BundleId", "DisplayName", + }); + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor, + new java.lang.String[] { + "Name", + "MeasurementId", + "FirebaseAppId", + "CreateTime", + "UpdateTime", + "DefaultUri", + "DisplayName", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, + new java.lang.String[] { + "WebStreamData", + "AndroidAppStreamData", + "IosAppStreamData", + "Name", + "Type", + "DisplayName", + "CreateTime", + "UpdateTime", + "StreamData", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, + new java.lang.String[] { + "MeasurementId", "FirebaseAppId", "DefaultUri", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "PackageName", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "BundleId", + }); + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", "DirectRoles", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", + }); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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", + }); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "SecretValue", + }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(15); + 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(16); + 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", + "WebDataStream", + "AndroidAppDataStream", + "IosAppDataStream", + "FirebaseLink", + "GoogleAdsLink", + "GoogleSignalsSettings", + "DisplayVideo360AdvertiserLink", + "DisplayVideo360AdvertiserLinkProposal", + "ConversionEvent", + "MeasurementProtocolSecret", + "CustomDimension", + "CustomMetric", + "DataRetentionSettings", + "Resource", + }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = + getDescriptor().getMessageTypes().get(17); + 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(18); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, + new java.lang.String[] { + "Name", + "AdvertiserId", + "LinkProposalStatusDetails", + "AdvertiserDisplayName", + "ValidationEmail", + "AdsPersonalizationEnabled", + "CampaignDataSharingEnabled", + "CostDataSharingEnabled", + }); + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = + getDescriptor().getMessageTypes().get(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", + }); + 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", + }); + 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", + }); + 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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java index bfe07203..21485181 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -30,16 +49,15 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchChangeHistoryEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,124 +77,135 @@ private SearchChangeHistoryEventsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceType_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + property_ = s; + break; } - resourceType_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { resourceType_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } resourceType_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - action_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceType_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + resourceType_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - action_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } action_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - actorEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + action_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + action_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - actorEmail_.add(s); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (earliestChangeTime_ != null) { - subBuilder = earliestChangeTime_.toBuilder(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + actorEmail_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + actorEmail_.add(s); + break; } - earliestChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(earliestChangeTime_); - earliestChangeTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (earliestChangeTime_ != null) { + subBuilder = earliestChangeTime_.toBuilder(); + } + earliestChangeTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(earliestChangeTime_); + earliestChangeTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (latestChangeTime_ != null) { + subBuilder = latestChangeTime_.toBuilder(); + } + latestChangeTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestChangeTime_); + latestChangeTime_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (latestChangeTime_ != null) { - subBuilder = latestChangeTime_.toBuilder(); + break; } - latestChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestChangeTime_); - latestChangeTime_ = subBuilder.buildPartial(); + case 64: + { + pageSize_ = input.readInt32(); + break; } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 64: { - - pageSize_ = input.readInt32(); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); @@ -191,27 +220,35 @@ private SearchChangeHistoryEventsRequest( makeExtensionsImmutable(); } } - 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; 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 @@ -220,29 +257,31 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Required. The account resource for which to return change history resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -253,12 +292,17 @@ public java.lang.String getAccount() { public static final int PROPERTY_FIELD_NUMBER = 2; 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 @@ -267,30 +311,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 { @@ -301,36 +347,53 @@ public java.lang.String getProperty() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; 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) { + public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.valueOf(from); - return result == null ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.valueOf(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 @@ -338,12 +401,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. */ @@ -352,26 +420,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. */ @@ -379,41 +456,57 @@ 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; 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) { @SuppressWarnings("deprecation") - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.valueOf(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.valueOf(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 @@ -421,12 +514,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. */ @@ -435,26 +533,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. */ @@ -462,39 +569,48 @@ 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; private com.google.protobuf.LazyStringList actorEmail_; /** + * + * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_; } /** + * + * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -502,27 +618,34 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
    * Optional. If set, only return changes if they are made by a user in this list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** + * + * *
    * Optional. If set, only return changes made after this time (inclusive).
    * 
* - * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -530,23 +653,34 @@ 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() { @@ -556,11 +690,16 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { 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 @@ -568,23 +707,34 @@ 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() { @@ -594,6 +744,8 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 8; 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
@@ -602,6 +754,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -612,6 +765,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 9; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -620,6 +775,7 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -628,14 +784,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -644,16 +801,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 { @@ -662,6 +818,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -673,8 +830,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -729,26 +885,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; @@ -759,16 +916,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_); @@ -781,35 +935,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -855,134 +1003,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1016,14 +1175,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 @@ -1037,7 +1198,8 @@ 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); int from_bitField0_ = bitField0_; result.account_ = account_; result.property_ = property_; @@ -1076,46 +1238,51 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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_; onChanged(); @@ -1186,7 +1353,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1195,22 +1364,27 @@ public Builder mergeFrom( } 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; @@ -1219,20 +1393,23 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -1240,54 +1417,67 @@ 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) { + public Builder setAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + account_ = value; 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() { - + account_ = getDefaultInstance().getAccount(); 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) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + account_ = value; onChanged(); return this; @@ -1295,19 +1485,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; @@ -1316,21 +1510,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 { @@ -1338,64 +1535,77 @@ 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) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; 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() { - + property_ = getDefaultInstance().getProperty(); 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) = { ... } + * + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); 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_ & 0x00000001) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1403,37 +1613,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. */ @@ -1441,12 +1668,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. @@ -1462,16 +1694,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(); } @@ -1481,17 +1719,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()); @@ -1500,12 +1744,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() { @@ -1515,25 +1764,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. */ @@ -1541,30 +1799,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 of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. * @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. */ @@ -1575,17 +1842,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); @@ -1594,8 +1865,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_ & 0x00000002) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1603,37 +1874,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. */ @@ -1641,18 +1928,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(); } @@ -1662,12 +1953,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. */ @@ -1681,12 +1977,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. */ @@ -1700,12 +2001,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() { @@ -1715,25 +2021,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. */ @@ -1741,30 +2056,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 of the value to return. * @return The enum numeric value on the wire of action at the given index. * @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. */ @@ -1775,17 +2099,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); @@ -1794,42 +2122,52 @@ public Builder addAllActionValue( return this; } - private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList actorEmail_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -1837,80 +2175,90 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The actorEmail to set. * @return This builder for chaining. */ - public Builder setActorEmail( - int index, java.lang.String value) { + public Builder setActorEmail(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureActorEmailIsMutable(); + throw new NullPointerException(); + } + ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail( - java.lang.String value) { + public Builder addActorEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureActorEmailIsMutable(); + throw new NullPointerException(); + } + ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail( - java.lang.Iterable values) { + public Builder addAllActorEmail(java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -1920,20 +2268,22 @@ public Builder clearActorEmail() { return this; } /** + * + * *
      * Optional. If set, only return changes if they are made by a user in this list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes( - com.google.protobuf.ByteString value) { + public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); @@ -1942,39 +2292,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 earliestChangeTimeBuilder_ != null || 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. */ 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) { @@ -1990,14 +2359,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(); onChanged(); @@ -2008,17 +2380,23 @@ 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 (earliestChangeTime_ != null) { earliestChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(earliestChangeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(earliestChangeTime_) + .mergeFrom(value) + .buildPartial(); } else { earliestChangeTime_ = value; } @@ -2030,11 +2408,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() { if (earliestChangeTimeBuilder_ == null) { @@ -2048,48 +2430,64 @@ 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() { - + onChanged(); 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_; @@ -2097,39 +2495,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 latestChangeTimeBuilder_ != null || 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. */ 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) { @@ -2145,14 +2562,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(); onChanged(); @@ -2163,17 +2583,23 @@ 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 (latestChangeTime_ != null) { latestChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(latestChangeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(latestChangeTime_) + .mergeFrom(value) + .buildPartial(); } else { latestChangeTime_ = value; } @@ -2185,11 +2611,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() { if (latestChangeTimeBuilder_ == null) { @@ -2203,55 +2633,73 @@ 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() { - + onChanged(); 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
@@ -2260,6 +2708,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2267,6 +2716,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
@@ -2275,16 +2726,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2293,10 +2747,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2304,6 +2759,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2312,13 +2769,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; @@ -2327,6 +2784,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2335,15 +2794,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 { @@ -2351,6 +2809,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2359,20 +2819,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2381,15 +2843,18 @@ public Builder setPageToken(
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2398,23 +2863,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2424,30 +2889,32 @@ 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 { - return new SearchChangeHistoryEventsRequest(input, extensionRegistry); - } - }; + 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 { + return new SearchChangeHistoryEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2459,9 +2926,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java index ece12d2f..61d883dc 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java @@ -1,258 +1,381 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated 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
@@ -261,11 +384,14 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -274,10 +400,13 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -286,8 +415,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java index cd2d2f4f..9f7d63fa 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchChangeHistoryEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +73,40 @@ private SearchChangeHistoryEventsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + changeHistoryEvents_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.ChangeHistoryEvent>(); + mutable_bitField0_ |= 0x00000001; + } + changeHistoryEvents_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), + extensionRegistry)); + break; } - changeHistoryEvents_.add( - input.readMessage(com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -92,88 +115,111 @@ private SearchChangeHistoryEventsResponse( makeExtensionsImmutable(); } } - 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; - 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +228,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +260,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +289,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_); @@ -257,17 +303,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,135 +336,147 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getChangeHistoryEventsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,14 +492,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 @@ -456,7 +515,8 @@ 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); int from_bitField0_ = bitField0_; if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +536,51 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()) { @@ -534,9 +599,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_); } @@ -565,7 +631,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +642,39 @@ public Builder mergeFrom( } 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 { @@ -603,11 +682,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) { @@ -617,11 +699,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) { @@ -631,11 +716,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) { @@ -652,11 +740,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) { @@ -670,13 +761,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(); @@ -690,11 +785,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) { @@ -711,11 +809,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) { @@ -729,11 +830,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) { @@ -747,18 +851,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); @@ -766,11 +873,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) { @@ -783,11 +893,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) { @@ -800,39 +913,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 { @@ -840,45 +963,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(), @@ -890,19 +1030,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; @@ -911,21 +1053,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 { @@ -933,64 +1076,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,30 +1150,32 @@ 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 { - return new SearchChangeHistoryEventsResponse(input, extensionRegistry); - } - }; + 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 { + return new SearchChangeHistoryEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,9 +1187,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java index bcf0e3b0..2eb7cc15 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,75 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface SearchChangeHistoryEventsResponseOrBuilder extends +public interface SearchChangeHistoryEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List + java.util.List getChangeHistoryEventsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ int getChangeHistoryEventsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java index 6af0b872..5b0da43a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ServiceLevel} */ -public enum ServiceLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -21,6 +39,8 @@ public enum ServiceLevel */ SERVICE_LEVEL_UNSPECIFIED(0), /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -29,6 +49,8 @@ public enum ServiceLevel */ GOOGLE_ANALYTICS_STANDARD(1), /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -40,6 +62,8 @@ public enum ServiceLevel ; /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -48,6 +72,8 @@ public enum ServiceLevel */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -56,6 +82,8 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -64,7 +92,6 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: return SERVICE_LEVEL_UNSPECIFIED; - case 1: return GOOGLE_ANALYTICS_STANDARD; - case 2: return GOOGLE_ANALYTICS_360; - default: return null; + case 0: + return SERVICE_LEVEL_UNSPECIFIED; + case 1: + return GOOGLE_ANALYTICS_STANDARD; + case 2: + return GOOGLE_ANALYTICS_360; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ServiceLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +174,3 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ServiceLevel) } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java index e55818bf..ba029004 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) UpdateAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAccountRequest() { - } + + private UpdateAccountRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +68,85 @@ private UpdateAccountRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; - if (account_ != null) { - subBuilder = account_.toBuilder(); - } - account_ = input.readMessage(com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(account_); - account_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.Account.Builder subBuilder = null; + if (account_ != null) { + subBuilder = account_.toBuilder(); + } + account_ = + input.readMessage( + com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(account_); + account_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -126,25 +154,36 @@ 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() { @@ -154,13 +193,17 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +211,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +229,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -225,12 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +288,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +329,127 @@ 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() @@ -400,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +485,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 @@ -450,7 +506,8 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAccountRequest result = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); + com.google.analytics.admin.v1alpha.UpdateAccountRequest result = + new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { @@ -469,38 +526,39 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -508,7 +566,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()); } @@ -534,7 +593,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateAccountRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,42 +606,61 @@ public Builder mergeFrom( 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 accountBuilder_ != null || 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. */ 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) { @@ -597,15 +676,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(); onChanged(); @@ -616,18 +698,24 @@ 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 (account_ != null) { account_ = - com.google.analytics.admin.v1alpha.Account.newBuilder(account_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.Account.newBuilder(account_) + .mergeFrom(value) + .buildPartial(); } else { account_ = value; } @@ -639,12 +727,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() { if (accountBuilder_ == null) { @@ -658,51 +750,67 @@ 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() { - + onChanged(); 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_; @@ -710,45 +818,61 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +888,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +910,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +937,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +960,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,12 +1037,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(); } @@ -906,16 +1051,16 @@ 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 { - return new UpdateAccountRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,6 +1075,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java index 497bc055..d10a3e06 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java @@ -1,72 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAccountRequestOrBuilder extends +public interface UpdateAccountRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccountRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java index 51434ca4..c829e275 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateAndroidAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest} */ -public final class UpdateAndroidAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAndroidAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) UpdateAndroidAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAndroidAppDataStreamRequest.newBuilder() to construct. - private UpdateAndroidAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateAndroidAppDataStreamRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAndroidAppDataStreamRequest() { - } + + private UpdateAndroidAppDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAndroidAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAndroidAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +69,86 @@ private UpdateAndroidAppDataStreamRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null; - if (androidAppDataStream_ != null) { - subBuilder = androidAppDataStream_.toBuilder(); - } - androidAppDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(androidAppDataStream_); - androidAppDataStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder subBuilder = null; + if (androidAppDataStream_ != null) { + subBuilder = androidAppDataStream_.toBuilder(); + } + androidAppDataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AndroidAppDataStream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(androidAppDataStream_); + androidAppDataStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); } public static final int ANDROID_APP_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.AndroidAppDataStream androidAppDataStream_; /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the androidAppDataStream field is set. */ @java.lang.Override @@ -126,41 +156,57 @@ public boolean hasAndroidAppDataStream() { return androidAppDataStream_ != null; } /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The androidAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { - return androidAppDataStream_ == null ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; + return androidAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() + : androidAppDataStream_; } /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder() { return getAndroidAppDataStream(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +214,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +232,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +249,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (androidAppDataStream_ != null) { output.writeMessage(1, getAndroidAppDataStream()); } @@ -225,12 +278,11 @@ public int getSerializedSize() { size = 0; if (androidAppDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAndroidAppDataStream()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAndroidAppDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +292,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.UpdateAndroidAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) obj; if (hasAndroidAppDataStream() != other.hasAndroidAppDataStream()) return false; if (hasAndroidAppDataStream()) { - if (!getAndroidAppDataStream() - .equals(other.getAndroidAppDataStream())) return false; + if (!getAndroidAppDataStream().equals(other.getAndroidAppDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,134 +333,145 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateAndroidAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.newBuilder() + // Construct using + // com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,14 +491,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_UpdateAndroidAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAndroidAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + .getDefaultInstance(); } @java.lang.Override @@ -450,7 +514,8 @@ public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buil @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(this); if (androidAppDataStreamBuilder_ == null) { result.androidAppDataStream_ = androidAppDataStream_; } else { @@ -469,46 +534,51 @@ public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + .getDefaultInstance()) return this; if (other.hasAndroidAppDataStream()) { mergeAndroidAppDataStream(other.getAndroidAppDataStream()); } @@ -534,7 +604,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,44 +618,64 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.AndroidAppDataStream androidAppDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> androidAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + androidAppDataStreamBuilder_; /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the androidAppDataStream field is set. */ public boolean hasAndroidAppDataStream() { return androidAppDataStreamBuilder_ != null || androidAppDataStream_ != null; } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The androidAppDataStream. */ public com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { - return androidAppDataStream_ == null ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; + return androidAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() + : androidAppDataStream_; } else { return androidAppDataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder setAndroidAppDataStream( + com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -597,12 +689,16 @@ public Builder setAndroidAppDataStream(com.google.analytics.admin.v1alpha.Androi return this; } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAndroidAppDataStream( com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder builderForValue) { @@ -616,18 +712,26 @@ public Builder setAndroidAppDataStream( return this; } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { + public Builder mergeAndroidAppDataStream( + com.google.analytics.admin.v1alpha.AndroidAppDataStream value) { if (androidAppDataStreamBuilder_ == null) { if (androidAppDataStream_ != null) { androidAppDataStream_ = - com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder(androidAppDataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.AndroidAppDataStream.newBuilder( + androidAppDataStream_) + .mergeFrom(value) + .buildPartial(); } else { androidAppDataStream_ = value; } @@ -639,12 +743,16 @@ public Builder mergeAndroidAppDataStream(com.google.analytics.admin.v1alpha.Andr return this; } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAndroidAppDataStream() { if (androidAppDataStreamBuilder_ == null) { @@ -658,51 +766,69 @@ public Builder clearAndroidAppDataStream() { return this; } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder getAndroidAppDataStreamBuilder() { - + public com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder + getAndroidAppDataStreamBuilder() { + onChanged(); return getAndroidAppDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder() { if (androidAppDataStreamBuilder_ != null) { return androidAppDataStreamBuilder_.getMessageOrBuilder(); } else { - return androidAppDataStream_ == null ? - com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() : androidAppDataStream_; + return androidAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.AndroidAppDataStream.getDefaultInstance() + : androidAppDataStream_; } } /** + * + * *
      * Required. The android app stream to update.
      * The `name` field is used to identify the android app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder> getAndroidAppDataStreamFieldBuilder() { if (androidAppDataStreamBuilder_ == null) { - androidAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AndroidAppDataStream, com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( - getAndroidAppDataStream(), - getParentForChildren(), - isClean()); + androidAppDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AndroidAppDataStream, + com.google.analytics.admin.v1alpha.AndroidAppDataStream.Builder, + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder>( + getAndroidAppDataStream(), getParentForChildren(), isClean()); androidAppDataStream_ = null; } return androidAppDataStreamBuilder_; @@ -710,45 +836,61 @@ public com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndro private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +906,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +928,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +955,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +978,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,30 +1055,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAndroidAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAndroidAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAndroidAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateAndroidAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,9 +1092,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java index 3fdd9165..ecc55b89 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAndroidAppDataStreamRequestOrBuilder.java @@ -1,72 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAndroidAppDataStreamRequestOrBuilder extends +public interface UpdateAndroidAppDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the androidAppDataStream field is set. */ boolean hasAndroidAppDataStream(); /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The androidAppDataStream. */ com.google.analytics.admin.v1alpha.AndroidAppDataStream getAndroidAppDataStream(); /** + * + * *
    * Required. The android app stream to update.
    * The `name` field is used to identify the android app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AndroidAppDataStream android_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder getAndroidAppDataStreamOrBuilder(); + com.google.analytics.admin.v1alpha.AndroidAppDataStreamOrBuilder + getAndroidAppDataStreamOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java index 412795ea..fbb48577 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomDimensionRequest() { - } + + private UpdateCustomDimensionRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateCustomDimensionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,83 @@ private UpdateCustomDimensionRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; - if (customDimension_ != null) { - subBuilder = customDimension_.toBuilder(); - } - customDimension_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomDimension.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customDimension_); - customDimension_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.CustomDimension.Builder subBuilder = null; + if (customDimension_ != null) { + subBuilder = customDimension_.toBuilder(); + } + customDimension_ = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomDimension.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customDimension_); + customDimension_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,18 +152,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
    * 
@@ -151,13 +185,17 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime 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 @@ -165,13 +203,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 @@ -179,13 +221,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() { @@ -193,6 +238,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -222,12 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -279,117 +321,127 @@ 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() @@ -397,16 +449,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,13 +477,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(); } @@ -447,7 +499,8 @@ 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); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); if (customDimensionBuilder_ == null) { result.customDimension_ = customDimension_; } else { @@ -466,46 +519,50 @@ public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -531,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -543,34 +602,47 @@ public Builder mergeFrom( 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 customDimensionBuilder_ != null || customDimension_ != null; } /** + * + * *
      * 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
      * 
@@ -591,6 +663,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -609,6 +683,8 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -619,7 +695,9 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim if (customDimensionBuilder_ == null) { if (customDimension_ != null) { customDimension_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.CustomDimension.newBuilder(customDimension_) + .mergeFrom(value) + .buildPartial(); } else { customDimension_ = value; } @@ -631,6 +709,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -649,6 +729,8 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -656,26 +738,32 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { - + onChanged(); 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
      * 
@@ -683,14 +771,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_; @@ -698,45 +789,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -752,16 +859,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(); onChanged(); @@ -772,19 +881,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -796,13 +908,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() { if (updateMaskBuilder_ == null) { @@ -816,61 +931,74 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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); } @@ -880,30 +1008,32 @@ 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 { - return new UpdateCustomDimensionRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomDimensionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,9 +1045,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java index 936eb693..a379c03d 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomDimensionRequestOrBuilder extends +public interface UpdateCustomDimensionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomDimensionRequestOrBuilder extends com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java index a44e9a64..61e5315a 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomMetricRequest() { - } + + private UpdateCustomMetricRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateCustomMetricRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,82 @@ private UpdateCustomMetricRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; - if (customMetric_ != null) { - subBuilder = customMetric_.toBuilder(); - } - customMetric_ = input.readMessage(com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customMetric_); - customMetric_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.CustomMetric.Builder subBuilder = null; + if (customMetric_ != null) { + subBuilder = customMetric_.toBuilder(); + } + customMetric_ = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customMetric_); + customMetric_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,18 +151,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
    * 
@@ -151,13 +184,17 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO 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 @@ -165,13 +202,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 @@ -179,13 +220,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() { @@ -193,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -222,12 +266,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -279,117 +320,127 @@ 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() @@ -397,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,13 +476,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(); } @@ -447,7 +498,8 @@ 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); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); if (customMetricBuilder_ == null) { result.customMetric_ = customMetric_; } else { @@ -466,38 +518,39 @@ public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -505,7 +558,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()); } @@ -531,7 +586,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -543,34 +599,47 @@ public Builder mergeFrom( 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 customMetricBuilder_ != null || customMetric_ != null; } /** + * + * *
      * 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
      * 
@@ -591,6 +660,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -609,6 +680,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -619,7 +692,9 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric if (customMetricBuilder_ == null) { if (customMetric_ != null) { customMetric_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.CustomMetric.newBuilder(customMetric_) + .mergeFrom(value) + .buildPartial(); } else { customMetric_ = value; } @@ -631,6 +706,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -649,6 +726,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -656,11 +735,13 @@ public Builder clearCustomMetric() { * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBuilder() { - + onChanged(); return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomMetric to update
      * 
@@ -671,11 +752,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
      * 
@@ -683,14 +767,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_; @@ -698,45 +785,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -752,16 +855,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(); onChanged(); @@ -772,19 +877,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -796,13 +904,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() { if (updateMaskBuilder_ == null) { @@ -816,61 +927,74 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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); } @@ -880,12 +1004,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(); } @@ -894,16 +1019,16 @@ 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 { - return new UpdateCustomMetricRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomMetricRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,6 +1043,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java index d088c6e3..76737db8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomMetricRequestOrBuilder extends +public interface UpdateCustomMetricRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomMetricRequestOrBuilder extends com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java index 8844c6b7..e31f0560 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataRetentionSettingsRequest() { - } + + private UpdateDataRetentionSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateDataRetentionSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +69,86 @@ private UpdateDataRetentionSettingsRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null; - if (dataRetentionSettings_ != null) { - subBuilder = dataRetentionSettings_.toBuilder(); - } - dataRetentionSettings_ = input.readMessage(com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataRetentionSettings_); - dataRetentionSettings_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder subBuilder = null; + if (dataRetentionSettings_ != null) { + subBuilder = dataRetentionSettings_.toBuilder(); + } + dataRetentionSettings_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataRetentionSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataRetentionSettings_); + dataRetentionSettings_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -126,41 +156,57 @@ 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() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { return getDataRetentionSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +214,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +232,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +249,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -225,12 +278,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,134 +333,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,14 +491,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 @@ -450,7 +514,8 @@ 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); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); if (dataRetentionSettingsBuilder_ == null) { result.dataRetentionSettings_ = dataRetentionSettings_; } else { @@ -469,46 +534,51 @@ public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -534,7 +604,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,44 +618,64 @@ public Builder mergeFrom( 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 dataRetentionSettingsBuilder_ != null || 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. */ 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(); @@ -597,12 +689,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) { @@ -616,18 +712,26 @@ 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 (dataRetentionSettings_ != null) { dataRetentionSettings_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder(dataRetentionSettings_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder( + dataRetentionSettings_) + .mergeFrom(value) + .buildPartial(); } else { dataRetentionSettings_ = value; } @@ -639,12 +743,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() { if (dataRetentionSettingsBuilder_ == null) { @@ -658,51 +766,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() { + 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_; @@ -710,45 +836,61 @@ 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 replace
      * the entire entity, use one path with the string "*" to match 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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +906,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +928,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +955,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +978,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,30 +1055,32 @@ 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 { - return new UpdateDataRetentionSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDataRetentionSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,9 +1092,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java index f4ff2af7..3e1d5ccd 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -1,72 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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 replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java index cf453d9b..516efd47 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} */ -public final class UpdateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) UpdateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataStreamRequest.newBuilder() to construct. private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataStreamRequest() { - } + + private UpdateDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,82 @@ private UpdateDataStreamRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; - if (dataStream_ != null) { - subBuilder = dataStream_.toBuilder(); - } - dataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataStream_); - dataStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.DataStream.Builder subBuilder = null; + if (dataStream_ != null) { + subBuilder = dataStream_.toBuilder(); + } + dataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataStream_); + dataStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,18 +151,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
    * 
@@ -151,13 +184,17 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui 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 @@ -165,13 +202,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 @@ -179,13 +220,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() { @@ -193,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -222,12 +266,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -279,117 +320,127 @@ 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() @@ -397,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,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_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 @@ -447,7 +497,8 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = + new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); if (dataStreamBuilder_ == null) { result.dataStream_ = dataStream_; } else { @@ -466,38 +517,39 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -505,7 +557,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()); } @@ -531,7 +584,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -543,34 +597,47 @@ public Builder mergeFrom( 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 dataStreamBuilder_ != null || dataStream_ != null; } /** + * + * *
      * 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
      * 
@@ -591,6 +658,8 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -609,6 +678,8 @@ public Builder setDataStream( return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -619,7 +690,9 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val if (dataStreamBuilder_ == null) { if (dataStream_ != null) { dataStream_ = - com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.DataStream.newBuilder(dataStream_) + .mergeFrom(value) + .buildPartial(); } else { dataStream_ = value; } @@ -631,6 +704,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -649,6 +724,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -656,11 +733,13 @@ public Builder clearDataStream() { * .google.analytics.admin.v1alpha.DataStream data_stream = 1; */ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilder() { - + onChanged(); return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * The DataStream to update
      * 
@@ -671,11 +750,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
      * 
@@ -683,14 +765,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_; @@ -698,45 +783,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -752,16 +853,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(); onChanged(); @@ -772,19 +875,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -796,13 +902,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() { if (updateMaskBuilder_ == null) { @@ -816,61 +925,74 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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); } @@ -880,12 +1002,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(); } @@ -894,16 +1016,16 @@ 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 { - return new UpdateDataStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,6 +1040,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java index 73253616..fa38bcf1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateDataStreamRequestOrBuilder extends +public interface UpdateDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return The dataStream. */ com.google.analytics.admin.v1alpha.DataStream getDataStream(); /** + * + * *
    * The DataStream to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateDataStreamRequestOrBuilder extends com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java similarity index 58% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java index 91ae8e3c..db028ab6 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java @@ -1,39 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ -public final class UpdateDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private UpdateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDisplayVideo360AdvertiserLinkRequest() { - } + + private UpdateDisplayVideo360AdvertiserLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateDisplayVideo360AdvertiserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +70,88 @@ private UpdateDisplayVideo360AdvertiserLinkRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = null; - if (displayVideo360AdvertiserLink_ != null) { - subBuilder = displayVideo360AdvertiserLink_.toBuilder(); - } - displayVideo360AdvertiserLink_ = input.readMessage(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(displayVideo360AdvertiserLink_); - displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder subBuilder = + null; + if (displayVideo360AdvertiserLink_ != null) { + subBuilder = displayVideo360AdvertiserLink_.toBuilder(); + } + displayVideo360AdvertiserLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(displayVideo360AdvertiserLink_); + displayVideo360AdvertiserLink_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,39 +159,56 @@ 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() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { return getDisplayVideo360AdvertiserLink(); } 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 @@ -165,13 +216,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 @@ -179,13 +234,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() { @@ -193,6 +251,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -222,12 +280,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +295,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,135 +338,152 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,19 +503,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); } @@ -446,8 +526,10 @@ 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); + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); if (displayVideo360AdvertiserLinkBuilder_ == null) { result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLink_; } else { @@ -466,46 +548,53 @@ public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -527,11 +616,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -541,43 +633,66 @@ public Builder mergeFrom( 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_; /** + * + * *
      * 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 displayVideo360AdvertiserLinkBuilder_ != null || displayVideo360AdvertiserLink_ != null; + return displayVideo360AdvertiserLinkBuilder_ != null + || 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. */ - 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(); @@ -591,11 +706,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) { @@ -609,17 +728,25 @@ 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 (displayVideo360AdvertiserLink_ != null) { displayVideo360AdvertiserLink_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder(displayVideo360AdvertiserLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( + displayVideo360AdvertiserLink_) + .mergeFrom(value) + .buildPartial(); } else { displayVideo360AdvertiserLink_ = value; } @@ -631,11 +758,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() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -649,48 +780,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() { + 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_; @@ -698,45 +847,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -752,16 +917,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(); onChanged(); @@ -772,19 +939,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -796,13 +966,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() { if (updateMaskBuilder_ == null) { @@ -816,61 +989,74 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be updated.
      * To replace the entire entity, use one path with the string "*" to match
      * all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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); } @@ -880,30 +1066,34 @@ 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 { - return new UpdateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDisplayVideo360AdvertiserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,9 +1105,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java index 91bb9f2f..7424c583 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -1,69 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder extends +public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be updated.
    * To replace the entire entity, use one path with the string "*" to match
    * all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java index f41a1341..347f5eb9 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGoogleAdsLinkRequest() { - } + + private UpdateGoogleAdsLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateGoogleAdsLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,82 @@ private UpdateGoogleAdsLinkRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; - if (googleAdsLink_ != null) { - subBuilder = googleAdsLink_.toBuilder(); - } - googleAdsLink_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleAdsLink_); - googleAdsLink_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder subBuilder = null; + if (googleAdsLink_ != null) { + subBuilder = googleAdsLink_.toBuilder(); + } + googleAdsLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleAdsLink_); + googleAdsLink_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,18 +151,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
    * 
@@ -151,13 +184,17 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,13 +202,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -179,13 +220,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -193,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -222,12 +266,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,22 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -279,117 +320,127 @@ 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() @@ -397,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,13 +476,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(); } @@ -447,7 +498,8 @@ 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); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); if (googleAdsLinkBuilder_ == null) { result.googleAdsLink_ = googleAdsLink_; } else { @@ -466,38 +518,39 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -505,7 +558,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()); } @@ -531,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -543,34 +600,47 @@ public Builder mergeFrom( 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 googleAdsLinkBuilder_ != null || googleAdsLink_ != null; } /** + * + * *
      * 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
      * 
@@ -591,6 +661,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -609,6 +681,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -619,7 +693,9 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi if (googleAdsLinkBuilder_ == null) { if (googleAdsLink_ != null) { googleAdsLink_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder(googleAdsLink_) + .mergeFrom(value) + .buildPartial(); } else { googleAdsLink_ = value; } @@ -631,6 +707,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -649,6 +727,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -656,11 +736,13 @@ public Builder clearGoogleAdsLink() { * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { - + onChanged(); return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -671,11 +753,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
      * 
@@ -683,14 +768,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_; @@ -698,45 +786,61 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -752,16 +856,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -772,19 +878,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -796,13 +905,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -816,61 +928,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,12 +1005,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(); } @@ -894,16 +1020,16 @@ 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 { - return new UpdateGoogleAdsLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateGoogleAdsLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,6 +1044,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java index 7bd45e6c..9a302809 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateGoogleAdsLinkRequestOrBuilder extends +public interface UpdateGoogleAdsLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
@@ -35,35 +59,46 @@ 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 replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java index e8822af6..0e1d8961 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ -public final class UpdateGoogleSignalsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) UpdateGoogleSignalsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGoogleSignalsSettingsRequest.newBuilder() to construct. - private UpdateGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateGoogleSignalsSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGoogleSignalsSettingsRequest() { - } + + private UpdateGoogleSignalsSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateGoogleSignalsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +69,86 @@ private UpdateGoogleSignalsSettingsRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null; - if (googleSignalsSettings_ != null) { - subBuilder = googleSignalsSettings_.toBuilder(); - } - googleSignalsSettings_ = input.readMessage(com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(googleSignalsSettings_); - googleSignalsSettings_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder subBuilder = null; + if (googleSignalsSettings_ != null) { + subBuilder = googleSignalsSettings_.toBuilder(); + } + googleSignalsSettings_ = + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(googleSignalsSettings_); + googleSignalsSettings_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -126,41 +156,57 @@ 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() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder() { return getGoogleSignalsSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +214,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +232,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +249,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -225,12 +278,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,134 +333,145 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,14 +491,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 @@ -450,7 +514,8 @@ 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); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); if (googleSignalsSettingsBuilder_ == null) { result.googleSignalsSettings_ = googleSignalsSettings_; } else { @@ -469,46 +534,51 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -534,7 +604,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,44 +618,64 @@ public Builder mergeFrom( 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 googleSignalsSettingsBuilder_ != null || 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. */ 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(); @@ -597,12 +689,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) { @@ -616,18 +712,26 @@ 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 (googleSignalsSettings_ != null) { googleSignalsSettings_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder(googleSignalsSettings_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder( + googleSignalsSettings_) + .mergeFrom(value) + .buildPartial(); } else { googleSignalsSettings_ = value; } @@ -639,12 +743,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() { if (googleSignalsSettingsBuilder_ == null) { @@ -658,51 +766,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() { + 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_; @@ -710,45 +836,61 @@ 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 replace
      * the entire entity, use one path with the string "*" to match 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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +906,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +928,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +955,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +978,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,30 +1055,32 @@ 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 { - return new UpdateGoogleSignalsSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateGoogleSignalsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,9 +1092,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java index 851c1109..6d1a6437 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java @@ -1,72 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/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 replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java index 3557a949..93543ad1 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateIosAppDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest} */ -public final class UpdateIosAppDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateIosAppDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) UpdateIosAppDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateIosAppDataStreamRequest.newBuilder() to construct. private UpdateIosAppDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateIosAppDataStreamRequest() { - } + + private UpdateIosAppDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateIosAppDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateIosAppDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +68,86 @@ private UpdateIosAppDataStreamRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null; - if (iosAppDataStream_ != null) { - subBuilder = iosAppDataStream_.toBuilder(); - } - iosAppDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(iosAppDataStream_); - iosAppDataStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder subBuilder = null; + if (iosAppDataStream_ != null) { + subBuilder = iosAppDataStream_.toBuilder(); + } + iosAppDataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.IosAppDataStream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(iosAppDataStream_); + iosAppDataStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); } public static final int IOS_APP_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.IosAppDataStream iosAppDataStream_; /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the iosAppDataStream field is set. */ @java.lang.Override @@ -126,41 +155,57 @@ public boolean hasIosAppDataStream() { return iosAppDataStream_ != null; } /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The iosAppDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { - return iosAppDataStream_ == null ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; + return iosAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() + : iosAppDataStream_; } /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder + getIosAppDataStreamOrBuilder() { return getIosAppDataStream(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +213,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +231,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +248,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (iosAppDataStream_ != null) { output.writeMessage(1, getIosAppDataStream()); } @@ -225,12 +277,10 @@ public int getSerializedSize() { size = 0; if (iosAppDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIosAppDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIosAppDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +290,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.UpdateIosAppDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other = + (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) obj; if (hasIosAppDataStream() != other.hasIosAppDataStream()) return false; if (hasIosAppDataStream()) { - if (!getIosAppDataStream() - .equals(other.getIosAppDataStream())) return false; + if (!getIosAppDataStream().equals(other.getIosAppDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +331,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateIosAppDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.newBuilder() @@ -400,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,13 +487,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_UpdateIosAppDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateIosAppDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance(); } @@ -450,7 +509,8 @@ public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest result = + new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(this); if (iosAppDataStreamBuilder_ == null) { result.iosAppDataStream_ = iosAppDataStream_; } else { @@ -469,46 +529,50 @@ public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest.getDefaultInstance()) + return this; if (other.hasIosAppDataStream()) { mergeIosAppDataStream(other.getIosAppDataStream()); } @@ -534,7 +598,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,42 +612,61 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.IosAppDataStream iosAppDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> iosAppDataStreamBuilder_; + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + iosAppDataStreamBuilder_; /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the iosAppDataStream field is set. */ public boolean hasIosAppDataStream() { return iosAppDataStreamBuilder_ != null || iosAppDataStream_ != null; } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The iosAppDataStream. */ public com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream() { if (iosAppDataStreamBuilder_ == null) { - return iosAppDataStream_ == null ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; + return iosAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() + : iosAppDataStream_; } else { return iosAppDataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { @@ -597,12 +682,16 @@ public Builder setIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppData return this; } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIosAppDataStream( com.google.analytics.admin.v1alpha.IosAppDataStream.Builder builderForValue) { @@ -616,18 +705,25 @@ public Builder setIosAppDataStream( return this; } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDataStream value) { + public Builder mergeIosAppDataStream( + com.google.analytics.admin.v1alpha.IosAppDataStream value) { if (iosAppDataStreamBuilder_ == null) { if (iosAppDataStream_ != null) { iosAppDataStream_ = - com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder(iosAppDataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.IosAppDataStream.newBuilder(iosAppDataStream_) + .mergeFrom(value) + .buildPartial(); } else { iosAppDataStream_ = value; } @@ -639,12 +735,16 @@ public Builder mergeIosAppDataStream(com.google.analytics.admin.v1alpha.IosAppDa return this; } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearIosAppDataStream() { if (iosAppDataStreamBuilder_ == null) { @@ -658,51 +758,69 @@ public Builder clearIosAppDataStream() { return this; } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder getIosAppDataStreamBuilder() { - + public com.google.analytics.admin.v1alpha.IosAppDataStream.Builder + getIosAppDataStreamBuilder() { + onChanged(); return getIosAppDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder() { + public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder + getIosAppDataStreamOrBuilder() { if (iosAppDataStreamBuilder_ != null) { return iosAppDataStreamBuilder_.getMessageOrBuilder(); } else { - return iosAppDataStream_ == null ? - com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() : iosAppDataStream_; + return iosAppDataStream_ == null + ? com.google.analytics.admin.v1alpha.IosAppDataStream.getDefaultInstance() + : iosAppDataStream_; } } /** + * + * *
      * Required. The iOS app stream to update.
      * The `name` field is used to identify the iOS app stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder> getIosAppDataStreamFieldBuilder() { if (iosAppDataStreamBuilder_ == null) { - iosAppDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.IosAppDataStream, com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( - getIosAppDataStream(), - getParentForChildren(), - isClean()); + iosAppDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.IosAppDataStream, + com.google.analytics.admin.v1alpha.IosAppDataStream.Builder, + com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder>( + getIosAppDataStream(), getParentForChildren(), isClean()); iosAppDataStream_ = null; } return iosAppDataStreamBuilder_; @@ -710,45 +828,61 @@ public com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDat private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +898,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +920,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +947,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +970,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,30 +1047,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIosAppDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateIosAppDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIosAppDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateIosAppDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,9 +1084,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java index f4b083b2..6eaa9606 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateIosAppDataStreamRequestOrBuilder.java @@ -1,72 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateIosAppDataStreamRequestOrBuilder extends +public interface UpdateIosAppDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the iosAppDataStream field is set. */ boolean hasIosAppDataStream(); /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The iosAppDataStream. */ com.google.analytics.admin.v1alpha.IosAppDataStream getIosAppDataStream(); /** + * + * *
    * Required. The iOS app stream to update.
    * The `name` field is used to identify the iOS app stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.IosAppDataStream ios_app_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.IosAppDataStreamOrBuilder getIosAppDataStreamOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java index 588ec297..588545ec 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java @@ -1,39 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMeasurementProtocolSecretRequest() { - } + + private UpdateMeasurementProtocolSecretRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateMeasurementProtocolSecretRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +70,87 @@ private UpdateMeasurementProtocolSecretRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = null; - if (measurementProtocolSecret_ != null) { - subBuilder = measurementProtocolSecret_.toBuilder(); - } - measurementProtocolSecret_ = input.readMessage(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(measurementProtocolSecret_); - measurementProtocolSecret_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder subBuilder = + null; + if (measurementProtocolSecret_ != null) { + subBuilder = measurementProtocolSecret_.toBuilder(); + } + measurementProtocolSecret_ = + input.readMessage( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(measurementProtocolSecret_); + measurementProtocolSecret_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -125,37 +158,53 @@ 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() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { return getMeasurementProtocolSecret(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -163,11 +212,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -175,6 +227,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -187,6 +241,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -216,12 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,22 +285,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +328,146 @@ 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() + // Construct using + // com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,19 +487,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); } @@ -440,8 +510,10 @@ 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); + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); if (measurementProtocolSecretBuilder_ == null) { result.measurementProtocolSecret_ = measurementProtocolSecret_; } else { @@ -460,46 +532,52 @@ public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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()); } @@ -521,11 +599,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parsedMessage = null; + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,41 +618,62 @@ public Builder mergeFrom( 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 measurementProtocolSecretBuilder_ != null || 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. */ - 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(); @@ -585,11 +687,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) { @@ -603,17 +709,25 @@ 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 (measurementProtocolSecret_ != null) { measurementProtocolSecret_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder(measurementProtocolSecret_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( + measurementProtocolSecret_) + .mergeFrom(value) + .buildPartial(); } else { measurementProtocolSecret_ = value; } @@ -625,11 +739,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() { if (measurementProtocolSecretBuilder_ == null) { @@ -643,48 +761,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() { + 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_; @@ -692,34 +828,47 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder get private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -740,14 +889,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -758,6 +908,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -768,7 +920,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -780,6 +932,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -798,6 +952,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -805,11 +961,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -820,11 +978,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -832,21 +993,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,30 +1020,33 @@ 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 { - return new UpdateMeasurementProtocolSecretRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateMeasurementProtocolSecretRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,9 +1058,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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 55cd8c79..6ead312f 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,58 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateMeasurementProtocolSecretRequestOrBuilder extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index 4b1d668d..23d6bb82 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePropertyRequest() { - } + + private UpdatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdatePropertyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,74 +68,86 @@ private UpdatePropertyRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; - if (property_ != null) { - subBuilder = property_.toBuilder(); - } - property_ = input.readMessage(com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(property_); - property_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.Property.Builder subBuilder = null; + if (property_ != null) { + subBuilder = property_.toBuilder(); + } + property_ = + input.readMessage( + com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(property_); + property_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.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 @@ -127,27 +155,38 @@ 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() { @@ -157,13 +196,17 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -171,13 +214,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -185,13 +232,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -199,6 +249,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -228,12 +278,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -243,22 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -285,117 +332,127 @@ 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() @@ -403,16 +460,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +488,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 @@ -453,7 +509,8 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = + new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); if (propertyBuilder_ == null) { result.property_ = property_; } else { @@ -472,38 +529,39 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 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; @@ -511,7 +569,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()); } @@ -537,7 +596,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -549,45 +609,64 @@ public Builder mergeFrom( 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 propertyBuilder_ != null || 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. */ 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) { @@ -603,13 +682,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) { @@ -623,19 +706,25 @@ 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 (property_ != null) { property_ = - com.google.analytics.admin.v1alpha.Property.newBuilder(property_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.Property.newBuilder(property_) + .mergeFrom(value) + .buildPartial(); } else { property_ = value; } @@ -647,13 +736,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() { if (propertyBuilder_ == null) { @@ -667,54 +760,70 @@ 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() { - + onChanged(); 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_; @@ -722,45 +831,61 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -776,16 +901,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -796,19 +923,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -820,13 +950,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -840,61 +973,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,12 +1050,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(); } @@ -918,16 +1064,16 @@ 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 { - return new UpdatePropertyRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePropertyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,6 +1088,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java index 8c6a4482..bad68db8 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdatePropertyRequestOrBuilder extends +public interface UpdatePropertyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java index ef0b8087..a871f44e 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ -public final class UpdateUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) UpdateUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUserLinkRequest.newBuilder() to construct. private UpdateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserLinkRequest() { - } + + private UpdateUserLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateUserLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,59 +68,69 @@ private UpdateUserLinkRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null; - if (userLink_ != null) { - subBuilder = userLink_.toBuilder(); + case 10: + { + com.google.analytics.admin.v1alpha.UserLink.Builder subBuilder = null; + if (userLink_ != null) { + subBuilder = userLink_.toBuilder(); + } + userLink_ = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(userLink_); + userLink_ = subBuilder.buildPartial(); + } + + break; } - userLink_ = input.readMessage(com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(userLink_); - userLink_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } public static final int USER_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ @java.lang.Override @@ -112,23 +138,34 @@ public boolean hasUserLink() { return userLink_ != null; } /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { @@ -136,6 +173,7 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,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 (userLink_ != null) { output.writeMessage(1, getUserLink()); } @@ -162,8 +199,7 @@ public int getSerializedSize() { size = 0; if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUserLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUserLink()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,17 +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.UpdateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = + (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink() - .equals(other.getUserLink())) return false; + if (!getUserLink().equals(other.getUserLink())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -206,117 +242,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.newBuilder() @@ -324,16 +370,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override @@ -368,7 +413,8 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); if (userLinkBuilder_ == null) { result.userLink_ = userLink_; } else { @@ -382,38 +428,39 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -421,7 +468,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) + return this; if (other.hasUserLink()) { mergeUserLink(other.getUserLink()); } @@ -444,7 +492,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -456,39 +505,58 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinkBuilder_; /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ public boolean hasUserLink() { return userLinkBuilder_ != null || userLink_ != null; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -504,11 +572,15 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -522,17 +594,23 @@ public Builder setUserLink( return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { if (userLink_ != null) { userLink_ = - com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.UserLink.newBuilder(userLink_) + .mergeFrom(value) + .buildPartial(); } else { userLink_ = value; } @@ -544,11 +622,15 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUserLink() { if (userLinkBuilder_ == null) { @@ -562,55 +644,71 @@ public Builder clearUserLink() { return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { - + onChanged(); return getUserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null ? - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), - getParentForChildren(), - isClean()); + userLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), getParentForChildren(), isClean()); userLink_ = null; } return userLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.UpdateUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(); } @@ -634,16 +732,16 @@ public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateUserLinkRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateUserLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,6 +756,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java new file mode 100644 index 00000000..4378c44f --- /dev/null +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface UpdateUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java index 2bfe0d65..d28636dc 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateWebDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateWebDataStreamRequest} */ -public final class UpdateWebDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateWebDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) UpdateWebDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateWebDataStreamRequest.newBuilder() to construct. private UpdateWebDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateWebDataStreamRequest() { - } + + private UpdateWebDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateWebDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateWebDataStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +68,85 @@ private UpdateWebDataStreamRequest( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; - if (webDataStream_ != null) { - subBuilder = webDataStream_.toBuilder(); - } - webDataStream_ = input.readMessage(com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webDataStream_); - webDataStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.analytics.admin.v1alpha.WebDataStream.Builder subBuilder = null; + if (webDataStream_ != null) { + subBuilder = webDataStream_.toBuilder(); + } + webDataStream_ = + input.readMessage( + com.google.analytics.admin.v1alpha.WebDataStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webDataStream_); + webDataStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); } public static final int WEB_DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the webDataStream field is set. */ @java.lang.Override @@ -126,25 +154,36 @@ public boolean hasWebDataStream() { return webDataStream_ != null; } /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The webDataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { - return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { @@ -154,13 +193,17 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,13 +211,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -182,13 +229,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (webDataStream_ != null) { output.writeMessage(1, getWebDataStream()); } @@ -225,12 +275,10 @@ public int getSerializedSize() { size = 0; if (webDataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWebDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWebDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +288,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.UpdateWebDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other = + (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) obj; if (hasWebDataStream() != other.hasWebDataStream()) return false; if (hasWebDataStream()) { - if (!getWebDataStream() - .equals(other.getWebDataStream())) return false; + if (!getWebDataStream().equals(other.getWebDataStream())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +329,127 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateWebDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateWebDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.newBuilder() @@ -400,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,13 +485,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_UpdateWebDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateWebDataStreamRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance(); } @@ -450,7 +507,8 @@ public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(this); + com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest result = + new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(this); if (webDataStreamBuilder_ == null) { result.webDataStream_ = webDataStream_; } else { @@ -469,38 +527,39 @@ public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -508,7 +567,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest.getDefaultInstance()) + return this; if (other.hasWebDataStream()) { mergeWebDataStream(other.getWebDataStream()); } @@ -534,7 +595,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,42 +609,61 @@ public Builder mergeFrom( private com.google.analytics.admin.v1alpha.WebDataStream webDataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> webDataStreamBuilder_; + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + webDataStreamBuilder_; /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the webDataStream field is set. */ public boolean hasWebDataStream() { return webDataStreamBuilder_ != null || webDataStream_ != null; } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The webDataStream. */ public com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream() { if (webDataStreamBuilder_ == null) { - return webDataStream_ == null ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } else { return webDataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { @@ -597,12 +679,16 @@ public Builder setWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream return this; } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWebDataStream( com.google.analytics.admin.v1alpha.WebDataStream.Builder builderForValue) { @@ -616,18 +702,24 @@ public Builder setWebDataStream( return this; } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStream value) { if (webDataStreamBuilder_ == null) { if (webDataStream_ != null) { webDataStream_ = - com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_).mergeFrom(value).buildPartial(); + com.google.analytics.admin.v1alpha.WebDataStream.newBuilder(webDataStream_) + .mergeFrom(value) + .buildPartial(); } else { webDataStream_ = value; } @@ -639,12 +731,16 @@ public Builder mergeWebDataStream(com.google.analytics.admin.v1alpha.WebDataStre return this; } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWebDataStream() { if (webDataStreamBuilder_ == null) { @@ -658,51 +754,67 @@ public Builder clearWebDataStream() { return this; } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.WebDataStream.Builder getWebDataStreamBuilder() { - + onChanged(); return getWebDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder() { if (webDataStreamBuilder_ != null) { return webDataStreamBuilder_.getMessageOrBuilder(); } else { - return webDataStream_ == null ? - com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() : webDataStream_; + return webDataStream_ == null + ? com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance() + : webDataStream_; } } /** + * + * *
      * Required. The web stream to update.
      * The `name` field is used to identify the web stream to be updated.
      * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder> getWebDataStreamFieldBuilder() { if (webDataStreamBuilder_ == null) { - webDataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.WebDataStream, com.google.analytics.admin.v1alpha.WebDataStream.Builder, com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( - getWebDataStream(), - getParentForChildren(), - isClean()); + webDataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.WebDataStream, + com.google.analytics.admin.v1alpha.WebDataStream.Builder, + com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder>( + getWebDataStream(), getParentForChildren(), isClean()); webDataStream_ = null; } return webDataStreamBuilder_; @@ -710,45 +822,61 @@ public com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStrea private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -764,16 +892,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,19 +914,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -808,13 +941,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -828,61 +964,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake case
      * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
      * the entire entity, use one path with the string "*" to match all fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,12 +1041,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) - private static final com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest(); } @@ -906,16 +1056,16 @@ public static com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateWebDataStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateWebDataStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateWebDataStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateWebDataStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,6 +1080,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateWebDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java index e3c47b68..e0f3c21c 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateWebDataStreamRequestOrBuilder.java @@ -1,72 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateWebDataStreamRequestOrBuilder extends +public interface UpdateWebDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateWebDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the webDataStream field is set. */ boolean hasWebDataStream(); /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The webDataStream. */ com.google.analytics.admin.v1alpha.WebDataStream getWebDataStream(); /** + * + * *
    * Required. The web stream to update.
    * The `name` field is used to identify the web stream to be updated.
    * 
* - * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.WebDataStream web_data_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder getWebDataStreamOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake case
    * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
    * the entire entity, use one path with the string "*" to match all fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java similarity index 76% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java index 1033e59e..3ddf3dad 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a user's permissions on an Account or
  * Property resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
  */
-public final class UserLink extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserLink extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UserLink)
     UserLinkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserLink.newBuilder() to construct.
   private UserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserLink() {
     name_ = "";
     emailAddress_ = "";
@@ -28,16 +46,15 @@ private UserLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UserLink(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,41 +74,43 @@ private UserLink(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            emailAddress_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              directRoles_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              emailAddress_ = s;
+              break;
             }
-            directRoles_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                directRoles_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              directRoles_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         directRoles_ = directRoles_.getUnmodifiableView();
@@ -100,27 +119,33 @@ private UserLink(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+            com.google.analytics.admin.v1alpha.UserLink.class,
+            com.google.analytics.admin.v1alpha.UserLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -129,29 +154,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -162,11 +187,14 @@ public java.lang.String getName() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ @java.lang.Override @@ -175,29 +203,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -208,6 +236,8 @@ public java.lang.String getEmailAddress() { public static final int DIRECT_ROLES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList directRoles_; /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -224,13 +254,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_; } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -247,12 +279,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -269,6 +304,7 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -276,6 +312,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -292,15 +330,16 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,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_); } @@ -354,19 +392,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UserLink other = (com.google.analytics.admin.v1alpha.UserLink) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; - if (!getDirectRolesList() - .equals(other.getDirectRolesList())) return false; + com.google.analytics.admin.v1alpha.UserLink other = + (com.google.analytics.admin.v1alpha.UserLink) obj; + + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,97 +427,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a user's permissions on an Account or
    * Property resource.
@@ -489,21 +532,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UserLink)
       com.google.analytics.admin.v1alpha.UserLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+              com.google.analytics.admin.v1alpha.UserLink.class,
+              com.google.analytics.admin.v1alpha.UserLink.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.UserLink.newBuilder()
@@ -511,16 +556,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -534,9 +578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
@@ -555,7 +599,8 @@ public com.google.analytics.admin.v1alpha.UserLink build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
-      com.google.analytics.admin.v1alpha.UserLink result = new com.google.analytics.admin.v1alpha.UserLink(this);
+      com.google.analytics.admin.v1alpha.UserLink result =
+          new com.google.analytics.admin.v1alpha.UserLink(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.emailAddress_ = emailAddress_;
@@ -572,38 +617,39 @@ public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.UserLink) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -658,22 +704,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -682,20 +731,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -703,54 +753,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -758,18 +815,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -778,20 +837,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -799,67 +859,78 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { + public Builder setEmailAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList directRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -876,13 +947,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -899,12 +972,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -921,6 +997,7 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -928,6 +1005,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -944,14 +1023,16 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -968,21 +1049,23 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles( - int index, java.lang.String value) { + public Builder setDirectRoles(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -999,20 +1082,22 @@ public Builder setDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles( - java.lang.String value) { + public Builder addDirectRoles(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDirectRolesIsMutable(); + throw new NullPointerException(); + } + ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1029,18 +1114,19 @@ public Builder addDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles( - java.lang.Iterable values) { + public Builder addAllDirectRoles(java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1057,6 +1143,7 @@ public Builder addAllDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1066,6 +1153,8 @@ public Builder clearDirectRoles() { return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1082,23 +1171,23 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; + * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes( - com.google.protobuf.ByteString value) { + public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1108,12 +1197,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UserLink) private static final com.google.analytics.admin.v1alpha.UserLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UserLink(); } @@ -1122,16 +1211,16 @@ public static com.google.analytics.admin.v1alpha.UserLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserLink(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1146,6 +1235,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java similarity index 79% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java index 74182bc3..4a5aa7fe 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java @@ -1,53 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface UserLinkOrBuilder extends +public interface UserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -64,11 +92,13 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - java.util.List - getDirectRolesList(); + java.util.List getDirectRolesList(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -85,10 +115,13 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ int getDirectRolesCount(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -105,11 +138,14 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -126,9 +162,9 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString - getDirectRolesBytes(int index); + com.google.protobuf.ByteString getDirectRolesBytes(int index); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java index d1425caf..d8c53695 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics web stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.WebDataStream} */ -public final class WebDataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WebDataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.WebDataStream) WebDataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebDataStream.newBuilder() to construct. private WebDataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebDataStream() { name_ = ""; measurementId_ = ""; @@ -29,16 +47,15 @@ private WebDataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebDataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebDataStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,97 +74,110 @@ private WebDataStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - measurementId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - firebaseAppId_ = s; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + name_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + measurementId_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + firebaseAppId_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - defaultUri_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + defaultUri_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.WebDataStream.class, com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); + com.google.analytics.admin.v1alpha.WebDataStream.class, + com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -155,6 +185,7 @@ private WebDataStream(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -163,14 +194,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}/webDataStreams/{stream_id}
@@ -178,16 +210,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 { @@ -198,12 +229,15 @@ public java.lang.String getName() { public static final int MEASUREMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object measurementId_; /** + * + * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -212,30 +246,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** + * + * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.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 { @@ -246,12 +280,15 @@ public java.lang.String getMeasurementId() { public static final int FIREBASE_APP_ID_FIELD_NUMBER = 3; 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -260,30 +297,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 = 3 [(.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 { @@ -294,11 +331,15 @@ public java.lang.String getFirebaseAppId() { 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 @@ -306,11 +347,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 @@ -318,11 +363,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() { @@ -332,11 +380,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 @@ -344,11 +396,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 @@ -356,11 +412,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() { @@ -370,12 +429,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DEFAULT_URI_FIELD_NUMBER = 6; private volatile java.lang.Object defaultUri_; /** + * + * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ @java.lang.Override @@ -384,30 +446,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** + * + * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -418,12 +480,15 @@ public java.lang.String getDefaultUri() { public static final int DISPLAY_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -432,30 +497,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.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 { @@ -464,6 +529,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,8 +541,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -517,12 +582,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, firebaseAppId_); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, defaultUri_); @@ -538,33 +601,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.WebDataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.WebDataStream other = (com.google.analytics.admin.v1alpha.WebDataStream) obj; + com.google.analytics.admin.v1alpha.WebDataStream other = + (com.google.analytics.admin.v1alpha.WebDataStream) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getMeasurementId() - .equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getMeasurementId().equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) 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 (!getDefaultUri() - .equals(other.getDefaultUri())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDefaultUri().equals(other.getDefaultUri())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -599,118 +656,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.WebDataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.WebDataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 web stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.WebDataStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.WebDataStream) com.google.analytics.admin.v1alpha.WebDataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_WebDataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.WebDataStream.class, com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); + com.google.analytics.admin.v1alpha.WebDataStream.class, + com.google.analytics.admin.v1alpha.WebDataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.WebDataStream.newBuilder() @@ -718,16 +784,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -757,9 +822,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_WebDataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_WebDataStream_descriptor; } @java.lang.Override @@ -778,7 +843,8 @@ public com.google.analytics.admin.v1alpha.WebDataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.WebDataStream buildPartial() { - com.google.analytics.admin.v1alpha.WebDataStream result = new com.google.analytics.admin.v1alpha.WebDataStream(this); + com.google.analytics.admin.v1alpha.WebDataStream result = + new com.google.analytics.admin.v1alpha.WebDataStream(this); result.name_ = name_; result.measurementId_ = measurementId_; result.firebaseAppId_ = firebaseAppId_; @@ -802,38 +868,39 @@ public com.google.analytics.admin.v1alpha.WebDataStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.WebDataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream)other); + return mergeFrom((com.google.analytics.admin.v1alpha.WebDataStream) other); } else { super.mergeFrom(other); return this; @@ -841,7 +908,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.WebDataStream other) { - if (other == com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.WebDataStream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -899,6 +967,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -906,13 +976,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; @@ -921,6 +991,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -928,15 +1000,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 { @@ -944,6 +1015,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -951,20 +1024,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -972,15 +1047,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -988,16 +1066,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1005,19 +1083,21 @@ public Builder setNameBytes( private java.lang.Object measurementId_ = ""; /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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; @@ -1026,21 +1106,22 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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 { @@ -1048,57 +1129,64 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId( - java.lang.String value) { + public Builder setMeasurementId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + measurementId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { - + measurementId_ = getDefaultInstance().getMeasurementId(); onChanged(); return this; } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 2 [(.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) { + public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + measurementId_ = value; onChanged(); return this; @@ -1106,19 +1194,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 = 3 [(.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; @@ -1127,21 +1217,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 = 3 [(.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 { @@ -1149,57 +1240,64 @@ 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { + public Builder setFirebaseAppId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firebaseAppId_ = value; 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { - + firebaseAppId_ = getDefaultInstance().getFirebaseAppId(); 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 = 3 [(.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) { + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firebaseAppId_ = value; onChanged(); return this; @@ -1207,39 +1305,58 @@ public Builder setFirebaseAppIdBytes( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -1255,14 +1372,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(); onChanged(); @@ -1273,17 +1393,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1295,11 +1419,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() { if (createTimeBuilder_ == null) { @@ -1313,48 +1441,64 @@ 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() { - + onChanged(); 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_; @@ -1362,39 +1506,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1410,14 +1573,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(); onChanged(); @@ -1428,17 +1594,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1450,11 +1620,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() { if (updateTimeBuilder_ == null) { @@ -1468,48 +1642,64 @@ 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() { - + onChanged(); 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_; @@ -1517,19 +1707,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object defaultUri_ = ""; /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1538,21 +1730,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1560,57 +1753,64 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri( - java.lang.String value) { + public Builder setDefaultUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultUri_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { - + defaultUri_ = getDefaultInstance().getDefaultUri(); onChanged(); return this; } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultUri_ = value; onChanged(); return this; @@ -1618,19 +1818,21 @@ public Builder setDefaultUriBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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; @@ -1639,21 +1841,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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 { @@ -1661,64 +1864,71 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for the Data Stream.
      * The max allowed display name length is 255 UTF-16 code units.
      * 
* * string display_name = 7 [(.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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1938,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.WebDataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.WebDataStream) private static final com.google.analytics.admin.v1alpha.WebDataStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.WebDataStream(); } @@ -1742,16 +1952,16 @@ public static com.google.analytics.admin.v1alpha.WebDataStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebDataStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDataStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebDataStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebDataStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1976,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.WebDataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamName.java diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java similarity index 77% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java rename to proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java index 6a419c75..921c4fc2 100644 --- a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java +++ b/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/WebDataStreamOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface WebDataStreamOrBuilder extends +public interface WebDataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.WebDataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/webDataStreams/{stream_id}
@@ -15,10 +33,13 @@ public interface WebDataStreamOrBuilder 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}/webDataStreams/{stream_id}
@@ -26,150 +47,192 @@ public interface WebDataStreamOrBuilder 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. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
    * Output only. Analytics "Measurement ID", without the "G-" prefix.
    * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
    * 
* * string measurement_id = 2 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
    * 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(); /** + * + * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
    * Immutable. Domain name of the web app being measured, or empty.
    * Example: "http://www.google.com", "https://www.google.com"
    * 
* * string default_uri = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString - getDefaultUriBytes(); + com.google.protobuf.ByteString getDefaultUriBytes(); /** + * + * *
    * Required. Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for the Data Stream.
    * The max allowed display name length is 255 UTF-16 code units.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto b/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto rename to proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto diff --git a/owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto b/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto rename to proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto From bceb5a429d1382cd87d54534440d0522270f01c8 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Fri, 14 Jan 2022 12:14:51 -0500 Subject: [PATCH 3/5] chore: update clirr-ignored-differences --- google-analytics-admin/clirr-ignored-differences.xml | 10 ++++++++++ .../clirr-ignored-differences.xml | 6 ++++++ .../clirr-ignored-differences.xml | 4 ++++ 3 files changed, 20 insertions(+) diff --git a/google-analytics-admin/clirr-ignored-differences.xml b/google-analytics-admin/clirr-ignored-differences.xml index 983d63da..19cce62d 100644 --- a/google-analytics-admin/clirr-ignored-differences.xml +++ b/google-analytics-admin/clirr-ignored-differences.xml @@ -16,4 +16,14 @@ com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub* * *FirebaseLink*(*) + + 7002 + com/google/analytics/admin/v1alpha/AnalyticsAdminService* + * *EnhancedMeasurementSettings*(*) + + + 7002 + com/google/analytics/admin/v1alpha/stub/*AnalyticsAdminServiceStub* + * *EnhancedMeasurementSettings*(*) + \ No newline at end of file diff --git a/grpc-google-analytics-admin-v1alpha/clirr-ignored-differences.xml b/grpc-google-analytics-admin-v1alpha/clirr-ignored-differences.xml index 0bd27bc4..fdd15373 100644 --- a/grpc-google-analytics-admin-v1alpha/clirr-ignored-differences.xml +++ b/grpc-google-analytics-admin-v1alpha/clirr-ignored-differences.xml @@ -11,4 +11,10 @@ com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc * getUpdateFirebaseLinkMethod(*) + + 7002 + com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc* + * *EnhancedMeasurementSettings*(*) + + \ No newline at end of file diff --git a/proto-google-analytics-admin-v1alpha/clirr-ignored-differences.xml b/proto-google-analytics-admin-v1alpha/clirr-ignored-differences.xml index 0b8d2309..6c9ba72b 100644 --- a/proto-google-analytics-admin-v1alpha/clirr-ignored-differences.xml +++ b/proto-google-analytics-admin-v1alpha/clirr-ignored-differences.xml @@ -54,4 +54,8 @@ 8001 com/google/analytics/admin/v1alpha/MaximumUserAccess* + + 8001 + com/google/analytics/admin/v1alpha/*EnhancedMeasurementSettings* + From 0b66c2688f57c1c2fd941df419f6ed784eb1748e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 14 Jan 2022 17:17:41 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= 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 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2c02c8a..b65b2835 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.analytics google-analytics-admin - 0.6.2 + 0.7.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.6.2' +implementation 'com.google.analytics:google-analytics-admin:0.7.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.6.2" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.7.0" ``` ## Authentication From 726fee5f0c747bbcee24c8fac4d490d626b4849e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 14 Jan 2022 17:18:26 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= 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 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2c02c8a..b65b2835 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.analytics google-analytics-admin - 0.6.2 + 0.7.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.6.2' +implementation 'com.google.analytics:google-analytics-admin:0.7.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.6.2" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.7.0" ``` ## Authentication